Skip to content

Commit 4bddb0c

Browse files
jhovolddlezcano
authored andcommitted
dt-bindings: thermal: qcom-spmi-adc-tm5/hc: Clean up examples
Clean up the examples by adding newline separators, moving 'reg' properties after 'compatible' and dropping unused labels. Signed-off-by: Johan Hovold <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7ec597b commit 4bddb0c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ examples:
118118
pmic {
119119
#address-cells = <1>;
120120
#size-cells = <0>;
121+
121122
pm8998_adc: adc@3100 {
122-
reg = <0x3100>;
123123
compatible = "qcom,spmi-adc-rev2";
124+
reg = <0x3100>;
124125
#address-cells = <1>;
125126
#size-cells = <0>;
126127
#io-channel-cells = <1>;
@@ -131,7 +132,7 @@ examples:
131132
};
132133
};
133134
134-
pm8998_adc_tm: adc-tm@3400 {
135+
adc-tm@3400 {
135136
compatible = "qcom,spmi-adc-tm-hc";
136137
reg = <0x3400>;
137138
interrupts = <0x2 0x34 0x0 IRQ_TYPE_EDGE_RISING>;

Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ examples:
171171
pmic {
172172
#address-cells = <1>;
173173
#size-cells = <0>;
174+
174175
pm8150b_adc: adc@3100 {
175-
reg = <0x3100>;
176176
compatible = "qcom,spmi-adc5";
177+
reg = <0x3100>;
177178
#address-cells = <1>;
178179
#size-cells = <0>;
179180
#io-channel-cells = <1>;
@@ -187,7 +188,7 @@ examples:
187188
};
188189
};
189190
190-
pm8150b_adc_tm: adc-tm@3500 {
191+
adc-tm@3500 {
191192
compatible = "qcom,spmi-adc-tm5";
192193
reg = <0x3500>;
193194
interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
@@ -212,9 +213,10 @@ examples:
212213
pmic {
213214
#address-cells = <1>;
214215
#size-cells = <0>;
216+
215217
pmk8350_vadc: adc@3100 {
216-
reg = <0x3100>;
217218
compatible = "qcom,spmi-adc7";
219+
reg = <0x3100>;
218220
#address-cells = <1>;
219221
#size-cells = <0>;
220222
#io-channel-cells = <1>;
@@ -235,7 +237,7 @@ examples:
235237
};
236238
};
237239
238-
pmk8350_adc_tm: adc-tm@3400 {
240+
adc-tm@3400 {
239241
compatible = "qcom,spmi-adc-tm5-gen2";
240242
reg = <0x3400>;
241243
interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;

0 commit comments

Comments
 (0)