# Re: \[PATCH v2 01/11\] dt-bindings: net: Add YAML schemas for the generic Ethernet options

- From: Rob Herring \<robh+dt@kernel.org\>
- Date: 2019-06-10 19:02:49 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/06/8169266
- Thread: https://ratatoskr.run/netdev/2019/06/8169243/t.md

```text
On Mon, Jun 10, 2019 at 3:26 AM Maxime Ripard [ref] wrote:
>
> The Ethernet controllers have a good number of generic options that can be
> needed in a device tree. Add a YAML schemas for those.
>
> Signed-off-by: Maxime Ripard <redacted>
>
> ---
>
> Changes from v1:
>   - Use an enum for phy-connection-types
>   - Validate the items for the fixed-link array
>   - Set the number of valid items for link-gpios to 1
>   - Removed deprecated properties (phy-mode, phy, phy-device)
> ---
>  Documentation/devicetree/bindings/net/ethernet-controller.yaml | 194 +++++++-
>  Documentation/devicetree/bindings/net/ethernet.txt             |  69 +--
>  Documentation/devicetree/bindings/net/fixed-link.txt           |  55 +--
>  3 files changed, 196 insertions(+), 122 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/ethernet-controller.yaml

Reviewed-by: Rob Herring <robh@kernel.org>
```
