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

From: Konrad Dybcio
Date: Fri Jan 27 2023 - 07:12:49 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/sm8450-hdk.dts | 8 ++++----
> arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 8 ++++----
> arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi | 8 ++++----
> 3 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> index 5bdc2c1159ae..feef3837e4cd 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> @@ -99,7 +99,7 @@ vph_pwr: vph-pwr-regulator {
> };
>
> &apps_rsc {
> - pm8350-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8350-rpmh-regulators";
> qcom,pmic-id = "b";
>
> @@ -190,7 +190,7 @@ vreg_l9b_1p2: ldo9 {
> };
> };
>
> - pm8350c-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8350c-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -303,7 +303,7 @@ vreg_l13c_3p0: ldo13 {
> };
> };
>
> - pm8450-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8450-rpmh-regulators";
> qcom,pmic-id = "h";
>
> @@ -346,7 +346,7 @@ vreg_l3h_0p91: ldo3 {
>
> };
>
> - pmr735a-rpmh-regulators {
> + regulators-3 {
> compatible = "qcom,pmr735a-rpmh-regulators";
> qcom,pmic-id = "e";
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
> index 134ffdfc2c63..f7592946c783 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
> @@ -39,7 +39,7 @@ vph_pwr: vph-pwr-regulator {
> };
>
> &apps_rsc {
> - pm8350-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8350-rpmh-regulators";
> qcom,pmic-id = "b";
>
> @@ -130,7 +130,7 @@ vreg_l9b_1p2: ldo9 {
> };
> };
>
> - pm8350c-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8350c-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -242,7 +242,7 @@ vreg_l13c_3p0: ldo13 {
> };
> };
>
> - pm8450-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8450-rpmh-regulators";
> qcom,pmic-id = "h";
>
> @@ -285,7 +285,7 @@ vreg_l3h_0p91: ldo3 {
>
> };
>
> - pmr735a-rpmh-regulators {
> + regulators-3 {
> compatible = "qcom,pmr735a-rpmh-regulators";
> qcom,pmic-id = "e";
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi
> index 53d0ee2dbfa9..5be52468489b 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi
> @@ -116,7 +116,7 @@ vph_pwr: vph-pwr-regulator {
> };
>
> &apps_rsc {
> - pm8350-rpmh-regulators {
> + regulators-0 {
> compatible = "qcom,pm8350-rpmh-regulators";
> qcom,pmic-id = "b";
>
> @@ -212,7 +212,7 @@ pm8350_l9: ldo9 {
> };
> };
>
> - pm8350c-rpmh-regulators {
> + regulators-1 {
> compatible = "qcom,pm8350c-rpmh-regulators";
> qcom,pmic-id = "c";
>
> @@ -348,7 +348,7 @@ pm8350c_l13: ldo13 {
> };
> };
>
> - pm8450-rpmh-regulators {
> + regulators-2 {
> compatible = "qcom,pm8450-rpmh-regulators";
> qcom,pmic-id = "h";
>
> @@ -392,7 +392,7 @@ pm8450_l3: ldo3 {
> };
> };
>
> - pmr735a-rpmh-regulators {
> + regulators-3 {
> compatible = "qcom,pmr735a-rpmh-regulators";
> qcom,pmic-id = "e";
>