[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230513195030.57b7939e@jic23-huawei>
Date: Sat, 13 May 2023 19:50:30 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Anup Sharma <anupnewsmail@...il.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Peter Meerwald <pmeerw@...erw.net>, broonie@...nel.org,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: iio: temperature: Add DT bindings for
TMP006
On Fri, 12 May 2023 08:28:29 +0200
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org> wrote:
> On 11/05/2023 21:06, Anup Sharma wrote:
> > On Thu, May 11, 2023 at 11:28:50AM +0200, Krzysztof Kozlowski wrote:
> >> On 10/05/2023 20:56, Anup Sharma wrote:
> >>> Add devicetree binding document for TMP006, IR thermopile sensor.
> >>
> >> Why? Where is any user of this? DTS? Driver?
> >>
> >
> > The support for TMP006 is available at driver/iio/temperature
>
> There is no such compatible in the kernel. If you add OF support, you
> should change the driver.
(Very) old driver, so it uses the fallback method that i2c provides to bind to
the compatible with the vendor id dropped via i2c_device_id entry.
Having said that, I'd also prefer the addition of an explicit of_device_id table.
As there is only one supported device in this driver should be trivial.
Thanks,
Jonathan
>
>
> Best regards,
> Krzysztof
>
Powered by blists - more mailing lists