Skip to contentSkip to conversation

ARM: dts: at91: sama5d2_ptc_ek: fix nand pinctrl

PATCH Applied Ludovic Desroches 3 participants 3 messages Sep 7, 2018 – Sep 12, 2018

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

PATCH 1/1 ARM: dts: at91: sama5d2_ptc_ek: fix nand pinctrl

The drive strength has to be set to medium otherwise some data corruption may happen.

---

Hi,

This fix depends on the support of the drive-strength for the atmel pio4 pinctroller. It has been added in v4.19 but I omitted to send it at the same time.

Ludovic

 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +2 -0
index b10dccd0958f..3b1baa8605a7 100644
@@ -11,6 +11,7 @@
 #include "sama5d2-pinfunc.h"
 #include <dt-bindings/mfd/atmel-flexcom.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/at91.h>
 
 / {
 	model = "Atmel SAMA5D2 PTC EK";
@@ -299,6 +300,7 @@
 							 <PIN_PA30__NWE_NANDWE>,
 							 <PIN_PB2__NRD_NANDOE>;
 						bias-pull-up;
+						atmel,drive-strength = <ATMEL_PIO_DRVSTR_ME>;
 					};
 
 					ale_cle_rdy_cs {
Signature · 1 line
2.12.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Ludovic Desroches

The drive strength has to be set to medium otherwise some data corruption may happen.

Quoted 7 lines

---

Hi,

This fix depends on the support of the drive-strength for the atmel pio4 pinctroller. It has been added in v4.19 but I omitted to send it at the same time.

Could be good to be queued for "4.19-fixes".

Best regards,
Nicolas

Quoted 26 lines

Ludovic

  arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 2 ++
  1 file changed, 2 insertions(+)
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +2 -0
index b10dccd0958f..3b1baa8605a7 100644
@@ -11,6 +11,7 @@
  #include "sama5d2-pinfunc.h"
  #include <dt-bindings/mfd/atmel-flexcom.h>
  #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/at91.h>
 
  / {
  	model = "Atmel SAMA5D2 PTC EK";
@@ -299,6 +300,7 @@
  							 <PIN_PA30__NWE_NANDWE>,
  							 <PIN_PB2__NRD_NANDOE>;
  						bias-pull-up;
+						atmel,drive-strength = <ATMEL_PIO_DRVSTR_ME>;
  					};
 
  					ale_cle_rdy_cs {
Signature · 1 line
Nicolas Ferre
maintainer Applied
#2 lore raw
In reply to Ludovic Desroches
Quoted 8 lines · Ludovic Desroches

The drive strength has to be set to medium otherwise some data corruption may happen.

---

Hi,

Quoted 9 lines

This fix depends on the support of the drive-strength for the atmel pio4 pinctroller. It has been added in v4.19 but I omitted to send it at the same time.

Ludovic

 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com