]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: j722s-evm: Add MUX to control CSI2RX
authorYemike Abhilash Chandra <y-abhilashchandra@ti.com>
Fri, 9 May 2025 09:19:09 +0000 (14:49 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 9 May 2025 11:21:57 +0000 (06:21 -0500)
J722S EVM has the CSI2RX routed to a MIPI CSI connector and to 22-pin RPi
camera connector through an analog mux with GPIO control, model mux so
that an overlay can control the mux state according to connected cameras.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250509091911.2442934-3-y-abhilashchandra@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j722s-evm.dts

index 2213993acbc91e8323e0e2fb2b4d14ddda208e17..a47852fdca70c49fbd090194292a6b8c256c1f7d 100644 (file)
                max-bitrate = <5000000>;
                standby-gpios = <&exp1 17 GPIO_ACTIVE_HIGH>;
        };
+
+       csi01_mux: mux-controller-0 {
+               compatible = "gpio-mux";
+               #mux-state-cells = <1>;
+               mux-gpios = <&exp1 6 GPIO_ACTIVE_HIGH>;
+               idle-state = <0>;
+       };
+
+       csi23_mux: mux-controller-1 {
+               compatible = "gpio-mux";
+               #mux-state-cells = <1>;
+               mux-gpios = <&exp1 7 GPIO_ACTIVE_HIGH>;
+               idle-state = <0>;
+       };
 };
 
 &main_pmx0 {