linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add device tree support for MAX8997
@ 2012-01-12  7:35 Thomas Abraham
  2012-01-12  7:35 ` [PATCH v2 1/2] mfd: add irq domain support for max8997 interrupts Thomas Abraham
  2012-01-12  7:35 ` [PATCH v2 2/2] regulator: add device tree support for max8997 Thomas Abraham
  0 siblings, 2 replies; 17+ messages in thread
From: Thomas Abraham @ 2012-01-12  7:35 UTC (permalink / raw)
  To: linux-arm-kernel

MAX8997 is a multi-function device which includes support for regulators, rtc,
battery charger and other sub-blocks. This patchset adds device tree support
for the pmic (regulators) sub-block.

The first patch adds irq domain support for the interrupts supported by max8997
mainly for removing the need to pass a irq_base from the platform code. The
irq_base could not anyway be passed in case of device tree based instantiation.

The second patch adds device tree support for max8997. This patch modifies both
mfd and regulator portions of the max8997 code.

This patchset is based on the following tree.
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git  for-next

and depends on the following patchs.
[1] All the regulator device tree related patches from
    git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git topic/dt
    (from commit 8f446e6fa1d506be2cb80f91c214f1705327c7f9).
[2] Device tree support patches for wakeup interrupt sources on Exynos4.
[3] [PATCH] irqdomain: export irq_domain._simple_op.s for !CONFIG_OF

This patchset has been tested on Origen board.

Thomas Abraham (2):
  mfd: add irq domain support for max8997 interrupts
  regulator: add device tree support for max8997

 .../devicetree/bindings/regulator/max8997-pmic.txt |  120 ++++++++++++++++
 arch/arm/mach-exynos/mach-nuri.c                   |    4 -
 arch/arm/mach-exynos/mach-origen.c                 |    1 -
 drivers/mfd/max8997-irq.c                          |   33 +++--
 drivers/mfd/max8997.c                              |   73 ++++++++++-
 drivers/regulator/max8997.c                        |  143 +++++++++++++++++++-
 include/linux/mfd/max8997-private.h                |    4 +-
 include/linux/mfd/max8997.h                        |    2 +-
 8 files changed, 356 insertions(+), 24 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/max8997-pmic.txt

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

end of thread, other threads:[~2012-01-27 11:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12  7:35 [PATCH v2 0/2] Add device tree support for MAX8997 Thomas Abraham
2012-01-12  7:35 ` [PATCH v2 1/2] mfd: add irq domain support for max8997 interrupts Thomas Abraham
2012-01-12  7:35 ` [PATCH v2 2/2] regulator: add device tree support for max8997 Thomas Abraham
2012-01-12  9:49   ` MyungJoo Ham
2012-01-12 10:39     ` Thomas Abraham
2012-01-23 17:50   ` Karol Lewandowski
2012-01-23 18:20     ` Mark Brown
2012-01-23 19:21       ` Karol Lewandowski
2012-01-23 19:33         ` Mark Brown
2012-01-25  9:55   ` Karol Lewandowski
2012-01-25 11:26     ` Mark Brown
2012-01-25 12:02       ` Karol Lewandowski
2012-01-25 13:32         ` Mark Brown
2012-01-26 15:28           ` Karol Lewandowski
2012-01-26 16:17             ` Mark Brown
2012-01-27  9:58               ` Karol Lewandowski
2012-01-27 11:19                 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).