Re: [PATCH v2 2/3] dt-bindings: trivial-devices: Add National lm77 temperature sensor
From: Krzysztof Kozlowski
Date: Fri Nov 13 2026 - 09:34:04 EST
On 13/11/2026 13:22, Łukasz Majewski wrote:
> 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).
Can be a new binding file, "national,lm77.yaml". Indeed it looks like it
has two lines, unlike 75 variant.
Best regards,
Krzysztof