[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZYMjhfAbWfw9vUdd@sunspire>
Date: Wed, 20 Dec 2023 19:25:25 +0200
From: Petre Rodan <petre.rodan@...dimension.ro>
To: Jonathan Cameron <jic23@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, Conor Dooley <conor+dt@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH 1/2] dt-bindings: iio: pressure: honeywell,mprls0025pa
hi Jonathan,
On Wed, Dec 20, 2023 at 03:16:45PM +0000, Jonathan Cameron wrote:
> On Tue, 19 Dec 2023 15:02:20 +0200
> Petre Rodan <petre.rodan@...dimension.ro> wrote:
> > honeywell,pmin-pascal:
> > description:
> > Minimum pressure value the sensor can measure in pascal.
> > + To be specified only if honeywell,pressure-triplet is set to "NA".
> That just added a backwards compatibility break. It would be fine
> if there was a default: NA for honeywell,pressure-triplet or a check that either
> one or the other was supplied (which I'd prefer). Thus old bindings will work
> and new ones also supported.
ok, I see your reasoning. but in this second scenario that you prefer how can we
propery define the 'required:' block? an equivalent to
required:
- compatible
- reg
- (honeywell,pmin-pascal && honeywell,pmax-pascal) || honeywell,pressure-triplet
- honeywell,transfer-function
thanks,
peter
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists