Message ID | 20241110140019.3426181-2-amadeus@jmu.edu.cn |
---|---|
State | Superseded |
Headers | show |
Series | [v4,1/4] arm64: dts: qcom: ipq6018: add 1.2GHz CPU Frequency | expand |
On 10.11.2024 3:00 PM, Chukun Pan wrote: > The final version of IPQ6000 (SoC id: IPQ6000, SBL version: > BOOT.XF.0.3-00086-IPQ60xxLZB-1) has a max design frequency > of 1.2GHz, so add this CPU frequency. > > Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> > --- I can't find anything to support that. Maybe Sricharan can help out here. Konrad
Hi, > I can't find anything to support that. > > Maybe Sricharan can help out here. https://lore.kernel.org/lkml/4a11d946-3c32-42fd-959b-32e61cc61ab5@quicinc.com/ Based on the instructions in the link above, is there anything else I need to do? Thanks, Chukun
On 22.12.2024 6:20 AM, Chukun Pan wrote: > Hi, >> I can't find anything to support that. >> >> Maybe Sricharan can help out here. > > https://lore.kernel.org/lkml/4a11d946-3c32-42fd-959b-32e61cc61ab5@quicinc.com/ > Based on the instructions in the link above, is there anything else I need to do? I think Kathiravan only wanted to make sure you have the latest bootloader. Looking at the documentation, I don't see a 1.2 GHz frequency level for this platform. Konrad
On 24.12.2024 8:00 AM, Chukun Pan wrote: > Hi, >> I think Kathiravan only wanted to make sure you have the latest bootloader. >> >> Looking at the documentation, I don't see a 1.2 GHz frequency level for >> this platform. > > But from the merchant's publicity, ipq6000 is 1.2GHz: > > https://wikidevi.wi-cat.ru/Qualcomm/IPQ6000 > https://www.gl-inet.com/products/gl-ax1800 (CPU Part) > https://www.alldatasheet.com/datasheet-pdf/pdf/1246071/COMPEX/AP.CP03.html Could you try to boot the BSP software and read out the related registers to determine the real CPU frequency? Or perhaps, if there's a cpufreq driver (I don't know), check syfs Konrad
diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index dbf6716bcb59..57ad6f0e6e34 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>;
The final version of IPQ6000 (SoC id: IPQ6000, SBL version: BOOT.XF.0.3-00086-IPQ60xxLZB-1) has a max design frequency of 1.2GHz, so add this CPU frequency. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)