[Linux-stm32] [PATCH v3 10/16] dt-bindings: net: sun8i-emac: Convert the binding to a schemas
Rob Herring
robh+dt at kernel.org
Wed Jun 19 14:10:13 UTC 2019
On Wed, Jun 19, 2019 at 3:48 AM Maxime Ripard <maxime.ripard at bootlin.com> wrote:
>
> Switch our Allwinner H3 EMAC controller binding to a YAML schema to enable
> the DT validation. Since that controller is based on a Synopsys IP, let's
> add the validation to that schemas with a bunch of conditionals.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
>
> ---
>
> Changes from v2:
> - Switch to phy-connection-type instead of phy-mode
> - Change the delay enum to using multipleOf
>
> Changes from v1:
> - Add specific binding document
> ---
> Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 321 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 201 +---------------------------------------------
> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 15 +++-
> 3 files changed, 336 insertions(+), 201 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
> delete mode 100644 Documentation/devicetree/bindings/net/dwmac-sun8i.txt
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the Linux-stm32
mailing list