Message ID | 20221115130936.6830-1-konrad.dybcio@linaro.org |
---|---|
State | Accepted |
Commit | 3d530a0f4c43d7a31bf723363e4ea2edd883e035 |
Headers | show |
Series | [1/2] arm64: dts: qcom: sm8450: Use defines for power domain indices | expand |
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>
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/sm8150.dtsi | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
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 --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>;
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(-)