All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] sunxi sun6i SPI support
@ 2019-01-05 17:52 Oskari Lemmela
  2019-01-05 17:52 ` [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support Oskari Lemmela
  2019-01-05 17:52 ` [U-Boot] [PATCH 2/2] arm: timer: sunxi: fix spurious timeout issues Oskari Lemmela
  0 siblings, 2 replies; 17+ messages in thread
From: Oskari Lemmela @ 2019-01-05 17:52 UTC (permalink / raw)
  To: u-boot

Minimal changes to support sun6i SPI with current sun4i SPI driver.

During testing I faced random spurious timeouts when reading 16MB
flash device. When debugging spurious timeouts those values seems
to be -1us.

Because timeouts are calculated as unsigned values tiny backward
timer jumps causes this kind of issues.

Oskari Lemmela (2):
  arm: sunxi: allwinner spi driver sun6i support
  arm: timer: sunxi: fix spurious timeout issues

 arch/arm/cpu/armv8/generic_timer.c            |   2 +-
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h |   1 +
 arch/arm/include/asm/arch-sunxi/clock_sun9i.h |   1 +
 drivers/spi/Kconfig                           |   4 +-
 drivers/spi/sun4i_spi.c                       | 116 ++++++++++++++++--
 5 files changed, 108 insertions(+), 16 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2019-01-24 21:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-05 17:52 [U-Boot] [PATCH 0/2] sunxi sun6i SPI support Oskari Lemmela
2019-01-05 17:52 ` [U-Boot] [PATCH 1/2] arm: sunxi: allwinner spi driver sun6i support Oskari Lemmela
2019-01-22 14:54   ` Alexander Graf
2019-01-22 16:17     ` Oskari Lemmelä
2019-01-22 16:28       ` Alexander Graf
2019-01-22 16:37         ` Alexander Graf
2019-01-24 10:17           ` Alexander Graf
2019-01-24 10:57             ` Andre Przywara
2019-01-24 10:59               ` Alexander Graf
2019-01-24 11:07                 ` Andre Przywara
2019-01-24 11:21                   ` Alexander Graf
2019-01-24 11:31                     ` Andre Przywara
2019-01-24 12:07                       ` Alexander Graf
2019-01-24 12:21                         ` Andre Przywara
2019-01-24 21:49                           ` Alexander Graf
2019-01-24 16:09               ` Oskari Lemmelä
2019-01-05 17:52 ` [U-Boot] [PATCH 2/2] arm: timer: sunxi: fix spurious timeout issues Oskari Lemmela

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.