All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type
@ 2022-07-05 12:23 yegorslists
  2022-07-10  6:54 ` Roger Quadros
  0 siblings, 1 reply; 4+ messages in thread
From: yegorslists @ 2022-07-05 12:23 UTC (permalink / raw)
  To: linux-omap; +Cc: rogerq, tony, devicetree, Yegor Yefremov

From: Yegor Yefremov <yegorslists@googlemail.com>

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

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-baltos.dtsi b/arch/arm/boot/dts/am335x-baltos.dtsi
index d3eafee79a23..6161c8929a78 100644
--- a/arch/arm/boot/dts/am335x-baltos.dtsi
+++ b/arch/arm/boot/dts/am335x-baltos.dtsi
@@ -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.17.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type
  2022-07-05 12:23 [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type yegorslists
@ 2022-07-10  6:54 ` Roger Quadros
  2022-07-11  4:35   ` Yegor Yefremov
  0 siblings, 1 reply; 4+ messages in thread
From: Roger Quadros @ 2022-07-10  6:54 UTC (permalink / raw)
  To: yegorslists, linux-omap; +Cc: tony, devicetree

Hi Yegor,

On 05/07/2022 17:53, yegorslists@googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Use "prefetch-dma" instead of "polled".
Does using "polled" still cause the issue while Erasing NAND?

> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Acked-by: Roger Quadros <rogerq@kernel.org>

> ---
>  arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/am335x-baltos.dtsi b/arch/arm/boot/dts/am335x-baltos.dtsi
> index d3eafee79a23..6161c8929a78 100644
> --- a/arch/arm/boot/dts/am335x-baltos.dtsi
> +++ b/arch/arm/boot/dts/am335x-baltos.dtsi
> @@ -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>;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type
  2022-07-10  6:54 ` Roger Quadros
@ 2022-07-11  4:35   ` Yegor Yefremov
  2022-09-07  5:16     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2022-07-11  4:35 UTC (permalink / raw)
  To: Roger Quadros; +Cc: Linux-OMAP, Tony Lindgren, devicetree

Hi Roger,

On Sun, Jul 10, 2022 at 8:54 AM Roger Quadros <rogerq@kernel.org> wrote:
>
> Hi Yegor,
>
> On 05/07/2022 17:53, yegorslists@googlemail.com wrote:
> > From: Yegor Yefremov <yegorslists@googlemail.com>
> >
> > Use "prefetch-dma" instead of "polled".
> Does using "polled" still cause the issue while Erasing NAND?

Yes, it does.

Yegor

> >
> > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
>
> Acked-by: Roger Quadros <rogerq@kernel.org>
>
> > ---
> >  arch/arm/boot/dts/am335x-baltos.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/am335x-baltos.dtsi b/arch/arm/boot/dts/am335x-baltos.dtsi
> > index d3eafee79a23..6161c8929a78 100644
> > --- a/arch/arm/boot/dts/am335x-baltos.dtsi
> > +++ b/arch/arm/boot/dts/am335x-baltos.dtsi
> > @@ -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>;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type
  2022-07-11  4:35   ` Yegor Yefremov
@ 2022-09-07  5:16     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2022-09-07  5:16 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: Roger Quadros, Linux-OMAP, devicetree

* Yegor Yefremov <yegorslists@googlemail.com> [220711 04:30]:
> Hi Roger,
> 
> On Sun, Jul 10, 2022 at 8:54 AM Roger Quadros <rogerq@kernel.org> wrote:
> >
> > Hi Yegor,
> >
> > On 05/07/2022 17:53, yegorslists@googlemail.com wrote:
> > > From: Yegor Yefremov <yegorslists@googlemail.com>
> > >
> > > 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-07  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 12:23 [PATCH] ARM: dts: am335x-baltos: change nand-xfer-type yegorslists
2022-07-10  6:54 ` Roger Quadros
2022-07-11  4:35   ` Yegor Yefremov
2022-09-07  5:16     ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.