]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sc7280-idp: correct ADC channel node name and unit address
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 28 Aug 2022 08:43:38 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Oct 2022 10:39:17 +0000 (12:39 +0200)
[ Upstream commit 5589ffb2da2a66988ab3a68334dad3e68b42e3a9 ]

Correct SPMI PMIC VADC channel node name:
1. Use hyphens instead of underscores,
2. Add missing unit address.

This fixes `make dtbs_check` warnings like:

  qcom/sc7280-idp.dtb: pmic@0: adc@3100: 'pmk8350_die_temp', 'pmr735a_die_temp' do not match any of the regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220828084341.112146-12-krzysztof.kozlowski@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc7280-idp.dts
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi

index 6d3ff80582ae96e6e3439bb79baac04eef64b2f0..e2e37a0292ad693a9789ee5615d320a5d26a1522 100644 (file)
@@ -78,7 +78,7 @@
 };
 
 &pmk8350_vadc {
-       pmr735a_die_temp {
+       pmr735a-die-temp@403 {
                reg = <PMR735A_ADC7_DIE_TEMP>;
                label = "pmr735a_die_temp";
                qcom,pre-scaling = <1 1>;
index a74e0b730db613e217bdc380b283b410c2f8baf8..27c47ddbdf02d854bc4f54f89acad02d72e9264f 100644 (file)
 };
 
 &pmk8350_vadc {
-       pmk8350_die_temp {
+       pmk8350-die-temp@3 {
                reg = <PMK8350_ADC7_DIE_TEMP>;
                label = "pmk8350_die_temp";
                qcom,pre-scaling = <1 1>;