Skip to content

mfd: Wolfson Arizona and WM5102 support

Mark Brown lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7mfd: arizona: Register definitionsinclude/linux/mfd/arizona/registers.h+6222 -00 replies
2/7mfd: arizona: Core driverdrivers/mfd/arizona-core.c drivers/mfd/arizona.h include/linux/mfd/arizona/core.h +1 more+781 -00 replies
3/7mfd: arizona: Interrupt supportdrivers/mfd/arizona-irq.c+267 -00 replies
4/7mfd: arizona: I2C bus interfacedrivers/mfd/arizona-i2c.c+89 -00 replies
5/7mfd: arizona: SPI bus interfacedrivers/mfd/arizona-spi.c+91 -00 replies
6/7mfd: wm5102: Initial support for WM5102drivers/mfd/wm5102-tables.c+2399 -00 replies
7/7mfd: wm5102: Build system hookupdrivers/mfd/Kconfig drivers/mfd/Makefile+36 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] mfd: Wolfson Arizona and WM5102 support

This patch series adds the MFD core driver for the WM5102 and other Wolfson Arizona class devices.

The series has a dependency on a new regmap feature, support for wake IRQs. Assuming the code is OK I don't know how you want to handle this
- I've provided a pull request below which in turn pulls in a signed tag from the regmap tree so you can pull into the MFD tree providing you there's no rebases. Alternatively I could carry the code in the regmap tree, though that might get a bit silly as it'll dwarf the actual changes in there.

The following changes since commit 485802a6c524e62b5924849dd727ddbb1497cc71:

Linux 3.5-rc3 (2012-06-16 17:25:17 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git tags/mfd/wm5102

for you to fetch changes up to 3afbac957e3c59037a4ecaf19d68f6c8104299fc:

mfd: wm5102: Build system hookup (2012-06-23 13:30:43 +0100)

----------------------------------------------------------------
mfd: Initial support for Wolfson Arizona platform and WM5102 devices

The Wolfson Arizona platform is used to provide common register interface to a series of low power audio hub CODECs, starting with the WM5102. Since the features of these devices work over a range of subsystems an MFD core driver is provided to instantiate the subdevices and arbitrate access between them.

As the new regmap wake IRQ functionality is used as part of the driver it is incorporated as a dependency.

----------------------------------------------------------------
Mark Brown (10):
regmap: Don't try to map non-existant IRQs
regmap: Implement support for wake IRQs
Merge branch 'topic/irq' of git://git.kernel.org/.../broonie/regmap into wm5102
mfd: arizona: Register definitions
mfd: arizona: Core driver
mfd: arizona: Interrupt support
mfd: arizona: I2C bus interface
mfd: arizona: SPI bus interface
mfd: wm5102: Initial support for WM5102
mfd: wm5102: Build system hookup

 drivers/base/regmap/regmap-irq.c      |   51 +
 drivers/mfd/Kconfig                   |   29 +
 drivers/mfd/Makefile                  |    7 +
 drivers/mfd/arizona-core.c            |  527 +++
 drivers/mfd/arizona-i2c.c             |   89 +
 drivers/mfd/arizona-irq.c             |  267 ++
 drivers/mfd/arizona-spi.c             |   91 +
 drivers/mfd/arizona.h                 |   33 +
 drivers/mfd/wm5102-tables.c           | 2399 +++++++++++++
 include/linux/mfd/arizona/core.h      |  102 +
 include/linux/mfd/arizona/pdata.h     |  119 +
 include/linux/mfd/arizona/registers.h | 6222 +++++++++++++++++++++++++++++++++
 include/linux/regmap.h                |    2 +
 13 files changed, 9938 insertions(+)
 create mode 100644 drivers/mfd/arizona-core.c
 create mode 100644 drivers/mfd/arizona-i2c.c
 create mode 100644 drivers/mfd/arizona-irq.c
 create mode 100644 drivers/mfd/arizona-spi.c
 create mode 100644 drivers/mfd/arizona.h
 create mode 100644 drivers/mfd/wm5102-tables.c
 create mode 100644 include/linux/mfd/arizona/core.h
 create mode 100644 include/linux/mfd/arizona/pdata.h
 create mode 100644 include/linux/mfd/arizona/registers.h