mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface
@ 2026-01-20 19:36 Gianluca Boiano
  2026-01-20 22:21 ` Dmitry Baryshkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gianluca Boiano @ 2026-01-20 19:36 UTC (permalink / raw)
  To: andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, Gianluca Boiano

Add spi7 interface to SDM630 device tree.

Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
---
 arch/arm64/boot/dts/qcom/sdm630.dtsi | 34 ++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index 8b1a45a4e56e..92afb5428e3c 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -1013,6 +1013,20 @@ data-pins {
 					drive-strength = <2>;
 				};
 			};
+
+			spi7_default: spi7-default-state {
+				pins = "gpio24", "gpio25", "gpio26", "gpio27";
+				function = "blsp_spi7";
+				drive-strength = <6>;
+				bias-disable;
+			};
+
+			spi7_sleep: spi7-sleep-state {
+				pins = "gpio24", "gpio25", "gpio26", "gpio27";
+				function = "blsp_spi7";
+				drive-strength = <6>;
+				bias-disable;
+			};
 		};
 
 		remoteproc_mss: remoteproc@4080000 {
@@ -1944,6 +1958,26 @@ blsp_i2c7: i2c@c1b7000 {
 			status = "disabled";
 		};
 
+		blsp_spi7: spi@c1b7000 {
+			compatible = "qcom,spi-qup-v2.2.1";
+			reg = <0x0c1b7000 0x600>;
+			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+
+			clocks = <&gcc GCC_BLSP2_QUP3_SPI_APPS_CLK>,
+				 <&gcc GCC_BLSP2_AHB_CLK>;
+			clock-names = "core", "iface";
+
+			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
+			dma-names = "tx", "rx";
+
+			pinctrl-names = "default", "sleep";
+			pinctrl-0 = <&spi7_default>;
+			pinctrl-1 = <&spi7_sleep>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		blsp_i2c8: i2c@c1b8000 {
 			compatible = "qcom,i2c-qup-v2.2.1";
 			reg = <0x0c1b8000 0x600>;
-- 
2.52.0


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

* Re: [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface
  2026-01-20 19:36 [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface Gianluca Boiano
@ 2026-01-20 22:21 ` Dmitry Baryshkov
  2026-01-21 11:39 ` Konrad Dybcio
  2026-03-10  2:45 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2026-01-20 22:21 UTC (permalink / raw)
  To: Gianluca Boiano
  Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
	devicetree, linux-kernel

On Tue, Jan 20, 2026 at 08:36:34PM +0100, Gianluca Boiano wrote:
> Add spi7 interface to SDM630 device tree.
> 
> Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
> ---
>  arch/arm64/boot/dts/qcom/sdm630.dtsi | 34 ++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

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

* Re: [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface
  2026-01-20 19:36 [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface Gianluca Boiano
  2026-01-20 22:21 ` Dmitry Baryshkov
@ 2026-01-21 11:39 ` Konrad Dybcio
  2026-03-10  2:45 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-01-21 11:39 UTC (permalink / raw)
  To: Gianluca Boiano, andersson
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

On 1/20/26 8:36 PM, Gianluca Boiano wrote:
> Add spi7 interface to SDM630 device tree.
> 
> Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
> ---
>  arch/arm64/boot/dts/qcom/sdm630.dtsi | 34 ++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> index 8b1a45a4e56e..92afb5428e3c 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> @@ -1013,6 +1013,20 @@ data-pins {
>  					drive-strength = <2>;
>  				};
>  			};
> +
> +			spi7_default: spi7-default-state {
> +				pins = "gpio24", "gpio25", "gpio26", "gpio27";
> +				function = "blsp_spi7";
> +				drive-strength = <6>;
> +				bias-disable;
> +			};
> +
> +			spi7_sleep: spi7-sleep-state {
> +				pins = "gpio24", "gpio25", "gpio26", "gpio27";
> +				function = "blsp_spi7";
> +				drive-strength = <6>;
> +				bias-disable;
> +			};

Since they're identical, you can define it once and reference 
twice

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad


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

* Re: [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface
  2026-01-20 19:36 [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface Gianluca Boiano
  2026-01-20 22:21 ` Dmitry Baryshkov
  2026-01-21 11:39 ` Konrad Dybcio
@ 2026-03-10  2:45 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2026-03-10  2:45 UTC (permalink / raw)
  To: Gianluca Boiano
  Cc: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel


On Tue, 20 Jan 2026 20:36:34 +0100, Gianluca Boiano wrote:
> Add spi7 interface to SDM630 device tree.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sdm630: add SPI7 interface
      commit: c056679db5ddaa576fb9f347d8e3f0fc1a6f4e20

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

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

end of thread, other threads:[~2026-03-10  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-20 19:36 [PATCH] arm64: dts: qcom: sdm630: add SPI7 interface Gianluca Boiano
2026-01-20 22:21 ` Dmitry Baryshkov
2026-01-21 11:39 ` Konrad Dybcio
2026-03-10  2:45 ` 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®