Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor

From: Łukasz Majewski

Date: Fri Nov 13 2026 - 08:58:21 EST


Hi Krzysztof,

> On 13/11/2026 12:09, Łukasz Majewski wrote:
> > Hi Krzysztof,
> >
> >> On Thu, Nov 12, 2026 at 05:37:02PM +0100, Lukasz Majewski wrote:
> >>> Add "national,lm77" as compatible for the National (now TI) LM77
> >>> digital I2C temperature sensor.
> >>
> >> Are you sure this is a trivial device, not like LM75? No
> >> interrupts, no VS supply? Datasheet disagrees.
> >
> > In my case the T_CRIT_A and INT are not connected on the schematic.
> > Moreover, the V+ is connected to board's 3V3.
>
> But they are there and binding should be complete.
> What's more,
> existing lm75 binding does not require these so there is no issue
> adding to the existing binding file.

Please be aware that internal operation of lm77 is a different than
lm75 and hence it has its own Linux driver.

It seems like I cannot re-use the lm75.yaml and will need to add new
national,lm77.yaml as lm77 has two interrupt outputs for hysteresis
(lm75 has only one interrupt).

>
>
> >
> > Hence, the conclusion that this sensor works as "simple" I2C based
> > temperature sensor.
>
> Only because you posted incomplete binding...
>

I've posted information which is in sync with what I can test and
validate, but I do understand that I shall follow the policy from file:
https://www.kernel.org/doc/Documentation/devicetree/bindings/writing-bindings.txt

> Best regards,
> Krzysztof



--
Best regards,

Lukasz Majewski

--
Nabla Software Engineering GmbH
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office@xxxxxxxxxxxx
Managing Director : Stefano Babic