diff mbox

[U-Boot,2/2] sunxi: enable DLDO4 and DC1SW for Pine64+

Message ID 20161223083133.41105-2-icenowy@aosc.xyz
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Icenowy Zheng Dec. 23, 2016, 8:31 a.m. UTC
Pine64+ uses DLDO4 for wireless network, and DC1SW for wired network.

Enable these two regulators, in order to provide net support in U-Boot
and Linux.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
---
 configs/pine64_plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Maxime Ripard Jan. 5, 2017, 10 p.m. UTC | #1
On Fri, Dec 23, 2016 at 04:31:33PM +0800, Icenowy Zheng wrote:
> Pine64+ uses DLDO4 for wireless network, and DC1SW for wired network.
> 
> Enable these two regulators, in order to provide net support in U-Boot
> and Linux.
> 
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
> ---
>  configs/pine64_plus_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/configs/pine64_plus_defconfig b/configs/pine64_plus_defconfig
> index a76f66a11c..b9bbb54ef0 100644
> --- a/configs/pine64_plus_defconfig
> +++ b/configs/pine64_plus_defconfig
> @@ -9,5 +9,7 @@ CONFIG_SPL=y
>  # CONFIG_CMD_IMLS is not set
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_AXP_DLDO4_VOLT=3300

If this is used for the wifi, is there any point in enabling it in
U-Boot? It won't need it.

Maxime
diff mbox

Patch

diff --git a/configs/pine64_plus_defconfig b/configs/pine64_plus_defconfig
index a76f66a11c..b9bbb54ef0 100644
--- a/configs/pine64_plus_defconfig
+++ b/configs/pine64_plus_defconfig
@@ -9,5 +9,7 @@  CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_AXP_DLDO4_VOLT=3300
+CONFIG_AXP_SW_ON=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y