[Linux-stm32] [PATCH v3 08/16] dt-bindings: net: stmmac: Convert the binding to a schemas
Rob Herring
robh+dt at kernel.org
Wed Jun 19 14:12:09 UTC 2019
On Wed, Jun 19, 2019 at 3:48 AM Maxime Ripard <maxime.ripard at bootlin.com> wrote:
>
> Switch the STMMAC / Synopsys DesignWare MAC controller binding to a YAML
> schema to enable the DT validation.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
>
> ---
>
> 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 at kernel.org>
More information about the Linux-stm32
mailing list