# Re: \[PATCH v3 07/16\] dt-bindings: net: sun4i-mdio: Convert the binding to a schemas

- From: Rob Herring \<robh+dt@kernel.org\>
- Date: 2019-06-19 14:19:11 
- List: netdev
- Page: https://ratatoskr.run/netdev/2019/06/8169490
- Thread: https://ratatoskr.run/netdev/2019/06/8169455/t.md

```text
On Wed, Jun 19, 2019 at 3:48 AM Maxime Ripard [ref] wrote:
>
> Switch our Allwinner A10 MDIO controller binding to a YAML schema to enable
> the DT validation.
>
> Signed-off-by: Maxime Ripard <redacted>
>
> ---
>
> Changes from v2:
>   - Add the generic MDIO YAML schema
>
> Changes from v1:
>   - Add a select statement with the deprecated compatible, and remove it
>     from the valid compatibles
> ---
>  Documentation/devicetree/bindings/net/allwinner,sun4i-a10-mdio.yaml | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt      | 27 ---------------------------
>  2 files changed, 70 insertions(+), 27 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-a10-mdio.yaml
>  delete mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt

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