Thread (15 messages) 15 messages, 3 authors, 2015-09-03

Re: [PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.

From: Stephen Boyd <hidden>
Date: 2015-08-25 21:36:06
Also in: linux-arm-kernel, linux-arm-msm, lkml

On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index b1f9ddb..08daafe 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -221,6 +221,18 @@
  			status = "okay";
  		};
  
+		leds {
+			compatible = "gpio-leds";
+			pinctrl-names = "default";
+			pinctrl-0 = <&notify_led>;
+
+			led@1 {
+				label = "apq8064:green:user1";
+				gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
+				default-state = "on";
+			};
+		};
Wrong place. Should be in root, not soc node.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help