[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240930213008.159647-5-andreas@kemnade.info>
Date: Mon, 30 Sep 2024 23:30:08 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
linux-kernel@...r.kernel.org,
Rob Herring <robh@...nel.org>,
khilman@...libre.com,
devicetree@...r.kernel.org,
tony@...mide.com,
rogerq@...nel.org,
aaro.koskinen@....fi,
linux-omap@...r.kernel.org
Cc: Andreas Kemnade <andreas@...nade.info>
Subject: [PATCH 4/4] ARM: dts: omap: omap4-epson-embt2ws: add GPIO expander
Define the GPIO expander which controls at least some camera gpios.
Signed-off-by: Andreas Kemnade <andreas@...nade.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 c8205ae89840..ecd727e65761 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
+++ b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
@@ -291,6 +291,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
Powered by blists - more mailing lists