]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Sep 2017 08:07:44 +0000 (10:07 +0200)
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";