]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: ifc6410: HACK add bt reset gpios to pwrseq
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 17 Sep 2015 09:02:18 +0000 (10:02 +0100)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:12 +0000 (09:54 +0000)
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 <srinivas.kandagatla@linaro.org>
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts

index 4b90df1390b9a78c068bfaae9fac820fca724652..f691dc4659299f8aa0878bf3b832fc5fad592e62 100644 (file)
 
                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>;
                };
        };
 
                                                };
                                        };
 
+                                       bt_gpios: bt-gpio {
+                                               pios {
+                                                       pins = "gpio44";
+                                                       function = "normal";
+                                                       bias-disable;
+                                                       power-source = <PM8921_GPIO_S4>;
+                                               };
+                                       };
+
                                        notify_led: nled {
                                                pios {
                                                        pins = "gpio18";