All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] spi: sh-msiof: Add reset of registers before starting transfer
@ 2019-04-02 14:40 Geert Uytterhoeven
  2019-04-02 14:40 ` [PATCH v2 1/3] spi: sh-msiof: Use BIT() and GENMASK() Geert Uytterhoeven
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Geert Uytterhoeven @ 2019-04-02 14:40 UTC (permalink / raw)
  To: Mark Brown
  Cc: Simon Horman, Wolfram Sang, linux-spi, linux-renesas-soc,
	Geert Uytterhoeven

	Hi Mark,

This patch series resets the MSIOF registers before starting a transfer,
to comply with the procedure documented in the Hardware Manual.

Changes compared to v1:
  - New patches 1 and 2, in response to review comments on v1
    (although sh_msiof_modify_ctr_wait() didn't turn out to be suitable
    for calling by sh_msiof_spi_reset_regs()),
  - Use BIT(),
  - Use readl_poll_timeout_atomic().

Thanks!

Geert Uytterhoeven (3):
  spi: sh-msiof: Use BIT() and GENMASK()
  spi: sh-msiof: Use readl_poll_timeout_atomic() instead of open-coding
  spi: sh-msiof: Add reset of registers before starting transfer

 drivers/spi/spi-sh-msiof.c | 204 ++++++++++++++++++++-----------------
 1 file changed, 108 insertions(+), 96 deletions(-)

-- 
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

end of thread, other threads:[~2019-04-03  8:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02 14:40 [PATCH v2 0/3] spi: sh-msiof: Add reset of registers before starting transfer Geert Uytterhoeven
2019-04-02 14:40 ` [PATCH v2 1/3] spi: sh-msiof: Use BIT() and GENMASK() Geert Uytterhoeven
2019-04-02 14:48   ` Wolfram Sang
2019-04-03  4:43   ` Applied "spi: sh-msiof: Use BIT() and GENMASK()" to the spi tree Mark Brown
2019-04-02 14:40 ` [PATCH v2 2/3] spi: sh-msiof: Use readl_poll_timeout_atomic() instead of open-coding Geert Uytterhoeven
2019-04-02 14:51   ` Wolfram Sang
2019-04-03  4:42   ` Applied "spi: sh-msiof: Use readl_poll_timeout_atomic() instead of open-coding" to the spi tree Mark Brown
2019-04-03  6:54     ` Wolfram Sang
2019-04-03  8:06       ` Mark Brown
2019-04-02 14:40 ` [PATCH v2 3/3] spi: sh-msiof: Add reset of registers before starting transfer Geert Uytterhoeven
2019-04-02 14:57   ` Wolfram Sang
2019-04-03  4:42   ` Applied "spi: sh-msiof: Add reset of registers before starting transfer" to the spi tree Mark Brown
2019-04-02 14:47 ` [PATCH v2 0/3] spi: sh-msiof: Add reset of registers before starting transfer Wolfram Sang
2019-04-02 14:51   ` Geert Uytterhoeven

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.