Message ID | 20181114102520.25346-1-narmstrong@baylibre.com |
---|---|
Headers | show |
Series | Add Amlogic Meson SPI Flash Controller driver | expand |
On Wed, 2018-11-14 at 11:25 +0100, Neil Armstrong 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 > > drivers/spi/Kconfig | 8 + > drivers/spi/Makefile | 1 + > drivers/spi/meson_spifc.c | 330 ++++++++++++++++++++++++++++++++++++++ > include/regmap.h | 38 +++++ > test/dm/regmap.c | 26 +++ > 5 files changed, 403 insertions(+) > create mode 100644 drivers/spi/meson_spifc.c > Tested-by: Jerome Brunet <jbrunet@baylibre.com> ... on the libretech aml-s805x-ac which should be submitted soon.
On Wed, Nov 14, 2018 at 3:55 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 There are few regmap patches upstreamed recently, can you rebase and the send the series again. take care of direct poll_timeout w/o any function on driver.
On 22/11/2018 07:40, Jagan Teki wrote: > On Wed, Nov 14, 2018 at 3:55 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 > > There are few regmap patches upstreamed recently, can you rebase and > the send the series again. take care of direct poll_timeout w/o any > function on driver. > Sure, Neil