arm64: dts: qcom: sc8180x: use generic ADC channel node names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 17 Jun 2023 17:15:36 +0000 (19:15 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:26:41 +0000 (21:26 -0700)
ADC channel node names were changed to require generic 'channel'.  The
user-visible part is defined via label.

  sc8180x-lenovo-flex-5g.dtb: adc@3100: 'die-temp@6', 'ref-gnd@0', 'vref-1p25@1' do not match any of the regexes: '^channel@[0-9a-f]+$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230617171541.286957-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi

index 8247af0..4556af6 100644 (file)
                        #io-channel-cells = <1>;
                        interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 
-                       ref-gnd@0 {
+                       channel@0 {
                                reg = <ADC5_REF_GND>;
                                qcom,pre-scaling = <1 1>;
                                label = "ref_gnd";
                        };
 
-                       vref-1p25@1 {
+                       channel@1 {
                                reg = <ADC5_1P25VREF>;
                                qcom,pre-scaling = <1 1>;
                                label = "vref_1p25";
                        };
 
-                       die-temp@6 {
+                       channel@6 {
                                reg = <ADC5_DIE_TEMP>;
                                qcom,pre-scaling = <1 1>;
                                label = "die_temp";
                        #io-channel-cells = <1>;
                        interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 
-                       ref-gnd@0 {
+                       channel@0 {
                                reg = <ADC5_REF_GND>;
                                qcom,pre-scaling = <1 1>;
                                label = "ref_gnd";
                        };
 
-                       vref-1p25@1 {
+                       channel@1 {
                                reg = <ADC5_1P25VREF>;
                                qcom,pre-scaling = <1 1>;
                                label = "vref_1p25";
                        };
 
-                       vcoin@85 {
+                       channel@85 {
                                reg = <0x85>;
                                qcom,pre-scaling = <1 1>;
                                label = "vcoin2";
                        #io-channel-cells = <1>;
                        interrupts = <0xa 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 
-                       ref-gnd@0 {
+                       channel@0 {
                                reg = <ADC5_REF_GND>;
                                qcom,pre-scaling = <1 1>;
                                label = "ref_gnd";
                        };
 
-                       vref-1p25@1 {
+                       channel@1 {
                                reg = <ADC5_1P25VREF>;
                                qcom,pre-scaling = <1 1>;
                                label = "vref_1p25";
                        };
 
-                       vcoin@85 {
+                       channel@85 {
                                reg = <0x85>;
                                qcom,pre-scaling = <1 1>;
                                label = "vcoin";
                        #io-channel-cells = <1>;
                        interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
 
-                       ref-gnd@0 {
+                       channel@0 {
                                reg = <ADC5_REF_GND>;
                                qcom,pre-scaling = <1 1>;
                                label = "ref_gnd";
                        };
 
-                       vref-1p25@1 {
+                       channel@1 {
                                reg = <ADC5_1P25VREF>;
                                qcom,pre-scaling = <1 1>;
                                label = "vref_1p25";
                        };
 
-                       die-temp@6 {
+                       channel@6 {
                                reg = <ADC5_DIE_TEMP>;
                                qcom,pre-scaling = <1 1>;
                                label = "die_temp";