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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On 25/08/15 22:36, Stephen Boyd wrote:
On 08/18/2015 06:10 AM, Srinivas Kandagatla wrote:
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.
yep, Will move it to the root.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux