2020-04-16 01:06:01

by Johan Jonker

[permalink] [raw]
Subject: [PATCH] dt-bindings: net: ethernet-phy: add desciption for ethernet-phy-id1234.d400

The description below is already in use in
'rk3228-evb.dts', 'rk3229-xms6.dts' and 'rk3328.dtsi'
but somehow never added to a document, so add
"ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"
for ethernet-phy nodes on Rockchip platforms to
'ethernet-phy.yaml'.

Signed-off-by: Johan Jonker <[email protected]>
---
Documentation/devicetree/bindings/net/ethernet-phy.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
index 8927941c7..5aa141ccc 100644
--- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml
@@ -45,6 +45,9 @@ properties:
bits of a vendor specific ID.
- items:
- pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$"
+ - const: ethernet-phy-ieee802.3-c22
+ - items:
+ - pattern: "^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$"
- const: ethernet-phy-ieee802.3-c45

reg:
--
2.11.0


2020-04-16 01:06:48

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: ethernet-phy: add desciption for ethernet-phy-id1234.d400



On 4/15/2020 1:01 PM, Johan Jonker wrote:
> The description below is already in use in
> 'rk3228-evb.dts', 'rk3229-xms6.dts' and 'rk3328.dtsi'
> but somehow never added to a document, so add
> "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"
> for ethernet-phy nodes on Rockchip platforms to
> 'ethernet-phy.yaml'.
>
> Signed-off-by: Johan Jonker <[email protected]>

Acked-by: Florian Fainelli <[email protected]>
--
Florian

2020-04-16 01:15:47

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: net: ethernet-phy: add desciption for ethernet-phy-id1234.d400

From: Johan Jonker <[email protected]>
Date: Wed, 15 Apr 2020 22:01:49 +0200

> The description below is already in use in
> 'rk3228-evb.dts', 'rk3229-xms6.dts' and 'rk3328.dtsi'
> but somehow never added to a document, so add
> "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"
> for ethernet-phy nodes on Rockchip platforms to
> 'ethernet-phy.yaml'.
>
> Signed-off-by: Johan Jonker <[email protected]>

I'll take this via my net tree, thanks.