Skip to contentSkip to conversation

ARM: dts: am335x-baltos: change nand-xfer-type

PATCH In review [email protected] 3 participants 4 messages Jul 5, 2022 – Sep 7, 2022 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: am335x-baltos: change nand-xfer-type

From: Yegor Yefremov <[email protected]>

Use "prefetch-dma" instead of "polled".

---
 arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am335x-baltos.dtsi +1 -1
index d3eafee79a23..6161c8929a78 100644
@@ -197,7 +197,7 @@
 		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <8>;
 		ti,nand-ecc-opt = "bch8";
-		ti,nand-xfer-type = "polled";
+		ti,nand-xfer-type = "prefetch-dma";
 
 		gpmc,device-nand = "true";
 		gpmc,device-width = <1>;
Signature · 1 line
2.17.0
Acked-by on v1 1/1
#1 lore raw

Hi Yegor,

Quoted 3 lines · On 05/07/2022 17:53, [email protected] wrote:

From: Yegor Yefremov <[email protected]>

Use "prefetch-dma" instead of "polled".

Does using "polled" still cause the issue while Erasing NAND?

Quoted 2 lines
Quoted 17 lines
---
 arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am335x-baltos.dtsi +1 -1
index d3eafee79a23..6161c8929a78 100644
@@ -197,7 +197,7 @@
 		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
 		nand-bus-width = <8>;
 		ti,nand-ecc-opt = "bch8";
-		ti,nand-xfer-type = "polled";
+		ti,nand-xfer-type = "prefetch-dma";
 
 		gpmc,device-nand = "true";
 		gpmc,device-width = <1>;
#2 lore raw

Hi Roger,

Quoted 8 lines · Roger Quadros

Hi Yegor,

Quoted 3 lines · On 05/07/2022 17:53, [email protected] wrote:

From: Yegor Yefremov <[email protected]>

Use "prefetch-dma" instead of "polled".

Does using "polled" still cause the issue while Erasing NAND?

Yes, it does.

Yegor

Quoted 22 lines
Quoted 2 lines
Quoted 17 lines
---
 arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am335x-baltos.dtsi +1 -1
index d3eafee79a23..6161c8929a78 100644
@@ -197,7 +197,7 @@
              rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
              nand-bus-width = <8>;
              ti,nand-ecc-opt = "bch8";
-             ti,nand-xfer-type = "polled";
+             ti,nand-xfer-type = "prefetch-dma";
 
              gpmc,device-nand = "true";
              gpmc,device-width = <1>;
#3 lore raw
Quoted 6 lines · Yegor Yefremov

Hi Roger,

Quoted 3 lines · Roger Quadros

Hi Yegor,

Quoted 7 lines
Quoted 5 lines · On 05/07/2022 17:53, [email protected] wrote:
Quoted 3 lines

From: Yegor Yefremov <[email protected]>

Use "prefetch-dma" instead of "polled".

Does using "polled" still cause the issue while Erasing NAND?

Yes, it does.

OK I'm applying this into omap-for-v6.1/dt then.

Regards,

Tony