2024-03-25 17:14:17

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: [PATCH v2 0/3] Add support for the IPQ5321 SoC

IPQ5321 SoC belong to IPQ5332 family. Add the SoC ID and the cpufreq
support. Maximum cpufreq for IPQ5321 is 1.1GHZ, which is determined
based on the eFuse.

Viresh is okay to merge the cpufreq change via qcom tree[1] and provided
his Ack.

[1]
https://lore.kernel.org/linux-arm-msm/20240306053200.6iwrviltwt3pnfnt@vireshk-i7/

Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
---
Changes in v2:
- rebase on next-20240325
- pick up the tags
- Link to v1:
https://lore.kernel.org/linux-arm-msm/[email protected]/

---
Kathiravan Thirumoorthy (3):
dt-bindings: arm: qcom,ids: Add SoC ID for IPQ5321
soc: qcom: socinfo: Add SoC ID for IPQ5321
cpufreq: qcom-nvmem: add support for IPQ5321

drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 +
drivers/soc/qcom/socinfo.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 1 +
3 files changed, 3 insertions(+)
---
base-commit: 1fdad13606e104ff103ca19d2d660830cb36d43e
change-id: 20240228-ipq5321-sku-support-bd07056d5e01

Best regards,
--
Kathiravan Thirumoorthy <[email protected]>



2024-03-25 17:14:54

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: [PATCH v2 3/3] cpufreq: qcom-nvmem: add support for IPQ5321

Like all other SoCs in IPQ5332 family, cpufreq for IPQ5321 is also
determined by the eFuse, with the maximum limit of 1.1GHz. Add support
for the same.

Acked-by: Viresh Kumar <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
---
drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c
index ea05d9d67490..0a46b5d49d32 100644
--- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
+++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
@@ -191,6 +191,7 @@ static int qcom_cpufreq_kryo_name_version(struct device *cpu_dev,
case QCOM_ID_IPQ5312:
case QCOM_ID_IPQ5302:
case QCOM_ID_IPQ5300:
+ case QCOM_ID_IPQ5321:
case QCOM_ID_IPQ9514:
case QCOM_ID_IPQ9550:
case QCOM_ID_IPQ9554:

--
2.34.1


2024-03-25 17:31:14

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: [PATCH v2 2/3] soc: qcom: socinfo: Add SoC ID for IPQ5321

Add the SoC ID for IPQ5321, which belong to the family of IPQ5332 SoC.

Reviewed-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
---
drivers/soc/qcom/socinfo.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 277c07a6603d..287139f0cb1c 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -445,6 +445,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(QCS8550) },
{ qcom_board_id(QCM8550) },
{ qcom_board_id(IPQ5300) },
+ { qcom_board_id(IPQ5321) },
};

static const char *socinfo_machine(struct device *dev, unsigned int id)

--
2.34.1


2024-03-25 21:35:05

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: [PATCH v2 1/3] dt-bindings: arm: qcom,ids: Add SoC ID for IPQ5321

Add the ID for the Qualcomm IPQ5321 SoC.

Acked-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
---
include/dt-bindings/arm/qcom,ids.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index d040033dc8ee..a2958952a9ec 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -272,6 +272,7 @@
#define QCOM_ID_QCS8550 603
#define QCOM_ID_QCM8550 604
#define QCOM_ID_IPQ5300 624
+#define QCOM_ID_IPQ5321 650

/*
* The board type and revision information, used by Qualcomm bootloaders and

--
2.34.1


2024-04-06 14:49:07

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: Re: [PATCH v2 0/3] Add support for the IPQ5321 SoC



On 3/25/2024 9:19 PM, Kathiravan Thirumoorthy wrote:
> IPQ5321 SoC belong to IPQ5332 family. Add the SoC ID and the cpufreq
> support. Maximum cpufreq for IPQ5321 is 1.1GHZ, which is determined
> based on the eFuse.
>
> Viresh is okay to merge the cpufreq change via qcom tree[1] and provided
> his Ack.
>
> [1]
> https://lore.kernel.org/linux-arm-msm/20240306053200.6iwrviltwt3pnfnt@vireshk-i7/


Gentle Reminder...

>
> Signed-off-by: Kathiravan Thirumoorthy <[email protected]>
> ---
> Changes in v2:
> - rebase on next-20240325
> - pick up the tags
> - Link to v1:
> https://lore.kernel.org/linux-arm-msm/[email protected]/
>
> ---
> Kathiravan Thirumoorthy (3):
> dt-bindings: arm: qcom,ids: Add SoC ID for IPQ5321
> soc: qcom: socinfo: Add SoC ID for IPQ5321
> cpufreq: qcom-nvmem: add support for IPQ5321
>
> drivers/cpufreq/qcom-cpufreq-nvmem.c | 1 +
> drivers/soc/qcom/socinfo.c | 1 +
> include/dt-bindings/arm/qcom,ids.h | 1 +
> 3 files changed, 3 insertions(+)
> ---
> base-commit: 1fdad13606e104ff103ca19d2d660830cb36d43e
> change-id: 20240228-ipq5321-sku-support-bd07056d5e01
>
> Best regards,