From 8087dc4c5810856a014a1b4f6ce893b68a2612e2 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Thu, 17 Sep 2015 10:02:18 +0100 Subject: [PATCH] ARM: dts: ifc6410: HACK add bt reset gpios to pwrseq This patch adds BT gpios to reset sequence in SDCC4 pwrseq. Ideally BT UART bus should get hold of pwrseq and do the reset, but for now as a hack we let the BT reset done just with SDIO bus. Things will change once the pwrseq is converted in to a proper platform driver and other buses can use it. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 4b90df1390b9..f691dc465929 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -20,9 +20,10 @@ sdcc4_pwrseq: sdcc4_pwrseq { pinctrl-names = "default"; - pinctrl-0 = <&wlan_default_gpios>; + pinctrl-0 = <&wlan_default_gpios &bt_gpios>; compatible = "mmc-pwrseq-simple"; - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>, + <&pm8921_gpio 44 GPIO_ACTIVE_LOW>; }; }; @@ -361,6 +362,15 @@ }; }; + bt_gpios: bt-gpio { + pios { + pins = "gpio44"; + function = "normal"; + bias-disable; + power-source = ; + }; + }; + notify_led: nled { pios { pins = "gpio18"; -- 2.39.5