diff mbox series

[1/2] arm64: dts: qcom: sm8450: Use defines for power domain indices

Message ID 20221115130936.6830-1-konrad.dybcio@linaro.org (mailing list archive)
State Accepted
Commit 3d530a0f4c43d7a31bf723363e4ea2edd883e035
Headers show
Series [1/2] arm64: dts: qcom: sm8450: Use defines for power domain indices | expand

Commit Message

Konrad Dybcio Nov. 15, 2022, 1:09 p.m. UTC
Use the defines from qcom-rpmpd.h instead of bare numbers for
readability.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Dmitry Baryshkov Nov. 16, 2022, 1:44 p.m. UTC | #1
On 15/11/2022 16:09, Konrad Dybcio wrote:
> Use the defines from qcom-rpmpd.h instead of bare numbers for
> readability.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
>   arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Bjorn Andersson Dec. 6, 2022, 6:19 p.m. UTC | #2
On Tue, 15 Nov 2022 14:09:35 +0100, Konrad Dybcio wrote:
> Use the defines from qcom-rpmpd.h instead of bare numbers for
> readability.
> 
> 

Applied, thanks!

[1/2] arm64: dts: qcom: sm8450: Use defines for power domain indices
      commit: 3d530a0f4c43d7a31bf723363e4ea2edd883e035
[2/2] arm64: dts: qcom: sm8150: Use defines for power domain indices
      commit: a94ed9f38e49e7a459725340e630d87e194c814a

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 19a0f5033cc9..705e05588941 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -2277,8 +2277,8 @@  remoteproc_mpss: remoteproc@4080000 {
 			clocks = <&rpmhcc RPMH_CXO_CLK>;
 			clock-names = "xo";
 
-			power-domains = <&rpmhpd 0>,
-					<&rpmhpd 12>;
+			power-domains = <&rpmhpd SM8450_CX>,
+					<&rpmhpd SM8450_MSS>;
 			power-domain-names = "cx", "mss";
 
 			memory-region = <&mpss_mem>;