[PATCH v2 4/4] ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander

Andreas Kemnade posted 4 patches 1 month, 2 weeks ago
[PATCH v2 4/4] ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
Posted by Andreas Kemnade 1 month, 2 weeks ago
Define the GPIO expander which controls at least some camera gpios.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
index 983a21d95db3..6bc8c0397c29 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -299,6 +299,19 @@ &i2c2 {
 
 	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";
-- 
2.39.5
Re: [PATCH v2 4/4] ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
Posted by Roger Quadros 1 month, 2 weeks ago

On 10/10/2024 15:29, Andreas Kemnade wrote:
> 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>