dt-bindings: hwmon: ti,tmp401: add #thermal-sensor-cells

Since commit a3b61ba255 ("hwmon: (tmp401) register with thermal
subsystem") the driver sets HWMON_C_REGISTER_TZ, so the hwmon core calls
devm_thermal_of_zone_register() for every temperature channel and the
device can be referenced as a thermal sensor.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260902-for-upstream-dt-tmp401-vcc-tsc-v3-1-49c484d2f08b@free.fr
[groeck: Reformatted patch descriptiuon]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Vincent Jardin 2026-09-02 03:54:00 +02:00 committed by Guenter Roeck
parent b67f60ae9b
commit cae6788d2e

View File

@ -50,6 +50,9 @@ properties:
minimum: 0
maximum: 15
"#thermal-sensor-cells":
const: 1
allOf:
- if:
properties: