mbox series

[0/4] Add IRQ mode support for hisi-sfc-v3xx driver and some cleanups

Message ID 1600950270-52536-1-git-send-email-yangyicong@hisilicon.com
Headers show
Series Add IRQ mode support for hisi-sfc-v3xx driver and some cleanups | expand

Message

Yicong Yang Sept. 24, 2020, 12:24 p.m. UTC
This series mainly add the IRQ mode support for hisi-sfc-v3xx driver, and some
cleanups for the preparation of the IRQ mode.
After this patch, the device can work in IRQ mode, or if firmware doesn't
declare irq support it will fall back to Poll mode.

Patch 1-2 refactor the .exec_op() path to make it simpler and clearer.
Patch 3 factor the definition of the interrupt bits.
Patch 4 add the IRQ support of the driver.


Yicong Yang (4):
  spi: hisi-sfc-v3xx: factor out IO modes configuration
  spi: hisi-sfc-v3xx: factor out bus config and transfer functions
  spi: hisi-sfc-v3xx: factor out the bit definition of interrupt
    register
  spi: hisi-sfc-v3xx: add support for IRQ mode

 drivers/spi/spi-hisi-sfc-v3xx.c | 261 +++++++++++++++++++++++++++++-----------
 1 file changed, 190 insertions(+), 71 deletions(-)

Comments

Mark Brown Sept. 25, 2020, 8:42 p.m. UTC | #1
On Thu, 24 Sep 2020 20:24:26 +0800, Yicong Yang wrote:
> This series mainly add the IRQ mode support for hisi-sfc-v3xx driver, and some
> cleanups for the preparation of the IRQ mode.
> After this patch, the device can work in IRQ mode, or if firmware doesn't
> declare irq support it will fall back to Poll mode.
> 
> Patch 1-2 refactor the .exec_op() path to make it simpler and clearer.
> Patch 3 factor the definition of the interrupt bits.
> Patch 4 add the IRQ support of the driver.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/4] spi: hisi-sfc-v3xx: factor out IO modes configuration
      commit: 2c8af6a59744b242a193118c799a45621476f8ed
[2/4] spi: hisi-sfc-v3xx: factor out bus config and transfer functions
      commit: f6d2737720d6f6e5f4825b7203ad8b5cfcf9906c
[3/4] spi: hisi-sfc-v3xx: factor out the bit definition of interrupt register
      commit: aac6edff843871d7d732a6aa6f495b9eb1dea83a
[4/4] spi: hisi-sfc-v3xx: add support for IRQ mode
      commit: b1dd565124bea0f3ecde87336b48c5d0e98cd5bc

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark