Re: [PATCH 1/2] dt-bindings: bus: simple-pm-bus: convert bindings to json-schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux