net: stmmac: dwmac-rk: Fix phy regulator issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v14 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driverdrivers/ | +0 | 1 reply | |
| 2/4 | ARM: dts: Add regulator voltage settings for vcc_phy in rk3288-evb.dtsiarch/ | +2 | 0 replies | |
| 3/4 | net: stmmac: dwmac-rk: Use standard devicetree property for phy regulatorarch/ drivers/ | +22 | 0 replies | |
| 4/4 | dt-bindings: Document phy-supply property in rockchip-dwmacDocumentation/ | +1 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Heiko Stuebner |
|---|---|
| Series | T-b R-b |
| 1/4 | T-b R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues
This series fixes few issues in dwmac-rk:
1. Voltage settings was hardcoded into the driver for the phy regulator.
The driver now uses the default voltage settings found in the devicetree, which are applied throught the regulator framework.
2. The regulator name used to power on or power off the phy was put in the devicetree variable "phy_regulator", which is not standard and added a lot of code for nothing. The driver now uses the devicetree property "phy-supply" and the corresponding functions to manipulate this regulator.
The corresponding devicetree files are also updated. As this new binding for rk3288 has not been released with any official kernel yet (not until 3.20), I don't need to care about keeping compatibility with the old non standard property.
Romain Perier (4):
net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from
the driver
ARM: dts: Add regulator voltage settings for vcc_phy in
rk3288-evb.dtsi
net: stmmac: dwmac-rk: Use standard devicetree property for phy
regulator
dt-bindings: Document phy-supply property in rockchip-dwmac
.../devicetree/bindings/net/rockchip-dwmac.txt | 1 + arch/arm/boot/dts/rk3288-evb-rk808.dts | 2 +- arch/arm/boot/dts/rk3288-evb.dtsi | 2 + drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 64 +++++++--------------- 4 files changed, 25 insertions(+), 44 deletions(-)
Signature · 1 line
1.9.1