[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250217141808.314c2b83@jic23-huawei>
Date: Mon, 17 Feb 2025 14:18:08 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Svyatoslav Ryhel <clamor95@...il.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Thierry Reding <thierry.reding@...il.com>, Jonathan
Hunter <jonathanh@...dia.com>, Javier Carrasco
<javier.carrasco.cruz@...il.com>, Matti Vaittinen
<mazziesaccount@...il.com>, Andy Shevchenko
<andriy.shevchenko@...ux.intel.com>, Emil Gedenryd
<emil.gedenryd@...s.com>, Arthur Becker <arthur.becker@...tec.com>, Mudit
Sharma <muditsharma.info@...il.com>, Per-Daniel Olsson
<perdaniel.olsson@...s.com>, Subhajit Ghosh
<subhajit.ghosh@...aklogic.com>, Ivan Orlov <ivan.orlov0322@...il.com>,
David Heidelberg <david@...t.cz>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH v2 1/3] dt-bindings: iio: light: al3010: add al3000a
support
On Sun, 16 Feb 2025 16:44:58 +0200
Svyatoslav Ryhel <clamor95@...il.com> wrote:
> нд, 16 лют. 2025 р. о 16:42 Jonathan Cameron <jic23@...nel.org> пише:
> >
> > On Sat, 15 Feb 2025 12:31:57 +0200
> > Svyatoslav Ryhel <clamor95@...il.com> wrote:
> >
> > > AL3000a is an ambient light sensor quite closely related to
> > > exising AL3010 and can reuse exising schema for AL3010.
> > Hi,
> >
> > For a binding like this, also explain how they are different enough that
> > we can't use a fallback compatible.
> >
> > Thanks,
> >
> > Jonathan
> >
>
> Fallback will cause use of inappropriate driver. As I have already
> told, hardware configuration matches but data processing from sensor
> does not.
Absolutely understood. The point is this patch description should
state exactly that. Say something like the register maps are incompatible.
Jonathan
>
> > >
> > > Signed-off-by: Svyatoslav Ryhel <clamor95@...il.com>
> > > ---
> > > .../devicetree/bindings/iio/light/dynaimage,al3010.yaml | 6 ++++--
> > > 1 file changed, 4 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml b/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> > > index a3a979553e32..f1048c30e73e 100644
> > > --- a/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> > > +++ b/Documentation/devicetree/bindings/iio/light/dynaimage,al3010.yaml
> > > @@ -4,14 +4,16 @@
> > > $id: http://devicetree.org/schemas/iio/light/dynaimage,al3010.yaml#
> > > $schema: http://devicetree.org/meta-schemas/core.yaml#
> > >
> > > -title: Dyna-Image AL3010 sensor
> > > +title: Dyna-Image AL3000a/AL3010 sensor
> > >
> > > maintainers:
> > > - David Heidelberg <david@...t.cz>
> > >
> > > properties:
> > > compatible:
> > > - const: dynaimage,al3010
> > > + enum:
> > > + - dynaimage,al3000a
> > > + - dynaimage,al3010
> > >
> > > reg:
> > > maxItems: 1
> >
>
Powered by blists - more mailing lists