| From foo@baz Sun Jun 17 12:07:34 CEST 2018 |
| From: Adam Ford <aford173@gmail.com> |
| Date: Mon, 30 Apr 2018 18:24:34 -0500 |
| Subject: ARM: dts: logicpd-som-lv: Fix WL127x Startup Issues |
| |
| From: Adam Ford <aford173@gmail.com> |
| |
| [ Upstream commit 189822cbcbf3ea37c26a15612d8f922c440bc0e0 ] |
| |
| 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> |
| Signed-off-by: Tony Lindgren <tony@atomide.com> |
| Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/arm/boot/dts/logicpd-som-lv.dtsi | 9 +++++++-- |
| 1 file changed, 7 insertions(+), 2 deletions(-) |
| |
| --- 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 */ |
| @@ -209,7 +209,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 */ |
| >; |
| }; |
| @@ -244,6 +244,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"; |