Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx28-cfa10036: Fix the reset gpio signal polarity

The reset signal of the SSD1306 OLED display is actually active-low.
Adapt the DT to reflect the real world.

Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>,
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

authored by

Michal Vokáč and committed by
Bartlomiej Zolnierkiewicz
1ac1d484 af4b3a71

+2 -1
+2 -1
arch/arm/boot/dts/imx28-cfa10036.dts
··· 11 11 12 12 /dts-v1/; 13 13 #include "imx28.dtsi" 14 + #include <dt-bindings/gpio/gpio.h> 14 15 15 16 / { 16 17 model = "Crystalfontz CFA-10036 Board"; ··· 97 96 pinctrl-names = "default"; 98 97 pinctrl-0 = <&ssd1306_cfa10036>; 99 98 reg = <0x3c>; 100 - reset-gpios = <&gpio2 7 0>; 99 + reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; 101 100 solomon,height = <32>; 102 101 solomon,width = <128>; 103 102 solomon,page-offset = <0>;