lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221004213503.848262-2-dmitry.torokhov@gmail.com>
Date:   Tue,  4 Oct 2022 14:35:01 -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 2/4] ARM: dts: omap4-sdp: 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/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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ