Skip to contentSkip to conversation

Patch "ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message May 15, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO

to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-imx23-olinuxino-fix-polarity-of-led-gpio.patch
and it can be found in the queue-4.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From cfe8c59762244251fd9a5e281d48808095ff4090 Mon Sep 17 00:00:00 2001

From: Fabio Estevam <[email protected]>
Date: Tue, 14 Apr 2015 11:05:04 -0300
Subject: ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO

From: Fabio Estevam <[email protected]>

commit cfe8c59762244251fd9a5e281d48808095ff4090 upstream.

On imx23-olinuxino the LED turns on when level logic high is aplied to GPIO2_1.

Fix the gpios property accordingly.

Fixes b34aa1850244 ("ARM: dts: imx23-olinuxino: Remove unneeded "default-on"")
---
 arch/arm/boot/dts/imx23-olinuxino.dts |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx23-olinuxino.dts +2 -1
@@ -12,6 +12,7 @@
  */
 
 /dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
 #include "imx23.dtsi"
 
 / {
@@ -123,7 +124,7 @@
 
 		user {
 			label = "green";
-			gpios = <&gpio2 1 1>;
+			gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
 		};
 	};
 };

Patches currently in stable-queue which might be from [email protected] are

queue-4.0/arm-dts-imx23-olinuxino-fix-dr_mode-of-usb0.patch queue-4.0/arm-dts-imx25-add-pwm-cells-to-pwm4.patch queue-4.0/arm-dts-imx23-olinuxino-fix-polarity-of-led-gpio.patch