arm64: dts: qcom: arduino-imola: fix faulty spidev node
PATCH v2 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.
--- arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 8 -------- 1 file changed, 8 deletions(-)
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +0 -8
@@ -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";
Signature · 1 line
2.53.0
Quoted 8 lines · Riccardo Mereu
From: Riccardo Mereu <[email protected]>
CS pin added on pinctrl0 property is causing spidev to return
-ENODEVsince that GPIO is already part of spi5 pinmuxing.Fixes 3f745bc0f11f ("arm64: dts: qcom: qrb2210: add dts for Arduino unoq")Signed-off-by Riccardo Mereu <[email protected]>---
note: usually one would include a short changelog under the --- line, but here I still remember it was "also remove pinctrl-names override"
Konrad
Quoted 16 lines · Riccardo Mereu
From: Riccardo Mereu <[email protected]>
CS pin added on pinctrl0 property is causing spidev to return
-ENODEVsince that GPIO is already part of spi5 pinmuxing.Fixes 3f745bc0f11f ("arm64: dts: qcom: qrb2210: add dts for Arduino unoq")Signed-off-by Riccardo Mereu <[email protected]>--- arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts | 8 -------- 1 file changed, 8 deletions(-)arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +0
-0
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts &spi5 { · line 328
Quoted 1 line
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +0
-0@@ -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.
Quoted 20 lines
arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts +0
-8reg = <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";Signature · 1 line
2.53.0