Thread (12 messages) 12 messages, 4 authors, 2018-10-09

Re: [RESEND PATCH v2 3/3] ARM: dts: imx28-cfa10036: Fix the reset gpio signal polarity

flat view

From: Vokáč Michal <hidden>
Date: 2018-10-08 11:45:49
Also in: linux-fbdev, lkml

On 27.9.2018 11:24, Michal Vokáč wrote:
The reset signal of the SSD1306 OLED display is actually active-low.
Adapt the DT to reflect the real world.

Signed-off-by: Michal Vokáč <redacted>
---
v2 changes: New patch in the series
Bartlomiej just queued the first two patches for v4.20.
Will somebody take this one? Otherwise this SoM will end up with
broken OLED display reset.

Thanks, Michal.
quoted hunk ↗ jump to hunk
  arch/arm/boot/dts/imx28-cfa10036.dts | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts
index e54f5ab..be3406e 100644
--- a/arch/arm/boot/dts/imx28-cfa10036.dts
+++ b/arch/arm/boot/dts/imx28-cfa10036.dts
@@ -11,6 +11,7 @@
  
  /dts-v1/;
  #include "imx28.dtsi"
+#include <dt-bindings/gpio/gpio.h>
  
  / {
  	model = "Crystalfontz CFA-10036 Board";
@@ -95,7 +96,7 @@
  					pinctrl-names = "default";
  					pinctrl-0 = <&ssd1306_cfa10036>;
  					reg = <0x3c>;
-					reset-gpios = <&gpio2 7 0>;
+					reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
  					solomon,height = <32>;
  					solomon,width = <128>;
  					solomon,page-offset = <0>;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help