2021-08-04 13:47:14

by Thara Gopinath

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sm8150: Fix incorrect cpu opp table entry

CPU0 frequency 768MHz is wrongly modeled as 576000000 hz in
cpu0_opp_table. Use the correct value 768000000 hz.

Signed-off-by: Thara Gopinath <[email protected]>
---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index cbf0d8d7d76d..5e6471e5e2fc 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -319,7 +319,7 @@ cpu0_opp5: opp-672000000 {
};

cpu0_opp6: opp-768000000 {
- opp-hz = /bits/ 64 <576000000>;
+ opp-hz = /bits/ 64 <768000000>;
opp-peak-kBps = <1804000 19660800>;
};

--
2.25.1


2021-08-04 21:48:38

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sm8150: Fix incorrect cpu opp table entry


On 04.08.2021 15:28, Thara Gopinath wrote:
> CPU0 frequency 768MHz is wrongly modeled as 576000000 hz in
> cpu0_opp_table. Use the correct value 768000000 hz.
>
> Signed-off-by: Thara Gopinath <[email protected]>

Reviewed-by: Konrad Dybcio <[email protected]>


> ---
> arch/arm64/boot/dts/qcom/sm8150.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index cbf0d8d7d76d..5e6471e5e2fc 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -319,7 +319,7 @@ cpu0_opp5: opp-672000000 {
> };
>
> cpu0_opp6: opp-768000000 {
> - opp-hz = /bits/ 64 <576000000>;
> + opp-hz = /bits/ 64 <768000000>;
> opp-peak-kBps = <1804000 19660800>;
> };
>
>