[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMknhBF56CWKNZ-xvsiaC3c+av8Dvyh+i-op1YxvXv2g8BPYWg@mail.gmail.com>
Date: Mon, 25 Sep 2023 12:47:50 -0500
From: David Lechner <dlechner@...libre.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Nuno Sá <nuno.sa@...log.com>,
Axel Haslam <ahaslam@...libre.com>,
Philip Molloy <pmolloy@...libre.com>,
Apelete Seketeli <aseketeli@...libre.com>
Subject: Re: [PATCH v2 01/19] dt-bindings: iio: resolver: add devicetree
bindings for ad2s1210
On Sun, Sep 24, 2023 at 11:57 AM Jonathan Cameron <jic23@...nel.org> wrote:
>
> On Thu, 21 Sep 2023 09:43:42 -0500
> David Lechner <dlechner@...libre.com> wrote:
>
...
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - spi-cpha
> > + - clocks
> > + - sample-gpios
> > + - assigned-resolution-bits
> > +
> > +oneOf:
> > + - required:
> > + - mode-gpios
> > + - required:
> > + - adi,fixed-mode
> I think this allows for both. It's fiddlier to exclude that but would be a nice
> to have perhaps rather than relying on text above that says 'don't do it'.
>
example-schema.yaml says that oneOf is XOR (anyOf is OR and would
allow both).
Powered by blists - more mailing lists