summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3288-evb-rk808.dts
diff options
context:
space:
mode:
authorRomain Perier2015-01-20 08:09:39 +0100
committerDavid S. Miller2015-01-25 02:17:07 +0100
commit2e12f536635f88454fe6344cf9dad092ad7c2d77 (patch)
tree64368f4f14fd9a2c461f0ab52e0eff8037fb77e0 /arch/arm/boot/dts/rk3288-evb-rk808.dts
parentARM: dts: Add regulator voltage settings for vcc_phy in rk3288-evb.dtsi (diff)
downloadkernel-qcow2-linux-2e12f536635f88454fe6344cf9dad092ad7c2d77.tar.gz
kernel-qcow2-linux-2e12f536635f88454fe6344cf9dad092ad7c2d77.tar.xz
kernel-qcow2-linux-2e12f536635f88454fe6344cf9dad092ad7c2d77.zip
net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator
Currently, dwmac-rk uses a custom propety "phy_regulator" to get the name of the right regulator to use to power on or power off the phy. This commit converts the driver to use phy-supply devicetree property and the corresponding API, it cleans the code a bit and make it simpler to maintain. This also replaces the property phy_regulator by the standard property phy-supply in rk3288-evb-rk808.dts. Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-evb-rk808.dts')
-rw-r--r--arch/arm/boot/dts/rk3288-evb-rk808.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts
index 831a7aa85136..e1d3eeb8f094 100644
--- a/arch/arm/boot/dts/rk3288-evb-rk808.dts
+++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts
@@ -161,7 +161,7 @@
};
&gmac {
- phy_regulator = "vcc_phy";
+ phy-supply = <&vcc_phy>;
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <&gpio4 7 0>;