Skip to content
Commit 4b361638 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

dt: Add a camera regulator node to all downstream Pi platforms



The current firmware fixup of camera sensor overlays is not
particularly nice, and it stops you being able to load them
dynamically.
It's also incompatible with creating a simple DT that can be
loaded for both CAM1 and CAM0 on a CM as they would both
try to claim the one GPIO.

Almost all sensors have a hook of some form for a regulator, so
it's relatively straightforward to convert them all to use a
fixed regulator with GPIO control.

Add a fixed regulator node for each platform with the GPIO
correctly configured for the camera shutdown line. (The LED line
is ignored).

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 5843c2e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment