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