public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node
@ 2026-02-12 15:23 Riccardo Mereu
  2026-02-12 15:26 ` Konrad Dybcio
  2026-02-12 17:55 ` Conor Dooley
  0 siblings, 2 replies; 3+ messages in thread
From: Riccardo Mereu @ 2026-02-12 15:23 UTC (permalink / raw)
  To: lee, robh, krzk+dt, conor+dt, andersson, konradybcio, sboyd
  Cc: linux-arm-msm, devicetree, linux-kernel, alexey.klimov,
	srinivas.kandagatla, m.facchin, akucheri, ndechesn,
	Riccardo Mereu

From: Riccardo Mereu <r.mereu@arduino.cc>

CS pin added on pinctrl0 property is causing spidev to return -ENODEV
since that GPIO is already part of spi5 pinmuxing.

Fixes: 3f745bc0f11f ("arm64: dts: qcom: qrb2210: add dts for Arduino unoq")
Signed-off-by: Riccardo Mereu <r.mereu@arduino.cc>
---
 arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
index 197ab6eb1666..796c1f7ff17c 100644
--- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
+++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
@@ -328,18 +328,10 @@ &spi5 {
 	spidev@0 {
 		reg = <0>;
 		compatible = "arduino,unoq-mcu";
-		pinctrl-0 = <&spidev_cs>;
-		pinctrl-names = "default";
 	};
 };
 
 &tlmm {
-	spidev_cs: spidev-cs-state {
-		pins = "gpio17";
-		function = "gpio";
-		drive-strength = <16>;
-	};
-
 	jmisc_gpio18: jmisc-gpio18-state {
 		pins = "gpio18";
 		function = "gpio";
-- 
2.53.0


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

* Re: [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node
  2026-02-12 15:23 [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node Riccardo Mereu
@ 2026-02-12 15:26 ` Konrad Dybcio
  2026-02-12 17:55 ` Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-02-12 15:26 UTC (permalink / raw)
  To: Riccardo Mereu, lee, robh, krzk+dt, conor+dt, andersson,
	konradybcio, sboyd
  Cc: linux-arm-msm, devicetree, linux-kernel, alexey.klimov,
	srinivas.kandagatla, m.facchin, akucheri, ndechesn,
	Riccardo Mereu

On 2/12/26 4:23 PM, Riccardo Mereu wrote:
> From: Riccardo Mereu <r.mereu@arduino.cc>
> 
> CS pin added on pinctrl0 property is causing spidev to return -ENODEV
> since that GPIO is already part of spi5 pinmuxing.
> 
> Fixes: 3f745bc0f11f ("arm64: dts: qcom: qrb2210: add dts for Arduino unoq")
> Signed-off-by: Riccardo Mereu <r.mereu@arduino.cc>
> ---

note: usually one would include a short changelog under the --- line,
but here I still remember it was "also remove pinctrl-names override"

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

Konrad

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

* Re: [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node
  2026-02-12 15:23 [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node Riccardo Mereu
  2026-02-12 15:26 ` Konrad Dybcio
@ 2026-02-12 17:55 ` Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-02-12 17:55 UTC (permalink / raw)
  To: Riccardo Mereu
  Cc: lee, robh, krzk+dt, conor+dt, andersson, konradybcio, sboyd,
	linux-arm-msm, devicetree, linux-kernel, alexey.klimov,
	srinivas.kandagatla, m.facchin, akucheri, ndechesn,
	Riccardo Mereu

[-- Attachment #1: Type: text/plain, Size: 1383 bytes --]

On Thu, Feb 12, 2026 at 04:23:29PM +0100, Riccardo Mereu wrote:
> From: Riccardo Mereu <r.mereu@arduino.cc>
> 
> CS pin added on pinctrl0 property is causing spidev to return -ENODEV
> since that GPIO is already part of spi5 pinmuxing.
> 
> Fixes: 3f745bc0f11f ("arm64: dts: qcom: qrb2210: add dts for Arduino unoq")
> Signed-off-by: Riccardo Mereu <r.mereu@arduino.cc>
> ---
>  arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> index 197ab6eb1666..796c1f7ff17c 100644
> --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> @@ -328,18 +328,10 @@ &spi5 {
>  	spidev@0 {

Of you're modifying this node, you should fix the nodename too. "spidev"
isn't a type of device. It should probably either be "mcu@" or whatever
the mcu is used for.

>  		reg = <0>;
>  		compatible = "arduino,unoq-mcu";
> -		pinctrl-0 = <&spidev_cs>;
> -		pinctrl-names = "default";
>  	};
>  };
>  
>  &tlmm {
> -	spidev_cs: spidev-cs-state {
> -		pins = "gpio17";
> -		function = "gpio";
> -		drive-strength = <16>;
> -	};
> -
>  	jmisc_gpio18: jmisc-gpio18-state {
>  		pins = "gpio18";
>  		function = "gpio";
> -- 
> 2.53.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-02-12 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12 15:23 [PATCH V2] arm64: dts: qcom: arduino-imola: fix faulty spidev node Riccardo Mereu
2026-02-12 15:26 ` Konrad Dybcio
2026-02-12 17:55 ` Conor Dooley

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