ARM: dts: am335x-baltos: change nand-xfer-type
PATCH 1/1 ARM: dts: am335x-baltos: change nand-xfer-type
From: Yegor Yefremov <[email protected]>
Use "prefetch-dma" instead of "polled".
Signed-off-by Yegor Yefremov <[email protected]>
--- arch/arm/boot/dts/am335x-baltos.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am335x-baltos.dtsi +1 -1
@@ -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
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
Signed-off-by Yegor Yefremov <[email protected]>
Acked-by Roger Quadros <[email protected]>
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@@ -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>;
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
Signed-off-by Yegor Yefremov <[email protected]>Acked-by Roger Quadros <[email protected]>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@@ -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>;
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