Commit 4bddb0cd authored by Johan Hovold's avatar Johan Hovold Committed by Daniel Lezcano

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: default avatarJohan Hovold <johan+linaro@kernel.org>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20231130174114.13122-3-johan+linaro@kernel.org
parent 7ec597ba
...@@ -118,9 +118,10 @@ examples: ...@@ -118,9 +118,10 @@ examples:
pmic { pmic {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pm8998_adc: adc@3100 { pm8998_adc: adc@3100 {
reg = <0x3100>;
compatible = "qcom,spmi-adc-rev2"; compatible = "qcom,spmi-adc-rev2";
reg = <0x3100>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
...@@ -131,7 +132,7 @@ examples: ...@@ -131,7 +132,7 @@ examples:
}; };
}; };
pm8998_adc_tm: adc-tm@3400 { adc-tm@3400 {
compatible = "qcom,spmi-adc-tm-hc"; compatible = "qcom,spmi-adc-tm-hc";
reg = <0x3400>; reg = <0x3400>;
interrupts = <0x2 0x34 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x2 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
......
...@@ -171,9 +171,10 @@ examples: ...@@ -171,9 +171,10 @@ examples:
pmic { pmic {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pm8150b_adc: adc@3100 { pm8150b_adc: adc@3100 {
reg = <0x3100>;
compatible = "qcom,spmi-adc5"; compatible = "qcom,spmi-adc5";
reg = <0x3100>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
...@@ -187,7 +188,7 @@ examples: ...@@ -187,7 +188,7 @@ examples:
}; };
}; };
pm8150b_adc_tm: adc-tm@3500 { adc-tm@3500 {
compatible = "qcom,spmi-adc-tm5"; compatible = "qcom,spmi-adc-tm5";
reg = <0x3500>; reg = <0x3500>;
interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
...@@ -212,9 +213,10 @@ examples: ...@@ -212,9 +213,10 @@ examples:
pmic { pmic {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pmk8350_vadc: adc@3100 { pmk8350_vadc: adc@3100 {
reg = <0x3100>;
compatible = "qcom,spmi-adc7"; compatible = "qcom,spmi-adc7";
reg = <0x3100>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
...@@ -235,7 +237,7 @@ examples: ...@@ -235,7 +237,7 @@ examples:
}; };
}; };
pmk8350_adc_tm: adc-tm@3400 { adc-tm@3400 {
compatible = "qcom,spmi-adc-tm5-gen2"; compatible = "qcom,spmi-adc-tm5-gen2";
reg = <0x3400>; reg = <0x3400>;
interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment