lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 770/862] arm64: dts: qcom: sc7280-idp: correct ADC channel node name and unit address
    Date
    From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

    [ 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 | 2 +-
    arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
    index 6d3ff80582ae..e2e37a0292ad 100644
    --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts
    +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
    @@ -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>;
    diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
    index a74e0b730db6..27c47ddbdf02 100644
    --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
    +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
    @@ -264,7 +264,7 @@
    };

    &pmk8350_vadc {
    - pmk8350_die_temp {
    + pmk8350-die-temp@3 {
    reg = <PMK8350_ADC7_DIE_TEMP>;
    label = "pmk8350_die_temp";
    qcom,pre-scaling = <1 1>;
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 11:33    [W:3.312 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site