mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
b67f60ae9b
commit
cae6788d2e
|
|
@ -50,6 +50,9 @@ properties:
|
|||
minimum: 0
|
||||
maximum: 15
|
||||
|
||||
"#thermal-sensor-cells":
|
||||
const: 1
|
||||
|
||||
allOf:
|
||||
- if:
|
||||
properties:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user