On Mon, Sep 23, 2019 at 6:53 AM Simon Horman <horms@xxxxxxxxxxxx> wrote: > > On Thu, Sep 19, 2019 at 02:33:58PM -0500, Rob Herring wrote: > > On Thu, Sep 19, 2019 at 10:10 AM Simon Horman <horms@xxxxxxxxxxxx> wrote: > > > > > > On Tue, Sep 17, 2019 at 07:12:16AM -0500, Rob Herring wrote: > > > > On Mon, Sep 16, 2019 at 10:35 AM Simon Horman > > > > <horms+renesas@xxxxxxxxxxxx> wrote: > > ... > > > > > > + > > > > > + power-domains: > > > > > + # Required if clocks is absent, optional otherwise > > > > > + minItems: 1 > > > > > + > > > > > +required: > > > > > + - compatible > > > > > + - '#address-cells' > > > > > + - '#size-cells' > > > > > + - ranges > > > > > > > > This will capture what you commented above: > > > > > > > > oneOf: > > > > - required: > > > > - clocks > > > > - required: > > > > - power-domains > > > > > > Thanks. Unfortunately dtbs_check does not seem happy > > > if both clocks and power-domains are present. > > > > I was thinking it was either or. Use 'anyOf' instead. > > Thanks, perhaps the tooling needs updating to handle this. Indeed. Now fixed. Rob