Skip to contentSkip to conversation

apalis_t30: fix can2

PATCH Superseded Marcel Ziswiler 2 participants 3 messages Jun 25, 2018 – Jul 23, 2018

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

PATCH 1/1 apalis_t30: fix can2

From: Marcel Ziswiler <[email protected]>

CAN2 currently fails on probe as follows:

mcp251x spi1.1: Probe failed, err=19

Fix this by enabling input on pin mux of resp. SPI4 pins.

---

 arch/arm/boot/dts/tegra30-apalis.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/tegra30-apalis.dtsi +1 -0
index d1d21ec2a844..9ff6aafd72b3 100644
@@ -118,6 +118,7 @@
 				nvidia,function = "spi4";
 				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
 				nvidia,tristate = <TEGRA_PIN_DISABLE>;
+				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 			};
 			/* CAN_INT2 */
 			spi2_cs2_n_pw3 {
Signature · 1 line
2.14.4
#1 lore raw
Quoted 9 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

CAN2 currently fails on probe as follows:

mcp251x spi1.1: Probe failed, err=19

Fix this by enabling input on pin mux of resp. SPI4 pins.

I can take this via the linux-can tree. Any acks from the DT people?

Marc

Quoted 19 lines

---

 arch/arm/boot/dts/tegra30-apalis.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/tegra30-apalis.dtsi +1 -0
index d1d21ec2a844..9ff6aafd72b3 100644
@@ -118,6 +118,7 @@
 				nvidia,function = "spi4";
 				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
 				nvidia,tristate = <TEGRA_PIN_DISABLE>;
+				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
 			};
 			/* CAN_INT2 */
 			spi2_cs2_n_pw3 {
Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
#2 lore raw
Quoted 5 lines · Marc Kleine-Budde
Quoted 4 lines · Marcel Ziswiler

From: Marcel Ziswiler <[email protected]>

CAN2 currently fails on probe as follows:

Quoted 7 lines
Quoted 5 lines

mcp251x spi1.1: Probe failed, err=19

Fix this by enabling input on pin mux of resp. SPI4 pins.

I can take this via the linux-can tree. Any acks from the DT people?

Never mind - it has been applied by Thierry menawhile:

Quoted 3 lines

Applied to for-4.19/arm/dt, thanks.

Thierry

sorry for the noise.
Marc

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |