dtoverlays: Add option for cam0 to camera-mux-Nport overlays
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 27 Nov 2023 14:50:58 +0000 (14:50 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:17 +0000 (11:35 +0000)
commit9ae395334a61f31178eb9f99a452e161d33c0d18
tree237fdce681655b8897f84018cf7c7924308035c5
parentd8b4b24fb2dbd4de35c3fafc511a6ca7f67eed43
dtoverlays: Add option for cam0 to camera-mux-Nport overlays

Seeing as the mux can be connected to either CAM/DISP1 or
CAM/DISP0 on a Pi5, add a cam0 override to allow configuration
of which is used. Default (as with all camera overlays) is CAM/DISP1.

The overlay does NOT update the camera regulator used by all the
sensors as doing so would be a nightmare. The Arducam mulitplexer
boards these overlays are initially supporting seem to tie the
regulator GPIO for all the sensors high anyway.
If it was viewed as necessary, then creating an additional
regulator that listed cam[01]_reg as the parent should work.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/camera-mux-2port-overlay.dts
arch/arm/boot/dts/overlays/camera-mux-4port-overlay.dts