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(+)
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>;
--
2.25.1
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 -- 2.25.1
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
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 Thanks, Chukun -- 2.25.1
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
Hi, > 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 1. The CPU frequency on OEM firmware is 1.2GHz. 2. The CPU frequency on the BSP kernel is 1.2GHz. Related commit on the BSP kernel: https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/commit/7336e62905941d8137176b911410d1cea25d6336 Thanks, Chukun -- 2.25.1
On 3.01.2025 4:00 AM, Chukun Pan wrote: > Hi, >> 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 > > 1. The CPU frequency on OEM firmware is 1.2GHz. > 2. The CPU frequency on the BSP kernel is 1.2GHz. > > Related commit on the BSP kernel: > https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/commit/7336e62905941d8137176b911410d1cea25d6336 Ok, thank you for providing this Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
© 2016 - 2025 Red Hat, Inc.