Skip to contentSkip to conversation

ARM: dts: omap3-overo: Remove "vqmmc-supply" property from MMC dt node

PATCH Applied Kishon Vijay Abraham I 3 participants 5 messages Jun 9, 2017 – Jun 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: omap3-overo: Remove "vqmmc-supply" property from MMC dt node

commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in mmc2 hasn't caused any issues so far, mmc2 will start to mis-behave once omap_hsmmc defines "vqmmc" binding.

Remove "vqmmc-supply" property in mmc2 here.

---
 arch/arm/boot/dts/omap3-overo-base.dtsi | 11 -----------
 1 file changed, 11 deletions(-)
arch/arm/boot/dts/omap3-overo-base.dtsi +0 -11
index 401fae838fe9..cd220342a805 100644
@@ -74,16 +74,6 @@
 		gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;		/* gpio_16: WiFi nReset */
 		startup-delay-us = <10000>;
 	};
-
-	/* Regulator to trigger the nReset signal of the Bluetooth module */
-	w3cbw003c_bt_nreset: regulator-w3cbw003c-bt-nreset {
-		compatible = "regulator-fixed";
-		regulator-name = "regulator-w3cbw003c-bt-nreset";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;		/* gpio_164: BT nReset */
-		startup-delay-us = <10000>;
-	};
 };
 
 &omap3_pmx_core {
@@ -191,7 +181,6 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc2_pins>;
 	vmmc-supply = <&w3cbw003c_npoweron>;
-	vqmmc-supply = <&w3cbw003c_bt_nreset>;
 	vmmc_aux-supply = <&w3cbw003c_wifi_nreset>;
 	bus-width = <4>;
 	cap-sdio-irq;
Signature · 1 line
2.11.0
#1 lore raw
Quoted 11 lines · Kishon Vijay Abraham I

commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in mmc2 hasn't caused any issues so far, mmc2 will start to mis-behave once omap_hsmmc defines "vqmmc" binding.

Remove "vqmmc-supply" property in mmc2 here.

Okay, so I assume I also need to carry this in my immutable branch for the omap driver changes. More precisely before the driver changes?

Wait for Tony to ack this then.

Kind regards
Uffe

Quoted 36 lines
---
 arch/arm/boot/dts/omap3-overo-base.dtsi | 11 -----------
 1 file changed, 11 deletions(-)
arch/arm/boot/dts/omap3-overo-base.dtsi +0 -12
index 401fae838fe9..cd220342a805 100644
@@ -74,16 +74,6 @@
                gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;            /* gpio_16: WiFi nReset */
                startup-delay-us = <10000>;
        };
-
-       /* Regulator to trigger the nReset signal of the Bluetooth module */
-       w3cbw003c_bt_nreset: regulator-w3cbw003c-bt-nreset {
-               compatible = "regulator-fixed";
-               regulator-name = "regulator-w3cbw003c-bt-nreset";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;             /* gpio_164: BT nReset */
-               startup-delay-us = <10000>;
-       };
 };
 
 &omap3_pmx_core {
@@ -191,7 +181,6 @@
        pinctrl-names = "default";
        pinctrl-0 = <&mmc2_pins>;
        vmmc-supply = <&w3cbw003c_npoweron>;
-       vqmmc-supply = <&w3cbw003c_bt_nreset>;
        vmmc_aux-supply = <&w3cbw003c_wifi_nreset>;
        bus-width = <4>;
        cap-sdio-irq;
--

2.11.0

#2 lore raw

Hi,

Quoted 9 lines · Ulf Hansson
Quoted 8 lines · Kishon Vijay Abraham I

commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in mmc2 hasn't caused any issues so far, mmc2 will start to mis-behave once omap_hsmmc defines "vqmmc" binding.

Quoted 6 lines
Quoted 3 lines

Remove "vqmmc-supply" property in mmc2 here.

Okay, so I assume I also need to carry this in my immutable branch for the omap driver changes. More precisely before the driver changes?

yeah, that's right!

Thanks
Kishon

Acked-by
#3 lore raw
Quoted 12 lines · Kishon Vijay Abraham I

Hi,

Quoted 9 lines · Ulf Hansson
Quoted 8 lines · Kishon Vijay Abraham I

commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in mmc2 hasn't caused any issues so far, mmc2 will start to mis-behave once omap_hsmmc defines "vqmmc" binding.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Remove "vqmmc-supply" property in mmc2 here.

Okay, so I assume I also need to carry this in my immutable branch for the omap driver changes. More precisely before the driver changes?

yeah, that's right!

As far as I can tell this regulator won't do anything right now so:

Applied
#4 lore raw
In reply to Kishon Vijay Abraham I
Quoted 11 lines · Kishon Vijay Abraham I

commit 94647a30124e2c7 ("ARM: dts: omap3-overo: Enable WiFi/BT combo") while enabling WiFi/BT combo added regulator to trigger the nReset signal of the Bluetooth module in vqmmc-supply. However BT should be handled by UART. Moreover "vqmmc" is not a defined binding for omap_hsmmc. While "vqmmc" in mmc2 hasn't caused any issues so far, mmc2 will start to mis-behave once omap_hsmmc defines "vqmmc" binding.

Remove "vqmmc-supply" property in mmc2 here.

Thanks, applied for next!

Kind regards
Uffe

Quoted 36 lines
---
 arch/arm/boot/dts/omap3-overo-base.dtsi | 11 -----------
 1 file changed, 11 deletions(-)
arch/arm/boot/dts/omap3-overo-base.dtsi +0 -12
index 401fae838fe9..cd220342a805 100644
@@ -74,16 +74,6 @@
                gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;            /* gpio_16: WiFi nReset */
                startup-delay-us = <10000>;
        };
-
-       /* Regulator to trigger the nReset signal of the Bluetooth module */
-       w3cbw003c_bt_nreset: regulator-w3cbw003c-bt-nreset {
-               compatible = "regulator-fixed";
-               regulator-name = "regulator-w3cbw003c-bt-nreset";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;             /* gpio_164: BT nReset */
-               startup-delay-us = <10000>;
-       };
 };
 
 &omap3_pmx_core {
@@ -191,7 +181,6 @@
        pinctrl-names = "default";
        pinctrl-0 = <&mmc2_pins>;
        vmmc-supply = <&w3cbw003c_npoweron>;
-       vqmmc-supply = <&w3cbw003c_bt_nreset>;
        vmmc_aux-supply = <&w3cbw003c_wifi_nreset>;
        bus-width = <4>;
        cap-sdio-irq;
--

2.11.0