mbox series

[U-Boot,u-boot,v3,0/3] Add Amlogic Meson SPI Flash Controller driver

Message ID 20181122100105.14829-1-narmstrong@baylibre.com
Headers show
Series Add Amlogic Meson SPI Flash Controller driver | expand

Message

Neil Armstrong Nov. 22, 2018, 10:01 a.m. UTC
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.

This patchset add the driver ported from linux, but also import the regmap
regmap_read_poll_timeout() to implify the register polling in the driver.

Neil Armstrong (3):
  regmap: add regmap_read_poll_timeout() helper
  test: regmap: add regmap_read_poll_timeout test
  spi: Add Amlogic Meson SPI Flash Controller driver

 drivers/spi/Kconfig       |   8 +
 drivers/spi/Makefile      |   1 +
 drivers/spi/meson_spifc.c | 320 ++++++++++++++++++++++++++++++++++++++
 include/regmap.h          |  38 +++++
 test/dm/regmap.c          |  26 ++++
 5 files changed, 393 insertions(+)
 create mode 100644 drivers/spi/meson_spifc.c

Comments

Jagan Teki Nov. 23, 2018, 5:39 a.m. UTC | #1
On Thu, Nov 22, 2018 at 3:31 PM Neil Armstrong <narmstrong@baylibre.com> wrote:
>
> The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
>
> This patchset add the driver ported from linux, but also import the regmap
> regmap_read_poll_timeout() to implify the register polling in the driver.
>
> Neil Armstrong (3):
>   regmap: add regmap_read_poll_timeout() helper
>   test: regmap: add regmap_read_poll_timeout test
>   spi: Add Amlogic Meson SPI Flash Controller driver

Applied to u-boot-spi/master