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

- From: Rob Herring \<robh+dt@kernel.org\>
- Date: 2019-06-19 14:12:09 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2019/06/8169488
- Thread: https://ratatoskr.run/linux-devicetree/2019/06/8169455/t.md

```text
On Wed, Jun 19, 2019 at 3:48 AM Maxime Ripard [ref] wrote:
>
> Switch the STMMAC / Synopsys DesignWare MAC controller binding to a YAML
> schema to enable the DT validation.
>
> Signed-off-by: Maxime Ripard <redacted>
>
> ---
>
> Changes from v2:
>   - Switch to phy-connection-type instead of phy-mode
>   - Fix the snps,*pbl properties type
>
> Changes from v1:
>   - Restrict snps,tso to only a couple of compatibles
>   - Use an enum for the compatibles
>   - Add a custom select statement with the compatibles of all the generic
>     compatibles, including the deprecated ones. Remove the deprecated ones
>     from the valid compatible values to issue a warning when used.
> ---
>  Documentation/devicetree/bindings/net/snps,dwmac.yaml | 389 +++++++++++-
>  Documentation/devicetree/bindings/net/stmmac.txt      | 179 +-----
>  2 files changed, 390 insertions(+), 178 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/snps,dwmac.yaml

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
