[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221004213503.848262-3-dmitry.torokhov@gmail.com>
Date: Tue, 4 Oct 2022 14:35:02 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/4] ARM: dts: omap3-n950: fix LCD reset line polarity
The LCD driver (panel-dsi-cm), when performing reset, starts with line
set high, then drives it low, holds it there for a moment, and releases
it back to high. This means that the reset line should be described
as "active low" in DTS. This will be important when the driver is
converted to gpiod API which respects the polarity declared in DTS.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
---
arch/arm/boot/dts/omap3-n950.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-n950.dts b/arch/arm/boot/dts/omap3-n950.dts
index b2f480022ff6..fa133612bcc2 100644
--- a/arch/arm/boot/dts/omap3-n950.dts
+++ b/arch/arm/boot/dts/omap3-n950.dts
@@ -235,7 +235,7 @@ lcd0: panel@0 {
vpnl-supply = <&vmmc2>;
vddi-supply = <&vio>;
- reset-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
+ reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; /* 87 */
te-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>; /* 62 */
width-mm = <49>; /* 48.960 mm */
--
2.38.0.rc1.362.ged0d419d3c-goog
Powered by blists - more mailing lists