[SRU] [Xenial] [snapdragon] [ PATCH 1/1 ] Fixes for LP:1776725
Ondrej Kubik
ondrej.kubik at canonical.com
Tue Jun 26 17:10:49 UTC 2018
BugLink: https://bugs.launchpad.net/bugs/1776725
Updating dragonboard 410c device tree LED definition to work properly on
Ubuntu Core
Use rfkill(0/1) for bluetooth and wifi LEDs
setting LED1 as heartbeat
setting LED4 as default-on
Signed-off-by: Ondrej Kubik <ondrej.kubik at canonical.com>
---
arch/arm64/boot/dts/qcom/apq8016-sbc-snappy.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-snappy.dtsi
b/arch/arm64/boot/dts/qcom/apq8016-sbc-snappy.dtsi
index 68b3c75..56c63ce 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc-snappy.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-snappy.dtsi
@@ -218,7 +218,7 @@
led at 1 {
label = "apq8016-sbc:green:user1";
- gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
+ gpios = <&msmgpio 95 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
@@ -240,21 +240,21 @@
led at 4 {
label = "apq8016-sbc:green:user4";
gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "none";
+ linux,default-trigger = "default-on";
default-state = "off";
};
led at 5 {
label = "apq8016-sbc:yellow:wlan";
gpios = <&pm8916_mpps 2 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "wlan";
+ linux,default-trigger = "rfkill1";
default-state = "off";
};
led at 6 {
label = "apq8016-sbc:blue:bt";
gpios = <&pm8916_mpps 3 GPIO_ACTIVE_HIGH>;
- linux,default-trigger = "bt";
+ linux,default-trigger = "rfkill0";
default-state = "off";
};
};
--
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180626/368be66d/attachment.html>
More information about the kernel-team
mailing list