mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs
@ 2024-10-16 15:15 Manikanta Mylavarapu
  2024-10-16 15:15 ` [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 Manikanta Mylavarapu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Manikanta Mylavarapu @ 2024-10-16 15:15 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel
  Cc: quic_srichara, quic_varada

Add SOC IDs for IPQ5424 and IPQ5404, and add smem, tcsr_mutex nodes
for the socinfo driver probe to execute.

This series depends on the following patches
https://lore.kernel.org/linux-arm-msm/20241004102342.2414317-1-quic_srichara@quicinc.com/
https://lore.kernel.org/linux-arm-msm/20241016144852.2888679-1-quic_mmanikan@quicinc.com/

Manikanta Mylavarapu (3):
  dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404
  soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID
  arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes

 arch/arm64/boot/dts/qcom/ipq5424.dtsi | 14 ++++++++++++++
 drivers/soc/qcom/socinfo.c            |  2 ++
 include/dt-bindings/arm/qcom,ids.h    |  2 ++
 3 files changed, 18 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404
  2024-10-16 15:15 [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Manikanta Mylavarapu
@ 2024-10-16 15:15 ` Manikanta Mylavarapu
  2024-10-17  8:29   ` Krzysztof Kozlowski
  2024-10-16 15:15 ` [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID Manikanta Mylavarapu
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Manikanta Mylavarapu @ 2024-10-16 15:15 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel
  Cc: quic_srichara, quic_varada

Add the ID for Qualcomm IPQ5424/IPQ5404 SoC.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
---
 include/dt-bindings/arm/qcom,ids.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index 8332f8d82f96..b6940f098b49 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -276,6 +276,8 @@
 #define QCOM_ID_QCM8550			604
 #define QCOM_ID_IPQ5300			624
 #define QCOM_ID_IPQ5321			650
+#define QCOM_ID_IPQ5424			651
+#define QCOM_ID_IPQ5404			671
 #define QCOM_ID_QCS8300			674
 #define QCOM_ID_QCS8275			675
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID
  2024-10-16 15:15 [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Manikanta Mylavarapu
  2024-10-16 15:15 ` [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 Manikanta Mylavarapu
@ 2024-10-16 15:15 ` Manikanta Mylavarapu
  2024-10-17  8:29   ` Krzysztof Kozlowski
  2024-10-16 15:15 ` [PATCH 3/3] arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes Manikanta Mylavarapu
  2024-11-06  0:53 ` (subset) [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Bjorn Andersson
  3 siblings, 1 reply; 7+ messages in thread
From: Manikanta Mylavarapu @ 2024-10-16 15:15 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel
  Cc: quic_srichara, quic_varada

Add SoC ID for Qualcomm IPQ5424/IPQ5404.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
---
 drivers/soc/qcom/socinfo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index ecfd3da9d5e8..c297aec752d5 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -443,6 +443,8 @@ static const struct soc_id soc_id[] = {
 	{ qcom_board_id(QCM8550) },
 	{ qcom_board_id(IPQ5300) },
 	{ qcom_board_id(IPQ5321) },
+	{ qcom_board_id(IPQ5424) },
+	{ qcom_board_id(IPQ5404) },
 	{ qcom_board_id(QCS8300) },
 	{ qcom_board_id(QCS8275) },
 };
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 3/3] arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes
  2024-10-16 15:15 [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Manikanta Mylavarapu
  2024-10-16 15:15 ` [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 Manikanta Mylavarapu
  2024-10-16 15:15 ` [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID Manikanta Mylavarapu
@ 2024-10-16 15:15 ` Manikanta Mylavarapu
  2024-11-06  0:53 ` (subset) [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Bjorn Andersson
  3 siblings, 0 replies; 7+ messages in thread
From: Manikanta Mylavarapu @ 2024-10-16 15:15 UTC (permalink / raw)
  To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel
  Cc: quic_srichara, quic_varada

The smem is necessary for the socinfo driver. Additionally
smem requires the tcsr_mutex node. Therefore add both the nodes.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5424.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 76af0d87e9a8..5e219f900412 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -129,6 +129,14 @@ tz@8a600000 {
 			reg = <0x0 0x8a600000 0x0 0x200000>;
 			no-map;
 		};
+
+		smem@8a800000 {
+			compatible = "qcom,smem";
+			reg = <0x0 0x8a800000 0x0 0x32000>;
+			no-map;
+
+			hwlocks = <&tcsr_mutex 3>;
+		};
 	};
 
 	soc@0 {
@@ -170,6 +178,12 @@ gcc: clock-controller@1800000 {
 			#interconnect-cells = <1>;
 		};
 
+		tcsr_mutex: hwlock@1905000 {
+			compatible = "qcom,tcsr-mutex";
+			reg = <0 0x01905000 0 0x20000>;
+			#hwlock-cells = <1>;
+		};
+
 		qupv3: geniqup@1ac0000 {
 			compatible = "qcom,geni-se-qup";
 			reg = <0 0x01ac0000 0 0x2000>;
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404
  2024-10-16 15:15 ` [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 Manikanta Mylavarapu
@ 2024-10-17  8:29   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-17  8:29 UTC (permalink / raw)
  To: Manikanta Mylavarapu
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, quic_srichara, quic_varada

On Wed, Oct 16, 2024 at 08:45:26PM +0530, Manikanta Mylavarapu wrote:
> Add the ID for Qualcomm IPQ5424/IPQ5404 SoC.
> 
> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
> ---
>  include/dt-bindings/arm/qcom,ids.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID
  2024-10-16 15:15 ` [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID Manikanta Mylavarapu
@ 2024-10-17  8:29   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-17  8:29 UTC (permalink / raw)
  To: Manikanta Mylavarapu
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel, quic_srichara, quic_varada

On Wed, Oct 16, 2024 at 08:45:27PM +0530, Manikanta Mylavarapu wrote:
> Add SoC ID for Qualcomm IPQ5424/IPQ5404.
> 
> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
> ---
>  drivers/soc/qcom/socinfo.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: (subset) [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs
  2024-10-16 15:15 [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Manikanta Mylavarapu
                   ` (2 preceding siblings ...)
  2024-10-16 15:15 ` [PATCH 3/3] arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes Manikanta Mylavarapu
@ 2024-11-06  0:53 ` Bjorn Andersson
  3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2024-11-06  0:53 UTC (permalink / raw)
  To: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, Manikanta Mylavarapu
  Cc: quic_srichara, quic_varada


On Wed, 16 Oct 2024 20:45:25 +0530, Manikanta Mylavarapu wrote:
> Add SOC IDs for IPQ5424 and IPQ5404, and add smem, tcsr_mutex nodes
> for the socinfo driver probe to execute.
> 
> This series depends on the following patches
> https://lore.kernel.org/linux-arm-msm/20241004102342.2414317-1-quic_srichara@quicinc.com/
> https://lore.kernel.org/linux-arm-msm/20241016144852.2888679-1-quic_mmanikan@quicinc.com/
> 
> [...]

Applied, thanks!

[3/3] arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes
      commit: 35e0a4f0a39651a6a6009f516847721cfdc633b7

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-06  0:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-16 15:15 [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Manikanta Mylavarapu
2024-10-16 15:15 ` [PATCH 1/3] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5424/IPQ5404 Manikanta Mylavarapu
2024-10-17  8:29   ` Krzysztof Kozlowski
2024-10-16 15:15 ` [PATCH 2/3] soc: qcom: socinfo: add IPQ5424/IPQ5404 SoC ID Manikanta Mylavarapu
2024-10-17  8:29   ` Krzysztof Kozlowski
2024-10-16 15:15 ` [PATCH 3/3] arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes Manikanta Mylavarapu
2024-11-06  0:53 ` (subset) [PATCH 0/3] Add IPQ5424 and IPQ5404 SOC IDs Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®