Message ID | 20221004213503.848262-2-dmitry.torokhov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/4] ARM: dts: omap3-n900: fix LCD reset line polarity | expand |
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 {
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@gmail.com> --- arch/arm/boot/dts/omap4-sdp.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)