Re: [PATCH v2 07/11] dt-bindings: net: stmmac: Convert the binding to a schemas

2019-06-11 Thread Maxime Ripard
On Mon, Jun 10, 2019 at 01:13:25PM -0600, Rob Herring wrote: > On Mon, Jun 10, 2019 at 3:26 AM Maxime Ripard > wrote: > > +then: > > + properties: > > +snps,pbl: > > + allOf: > > +- $ref: /schemas/types.yaml#definitions/uint32-array > > +- enum: [

Re: [PATCH v2 07/11] dt-bindings: net: stmmac: Convert the binding to a schemas

2019-06-10 Thread Rob Herring
On Mon, Jun 10, 2019 at 3:26 AM Maxime Ripard wrote: > > Switch the STMMAC / Synopsys DesignWare MAC controller binding to a YAML > schema to enable the DT validation. > > Signed-off-by: Maxime Ripard > > --- > > Changes from v1: > - Restrict snps,tso to only a couple of compatibles > - Use a

[PATCH v2 07/11] dt-bindings: net: stmmac: Convert the binding to a schemas

2019-06-10 Thread Maxime Ripard
Switch the STMMAC / Synopsys DesignWare MAC controller binding to a YAML schema to enable the DT validation. Signed-off-by: Maxime Ripard --- 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 com