2017-11-11 15:06:33

by Corentin Labbe

[permalink] [raw]
Subject: Re: [linux-sunxi] [PATCH] arm64: allwinner: a64: add Ethernet PHY regulator for several boards

On Fri, Nov 10, 2017 at 05:26:54PM +0800, Icenowy Zheng wrote:
> On several A64 boards the Ethernet PHY is powered by the DC1SW regulator
> on the AXP803 PMIC.
>
> Add phy-handle property to these boards' emac node.
>
> Signed-off-by: Icenowy Zheng <[email protected]>

Acked-by: Corentin LABBE <[email protected]>
Tested-by: Corentin LABBE <[email protected]>
Tested-on: sun50i-a64-pine64
Tested-on: sun50i-a64-bananapi-m64

Thanks
Regards

> ---
> arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 1 +
> arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 1 +
> arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 1 +
> 3 files changed, 3 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> index 45bdbfb96126..4a8d3f83a36e 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
> @@ -75,6 +75,7 @@
> pinctrl-0 = <&rgmii_pins>;
> phy-mode = "rgmii";
> phy-handle = <&ext_rgmii_phy>;
> + phy-supply = <&reg_dc1sw>;
> status = "okay";
> };
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> index 806442d3e846..604cdaedac38 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
> @@ -77,6 +77,7 @@
> pinctrl-0 = <&rmii_pins>;
> phy-mode = "rmii";
> phy-handle = <&ext_rmii_phy1>;
> + phy-supply = <&reg_dc1sw>;
> status = "okay";
>
> };
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> index 0eb2acedf8c3..a053a6ac5267 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
> @@ -82,6 +82,7 @@
> pinctrl-0 = <&rgmii_pins>;
> phy-mode = "rgmii";
> phy-handle = <&ext_rgmii_phy>;
> + phy-supply = <&reg_dc1sw>;
> status = "okay";
> };
>
> --
> 2.14.2

From 1583670749450643631@xxx Fri Nov 10 09:28:39 +0000 2017
X-GM-THRID: 1583670749450643631
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread