[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250512125941.GA2952373-robh@kernel.org>
Date: Mon, 12 May 2025 07:59:41 -0500
From: Rob Herring <robh@...nel.org>
To: Conor Dooley <conor@...nel.org>
Cc: Jonathan Santos <Jonathan.Santos@...log.com>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, andy@...nel.org, nuno.sa@...log.com,
Michael.Hennerich@...log.com, marcelo.schmitt@...log.com,
jic23@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
marcelo.schmitt1@...il.com, linus.walleij@...aro.org, brgl@...ev.pl,
lgirdwood@...il.com, broonie@...nel.org, jonath4nns@...il.com,
dlechner@...libre.com, David Lechner <dlechner@...lirbe.com>
Subject: Re: [PATCH v7 03/12] dt-bindings: iio: adc: ad7768-1: add
trigger-sources property
On Fri, May 09, 2025 at 05:18:55PM +0100, Conor Dooley wrote:
> On Thu, May 08, 2025 at 02:03:30PM -0300, Jonathan Santos wrote:
> > +dependencies:
> > + adi,sync-in-gpios:
> > + not:
> > + required:
> > + - trigger-sources
> > + trigger-sources:
> > + not:
> > + required:
> > + - adi,sync-in-gpios
>
> Actually, this is normally not written like this. Usually it is done as
> an allOf entry:
> - if:
> required:
> - maxim,gpio-poc
> then:
> properties:
> poc-supply: false
> gpio-controller: false
Using 'dependencies' is fine here. It's actually shorter.
Rob
Powered by blists - more mailing lists