Re: [PATCH 09/11] arm64: dts: qcom: sm8250: align RPMh regulator nodes with bindings

From: Konrad Dybcio
Date: Fri Jan 27 2023 - 07:04:09 EST




On 27.01.2023 12:43, Krzysztof Kozlowski wrote:
> Device node names should be generic and bindings expect certain pattern
> for RPMh regulator nodes.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 6 +++---
> arch/arm64/boot/dts/qcom/sm8250-hdk.dts | 6 +++---
> arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 6 +++---
> arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 6 +++---
> 4 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> index 8c64cb060e21..e96aa5ccb679 100644
> --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
> @@ -238,7 +238,7 @@ &adsp {
> };
>
> &apps_rsc {
> - pm8009-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8009-1-rpmh-regulators";
> qcom,pmic-id = "f";
>
> @@ -284,7 +284,7 @@ vreg_l7f_1p8: ldo7 {
> };
> };
>
> - pm8150-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8150-rpmh-regulators";
> qcom,pmic-id = "a";
>
> @@ -417,7 +417,7 @@ vreg_s6a_0p95: smps6 {
> };
> };
>
> - pm8150l-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8150l-rpmh-regulators";
> qcom,pmic-id = "c";
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250-hdk.dts b/arch/arm64/boot/dts/qcom/sm8250-hdk.dts
> index 632e98193d27..0aee7f8658b4 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250-hdk.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8250-hdk.dts
> @@ -65,7 +65,7 @@ key-vol-up {
> };
>
> &apps_rsc {
> - pm8150-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8150-rpmh-regulators";
> qcom,pmic-id = "a";
>
> @@ -199,7 +199,7 @@ vreg_l18a_0p92: ldo18 {
> };
> };
>
> - pm8150l-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8150l-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -310,7 +310,7 @@ vreg_l11c_3p3: ldo11 {
> };
> };
>
> - pm8009-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8009-rpmh-regulators";
> qcom,pmic-id = "f";
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> index 0991b34a8e49..0de8f2320b01 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts
> @@ -187,7 +187,7 @@ &adsp {
> };
>
> &apps_rsc {
> - pm8150-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8150-rpmh-regulators";
> qcom,pmic-id = "a";
>
> @@ -321,7 +321,7 @@ vreg_l18a_0p9: ldo18 {
> };
> };
>
> - pm8150l-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8150l-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -432,7 +432,7 @@ vreg_l11c_3p3: ldo11 {
> };
> };
>
> - pm8009-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8009-rpmh-regulators";
> qcom,pmic-id = "f";
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
> index e76d0ef5aec9..b9c982a059df 100644
> --- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
> @@ -123,7 +123,7 @@ &adsp {
> };
>
> &apps_rsc {
> - pm8150-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8150-rpmh-regulators";
> qcom,pmic-id = "a";
>
> @@ -247,7 +247,7 @@ vreg_l18a_0p9: ldo18 {
> * ab: 4600000-6100000
> * ibb: 800000-5400000
> */
> - pm8150l-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8150l-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -360,7 +360,7 @@ vreg_l11c_3p0: ldo11 {
> };
> };
>
> - pm8009-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8009-rpmh-regulators";
> qcom,pmic-id = "f";
>