]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 10 Oct 2024 12:29:57 +0000 (14:29 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 29 Oct 2024 23:24:48 +0000 (16:24 -0700)
Define the GPIO expander which controls at least some camera gpios.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241010122957.85164-5-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts

index 983a21d95db316c87154dfd3f040c14e5933d912..6bc8c0397c29c68900cc863237af156979b3492d 100644 (file)
 
        clock-frequency = <200000>;
 
+       /* is sometimes not available, research needed */
+       gpio_head: gpio@20 {
+               compatible = "ti,tca6408";
+               reg = <0x20>;
+               gpio-controller;
+               #gpio-cells = <2>;
+       };
+
+       /*
+        * camera chip at 0x3c, available if <&gpio_head 1> high
+        * and <&gpio_head 5> low
+        */
+
        /* at head/glasses */
        mpu9150h: imu@68 {
                compatible = "invensense,mpu9150";