Re: [PATCH v2] dt-bindings: hwmon: ti,tmp401: add #thermal-sensor-cells
From: Guenter Roeck
Date: Wed Sep 02 2026 - 09:37:47 EST
On 8/28/26 03:02, Krzysztof Kozlowski wrote:
On Tue, Aug 25, 2026 at 12:13:18AM +0200, Vincent Jardin wrote:
The property is missing, so a board that uses it with a thermal zone fails
with dtbs_check:
tmp411@4c (ti,tmp411): '#thermal-sensor-cells' does not match any of the
Cannot find such node.
How can I reproduce this warning? If it is non-reproducible, then it is
not a valid reason for a change and instead driver implementing thermal
sensor would be the proper reason.
The driver does register thermal zones. Since #thermal-sensor-cells is
mandatory for using it, I would think that the property is needed.
However, not all chips supported by the driver (and this bindings file)
have more than one channel, so I suspect that the value range might
need to be "enum: [0, 1]".
Thanks,
Guenter