ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues
diff mbox

Message ID 20180430232434.12756-1-aford173@gmail.com
State New
Headers show

Commit Message

Adam Ford April 30, 2018, 11:24 p.m. UTC
The VAUX3 rail from the PMIC powers a clock driver which clocks
the WL127x. This corrects a bug which did not correctly associate
the vin-supply with the proper power rail.

This also fixes a typo in the pinmuxing to properly configure the
interrupt pin.

Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD
DM3730 SOM-LV")

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tony Lindgren May 1, 2018, 3:05 p.m. UTC | #1
* Adam Ford <aford173@gmail.com> [180430 16:26]:
> The VAUX3 rail from the PMIC powers a clock driver which clocks
> the WL127x. This corrects a bug which did not correctly associate
> the vin-supply with the proper power rail.
> 
> This also fixes a typo in the pinmuxing to properly configure the
> interrupt pin.
> 
> Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD
> DM3730 SOM-LV")
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Thanks applying into omap-for-v4.17/fixes.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi
index e3514fae414d..b02ae7808697 100644
--- a/arch/arm/boot/dts/logicpd-som-lv.dtsi
+++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi
@@ -26,7 +26,7 @@ 
 		gpio = <&gpio1 3 0>;   /* gpio_3 */
 		startup-delay-us = <70000>;
 		enable-active-high;
-		vin-supply = <&vmmc2>;
+		vin-supply = <&vaux3>;
 	};
 
 	/* HS USB Host PHY on PORT 1 */
@@ -233,7 +233,7 @@ 
 	};
 	wl127x_gpio: pinmux_wl127x_gpio_pin {
 		pinctrl-single,pins = <
-			OMAP3_WKUP_IOPAD(0x2a0c, PIN_INPUT | MUX_MODE4)		/* sys_boot0.gpio_2 */
+			OMAP3_WKUP_IOPAD(0x2a0a, PIN_INPUT | MUX_MODE4)		/* sys_boot0.gpio_2 */
 			OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4)	/* sys_boot1.gpio_3 */
 		>;
 	};
@@ -266,6 +266,11 @@ 
 #include "twl4030.dtsi"
 #include "twl4030_omap3.dtsi"
 
+&vaux3 {
+	regulator-min-microvolt = <2800000>;
+	regulator-max-microvolt = <2800000>;
+};
+
 &twl {
 	twl_power: power {
 		compatible = "ti,twl4030-power-idle-osc-off", "ti,twl4030-power-idle";