Re: [PATCH] dt-bindings: thermal: Drop thermal zone node name length limit
From: Krzysztof Kozlowski
Date: Wed Oct 28 2026 - 14:05:28 EST
On 28/10/2026 17:07, Daniel Lezcano wrote:
> On 10/28/26 14:00, Krzysztof Kozlowski wrote:
>> On Mon, Oct 26, 2026 at 10:49:56AM +0100, Daniel Lezcano wrote:
>>> Device Tree bindings describe hardware and must remain OS-agnostic.
>>
>> DTS describes hardware. Bindings describe the ABI between hardware and
>> software, so if SW requires something regarding the DTS, should be
>> placed in the binding as well, IMO.
> That's odd, if the Linux kernel changes the thermal zone name length to
> something else, then that impacts the bindings, no ?
>
> I don't see a good reason why the node name must be limited by Linux.
I provided the reason. Why aren't we/you removing all the device subnode
namings coming from of_get_child_by_name() usage? That's purely a Linux
requirement, no?
Best regards,
Krzysztof