Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: thermal: Use generic ADC node name in examples

Update the examples to reflect a future requirement for the generic
`channel` node name on ADC channel nodes, while conveying the board name
of the channel in a label instead.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230410202917.247666-4-marijn.suijten@somainline.org

authored by

Marijn Suijten and committed by
Daniel Lezcano
d9f7eeaf a8a23307

+8 -5
+2 -2
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml
··· 124 124 #size-cells = <0>; 125 125 #io-channel-cells = <1>; 126 126 127 - /* Other propreties are omitted */ 128 - adc-chan@4c { 127 + /* Other properties are omitted */ 128 + channel@4c { 129 129 reg = <ADC5_XO_THERM_100K_PU>; 130 130 }; 131 131 };
+6 -3
Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml
··· 178 178 #io-channel-cells = <1>; 179 179 180 180 /* Other properties are omitted */ 181 - conn-therm@4f { 181 + channel@4f { 182 182 reg = <ADC5_AMUX_THM3_100K_PU>; 183 183 qcom,ratiometric; 184 184 qcom,hw-settle-time = <200>; 185 + label = "conn_therm"; 185 186 }; 186 187 }; 187 188 ··· 218 217 #io-channel-cells = <1>; 219 218 220 219 /* Other properties are omitted */ 221 - xo-therm@44 { 220 + channel@44 { 222 221 reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; 223 222 qcom,ratiometric; 224 223 qcom,hw-settle-time = <200>; 224 + label = "xo_therm"; 225 225 }; 226 226 227 - conn-therm@147 { 227 + channel@147 { 228 228 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>; 229 229 qcom,ratiometric; 230 230 qcom,hw-settle-time = <200>; 231 + label = "conn_therm"; 231 232 }; 232 233 }; 233 234