From: Rob Herring <robh+dt@kernel.org>
To: Simon Horman <horms@verge.net.au>
Cc: Mark Rutland <mark.rutland@arm.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Yoshihiro Kaneko <ykaneko0929@gmail.com>,
devicetree@vger.kernel.org,
"open list:MEDIA DRIVERS FOR RENESAS - FCP"
<linux-renesas-soc@vger.kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: bus: simple-pm-bus: convert bindings to json-schema
Date: Mon, 23 Sep 2019 07:40:28 -0500 [thread overview]
Message-ID: <CAL_JsqLVyuQTZo1CoxoesNM=FfDrXphYK8pfqFrGyeZLEi5pjg@mail.gmail.com> (raw)
In-Reply-To: <20190923115328.lpb5qeu6poacrb6y@verge.net.au>
On Mon, Sep 23, 2019 at 6:53 AM Simon Horman <horms@verge.net.au> 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@verge.net.au> 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@verge.net.au> 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
next prev parent reply other threads:[~2019-09-23 12:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 15:33 [PATCH 0/2] dt-bindings: bus: simple-pm-bus, renesas-bsc: convert bindings to json-schema Simon Horman
2019-09-16 15:33 ` [PATCH 1/2] dt-bindings: bus: simple-pm-bus: " Simon Horman
2019-09-17 10:43 ` Ulrich Hecht
2019-09-17 11:29 ` Simon Horman
2019-09-17 12:48 ` Rob Herring
2019-09-19 14:59 ` Simon Horman
2019-09-17 12:12 ` Rob Herring
2019-09-17 12:44 ` Geert Uytterhoeven
2019-09-19 15:10 ` Simon Horman
2019-09-19 19:33 ` Rob Herring
2019-09-23 11:53 ` Simon Horman
2019-09-23 12:40 ` Rob Herring [this message]
2019-09-24 9:22 ` Simon Horman
2019-09-16 15:33 ` [PATCH 2/2] dt-bindings: bus: renesas-bsc: " Simon Horman
2019-09-17 10:43 ` Ulrich Hecht
2019-09-17 11:08 ` Simon Horman
2019-09-17 12:41 ` Rob Herring
2019-09-17 11:09 ` Simon Horman
2019-09-17 11:12 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL_JsqLVyuQTZo1CoxoesNM=FfDrXphYK8pfqFrGyeZLEi5pjg@mail.gmail.com' \
--to=robh+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=horms@verge.net.au \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mark.rutland@arm.com \
--cc=ykaneko0929@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).