On Wed, Jun 19, 2019 at 3:48 AM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> 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@xxxxxxxxxxx> > > --- > > 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@xxxxxxxxxx>