Message ID | 20240821101025.858961-2-amadeus@jmu.edu.cn (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | arm64: dts: qcom: ipq6018: rework CPU Frequency | expand |
On Wed, Aug 21, 2024 at 06:10:22PM GMT, Chukun Pan wrote: > Some IPQ6000 SoCs (fused)[1] have CPU frequencies up to 1.2GHz, > so add this frequency. opp-supported-hw is selected for all IPQ6000. Please add more details here. Is 1.2 GHz really to be enabled for all IPQ6000? > > [1] Usually the SBL version is BOOT.XF.0.3-00086-IPQ60xxLZB-1 > > Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> > --- > arch/arm64/boot/dts/qcom/ipq6018.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > index 8edd535a188f..1b584d9aadd1 100644 > --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi > @@ -119,6 +119,13 @@ opp-1056000000 { > clock-latency-ns = <200000>; > }; > > + opp-1200000000 { > + opp-hz = /bits/ 64 <1200000000>; > + opp-microvolt = <850000>; > + opp-supported-hw = <0x4>; > + clock-latency-ns = <200000>; > + }; > + > opp-1320000000 { > opp-hz = /bits/ 64 <1320000000>; > opp-microvolt = <862500>; > -- > 2.25.1 >
> opp-supported-hw is selected for all IPQ6000. Please add more details > here. Is 1.2 GHz really to be enabled for all IPQ6000? The 1.2GHz frequency is available only if the fuse is IPQ6000. I will try to add more details. Thanks, Chukun
On Wed, Sep 11, 2024 at 10:10:25AM GMT, Chukun Pan wrote: > > opp-supported-hw is selected for all IPQ6000. Please add more details > > here. Is 1.2 GHz really to be enabled for all IPQ6000? > > The 1.2GHz frequency is available only if the fuse is IPQ6000. > I will try to add more details. You can respond here and post new iteration once we settle on something. > > Thanks, > Chukun > > -- > 2.25.1 >
diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 8edd535a188f..1b584d9aadd1 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -119,6 +119,13 @@ opp-1056000000 { clock-latency-ns = <200000>; }; + opp-1200000000 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <850000>; + opp-supported-hw = <0x4>; + clock-latency-ns = <200000>; + }; + opp-1320000000 { opp-hz = /bits/ 64 <1320000000>; opp-microvolt = <862500>;
Some IPQ6000 SoCs (fused)[1] have CPU frequencies up to 1.2GHz, so add this frequency. [1] Usually the SBL version is BOOT.XF.0.3-00086-IPQ60xxLZB-1 Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)