Skip to contentSkip to conversation

arm64: dts: qcom: arduino-imola: fix faulty spidev node

PATCH Applied Riccardo Mereu 3 participants 3 messages Feb 13 – Mar 18

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: dts: qcom: arduino-imola: fix faulty spidev node

From: Riccardo Mereu <[email protected]>

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")

---

Changes since V2:
- Changed spidev@0 nodename to mcu@0.
- Changed properties order in same node to match DTS coding style.

 arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +2 -10
index 197ab6eb1666..5ab605cc56c8 100644
@@ -325,21 +325,13 @@ &sdhc_1 {
 &spi5 {
 	status = "okay";
 
-	spidev@0 {
-		reg = <0>;
+	mcu@0 {
 		compatible = "arduino,unoq-mcu";
-		pinctrl-0 = <&spidev_cs>;
-		pinctrl-names = "default";
+		reg = <0>;
 	};
 };
 
 &tlmm {
-	spidev_cs: spidev-cs-state {
-		pins = "gpio17";
-		function = "gpio";
-		drive-strength = <16>;
-	};
-
 	jmisc_gpio18: jmisc-gpio18-state {
 		pins = "gpio18";
 		function = "gpio";
Signature · 1 line
2.53.0
maintainer Applied
#2 lore raw
In reply to Riccardo Mereu
Quoted 4 lines · Riccardo Mereu

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

Applied, thanks!

[1/1] arm64: dts: qcom: arduino-imola: fix faulty spidev node

      commit: 84d8976426072ea1a559ab1aaeff6bdc16248813

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>