2019-08-20 14:56:05

by Ondřej Jirman

[permalink] [raw]
Subject: [PATCH 1/6] dt-bindings: net: sun8i-a83t-emac: Add phy-supply property

From: Ondrej Jirman <[email protected]>

This is already supported by the driver, but is missing from the
bindings.

Signed-off-by: Ondrej Jirman <[email protected]>
---
.../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
index 3fb0714e761e..304f244e9ab5 100644
--- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
+++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
@@ -43,6 +43,10 @@ properties:
Phandle to the device containing the EMAC or GMAC clock
register

+ phy-supply:
+ description:
+ PHY regulator
+
required:
- compatible
- reg
--
2.22.1


2019-08-20 16:19:28

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 1/6] dt-bindings: net: sun8i-a83t-emac: Add phy-supply property

On Tue, Aug 20, 2019 at 9:53 AM <[email protected]> wrote:
>
> From: Ondrej Jirman <[email protected]>
>
> This is already supported by the driver, but is missing from the
> bindings.

Really, the supply for the phy should be in the phy's node...

>
> Signed-off-by: Ondrej Jirman <[email protected]>
> ---
> .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 4 ++++
> 1 file changed, 4 insertions(+)

Reviewed-by: Rob Herring <[email protected]>