[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241108-deuce-skimpily-a1d2149edd64@spud>
Date: Fri, 8 Nov 2024 17:47:59 +0000
From: Conor Dooley <conor@...nel.org>
To: Marco Felsch <m.felsch@...gutronix.de>
Cc: Frank Li <Frank.Li@....com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, devicetree@...r.kernel.org,
imx@...ts.linux.dev, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 1/3] dt-bindings: trivial-devices: Add NXP P3T1085UK
I3C/I2C temperature sensor
On Fri, Nov 08, 2024 at 09:45:47AM +0100, Marco Felsch wrote:
> On 24-11-07, Frank Li wrote:
> > P3T1085UK is a temperature-to-digital converter with a -40 °C to +125 °C
> > range. The device can be communicated by a controller via the 2-wire serial
> > I3C (up to 12.5 MHz) and I2C (up to 3.4 MHz) interface.
> >
> > Add it to trivial-devices.yaml because only one 'reg' and 'interrupts'
> > needs.
> >
> > Signed-off-by: Frank Li <Frank.Li@....com>
> > ---
> > Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
> > index 6ecd6432b021b..361943b3d73bc 100644
> > --- a/Documentation/devicetree/bindings/trivial-devices.yaml
> > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml
> > @@ -301,6 +301,8 @@ properties:
> > - national,lm92
> > # Nuvoton Temperature Sensor
> > - nuvoton,w83773g
> > + # NXP I2C/I3C Temperature Sensor (-40 °C to +125 °C)
> > + - nxp,p3t1085
>
> The description of this binding says:
>
> "This is a list of trivial I2C and SPI devices ..."
>
> but you add a I2C and I3C device.
>
> Also I really like to see that you add a "power-supply" property which
> is most the time missing for such simple devices but always required.
Aye, the done thing in iio land is to make the supplies required too.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists