[PATCH v2 1/8] iopoll: Add dealy to read poll

Jagan Teki jagan at amarulasolutions.com
Thu Apr 30 23:03:17 CEST 2020


On Thu, Apr 30, 2020 at 8:16 PM Tom Rini <trini at konsulko.com> wrote:
>
> On Thu, Apr 30, 2020 at 12:34:05PM +0530, Jagan Teki wrote:
>
> > Some drivers and other bsp code not only poll the
> > register with timeout but also required to delay
> > on each transaction.
> >
> > This patch add that requirement by adding sleep_us
> > variable so-that read_poll_timeout now support
> > delay as well.
> >
> > Cc: Tom Rini <trini at konsulko.com>
> > Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>
> This (and 2/8) need to say what kernel commit you're taking this from,
> thanks.

Linux supports sleep_us at the beginning where read_poll_timeout
supports, i.e. the reason I didn't add the sha1. If that works, I will
add the same sha1 and apply via my tree (since it has some SPI changes
dependency patch)?

Jagan.


More information about the U-Boot mailing list