]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commitdiff
arm64: zynqmp: Add bluetooth-power led trigger to ds5 led
authorMichal Simek <michal.simek@xilinx.com>
Thu, 1 Jun 2017 06:17:25 +0000 (08:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 12:13:49 +0000 (14:13 +0200)
This patch assign ds5 led to show software status of BT interface.
This patch also enable BT_LEDs support in xilinx defconfig file

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revB.dts
arch/arm64/configs/xilinx_zynqmp_defconfig

index a01668dbfe5d0f149546eaefec80054d5d3c700d..07687688e4dd52de629b42d20b498e654219e535 100644 (file)
@@ -89,6 +89,7 @@
                ds5 {
                        label = "ds5";
                        gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "bluetooth-power";
                };
 
                /* FIXME this is not correct - used fixed-regulator for it */
index da147d3a2466f73af8c3cfb2a8672b3e21a80bc4..6a6f631d5f6d965a3a3267278e16238be2c2c3ec 100644 (file)
@@ -89,6 +89,7 @@ CONFIG_BT_BNEP=y
 CONFIG_BT_BNEP_MC_FILTER=y
 CONFIG_BT_BNEP_PROTO_FILTER=y
 CONFIG_BT_HIDP=y
+CONFIG_BT_LEDS=y
 CONFIG_BT_HCIBTUSB=y
 CONFIG_BT_HCIBTSDIO=y
 CONFIG_BT_HCIUART=y