[PATCH 2/4] ARM: dts: omap4-sdp: fix LCD reset line polarity

From: Dmitry Torokhov
Date: Tue Oct 04 2022 - 17:35:20 EST


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@xxxxxxxxx>
---
arch/arm/boot/dts/omap4-sdp.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index 9e976140f34a..77e99b77a0c5 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -669,7 +669,7 @@ lcd0: panel@0 {
reg = <0>;
label = "lcd0";

- reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */
+ reset-gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; /* 102 */

port {
lcd0_in: endpoint {
@@ -695,7 +695,7 @@ lcd1: panel@0 {
reg = <0>;
label = "lcd1";

- reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
+ reset-gpios = <&gpio4 8 GPIO_ACTIVE_LOW>; /* 104 */

port {
lcd1_in: endpoint {
--
2.38.0.rc1.362.ged0d419d3c-goog