devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node
@ 2023-12-03 15:40 Chukun Pan
  2023-12-03 16:34 ` Krzysztof Kozlowski
  2023-12-17 17:20 ` (subset) " Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Chukun Pan @ 2023-12-03 15:40 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Andy Gross, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
	Rob Herring, linux-arm-msm, linux-kernel, devicetree, Chukun Pan

Add node to support the QUP5 SPI controller inside of IPQ6018.
Some routers use this bus to connect SPI TPM chips.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
Changes in v2:
* No changes, resend due to error link to other threads.

 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
index ec0a0ce1849e..2399d16f147e 100644
--- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
@@ -527,6 +527,20 @@ blsp1_spi2: spi@78b6000 {
 			status = "disabled";
 		};
 
+		blsp1_spi5: spi@78b9000 {
+			compatible = "qcom,spi-qup-v2.2.1";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x0 0x078b9000 0x0 0x600>;
+			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
+				 <&gcc GCC_BLSP1_AHB_CLK>;
+			clock-names = "core", "iface";
+			dmas = <&blsp_dma 20>, <&blsp_dma 21>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
 		blsp1_i2c2: i2c@78b6000 {
 			compatible = "qcom,i2c-qup-v2.2.1";
 			#address-cells = <1>;
-- 
2.25.1


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

* Re: [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node
  2023-12-03 15:40 [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node Chukun Pan
@ 2023-12-03 16:34 ` Krzysztof Kozlowski
  2023-12-05  2:30   ` Chukun Pan
  2023-12-17 17:20 ` (subset) " Bjorn Andersson
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-03 16:34 UTC (permalink / raw)
  To: Chukun Pan, Bjorn Andersson
  Cc: Andy Gross, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
	Rob Herring, linux-arm-msm, linux-kernel, devicetree

On 03/12/2023 16:40, Chukun Pan wrote:
> Add node to support the QUP5 SPI controller inside of IPQ6018.
> Some routers use this bus to connect SPI TPM chips.
> 
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
> ---
> Changes in v2:
> * No changes, resend due to error link to other threads.

Why are you sending this separately from the UART patch?

Best regards,
Krzysztof


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

* Re: [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node
  2023-12-03 16:34 ` Krzysztof Kozlowski
@ 2023-12-05  2:30   ` Chukun Pan
  0 siblings, 0 replies; 4+ messages in thread
From: Chukun Pan @ 2023-12-05  2:30 UTC (permalink / raw)
  To: krzysztof.kozlowski
  Cc: agross, amadeus, andersson, conor+dt, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, robh+dt

> Why are you sending this separately from the UART patch?

Because they are independent and have no dependencies.
Should I send these in the same thread?

Thanks,
Chukun

-- 
2.25.1


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

* Re: (subset) [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node
  2023-12-03 15:40 [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node Chukun Pan
  2023-12-03 16:34 ` Krzysztof Kozlowski
@ 2023-12-17 17:20 ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2023-12-17 17:20 UTC (permalink / raw)
  To: Chukun Pan
  Cc: Andy Gross, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley,
	Rob Herring, linux-arm-msm, linux-kernel, devicetree


On Sun, 03 Dec 2023 23:40:03 +0800, Chukun Pan wrote:
> Add node to support the QUP5 SPI controller inside of IPQ6018.
> Some routers use this bus to connect SPI TPM chips.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node
      commit: 2e16f9dc9be07f08442d63d682cdf89d6321b408

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

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

end of thread, other threads:[~2023-12-17 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 15:40 [PATCH v2 1/1] arm64: dts: qcom: ipq6018: Add QUP5 SPI node Chukun Pan
2023-12-03 16:34 ` Krzysztof Kozlowski
2023-12-05  2:30   ` Chukun Pan
2023-12-17 17:20 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).