public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add initial support for MAXIM 77686 mfd chip
@ 2012-05-18  9:32 Jonghwa Lee
  2012-05-18  9:32 ` [PATCH 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Jonghwa Lee @ 2012-05-18  9:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alessandro Zummo, Samuel Oritz, Liam Girdwood, Mark Brown,
	Kyungmin Park, MyungJoo Ham, Chanwoo Choi, Jonghwa Lee

This patchset adds support for MAX77686 which is a multifunction device including
regulator and rtc. It also includes drivers supporting rtc and regulator.
All drivers are based on MAX8997 driver and use regmap to access to registers.
To manage IRQs occured by max77686, It supports IRQ domain.

v3:
Changes in mfd core:
- Remove APIs accessing to register ( e.g. max77686_read_reg() )
  to use regmap's API directly over all related drivers.

Changes in regulator driver:
- Convert get_voltage to get_voltage_sel
- Convert set_voltage to set_voltage_sel
- Implement set_voltage_time_sel
- Register regulators unconditionally
- kzalloc -> devm_kzalloc
- Remove unneccessary printk
- Keep probing whether pdata exists or not
- Use regmap API to access to PMIC register.

Changes in rtc driver:
- Use regmap API to access to RTC register.

v2:
http://thread.gmane.org/gmane.linux.kernel/1295479

This patch set is tested on TRATS boards.

Jonghwa Lee (3):
  mfd: MAX77686: Add Maxim 77686 mfd driver
  regulator: MAX77686: Add Maxim 77686 regulator driver
  rtc: MAX77686: Add Maxim 77686 rtc driver

 drivers/mfd/Kconfig                  |   11 +
 drivers/mfd/Makefile                 |    1 +
 drivers/mfd/max77686-irq.c           |  327 ++++++++++++++
 drivers/mfd/max77686.c               |  156 +++++++
 drivers/regulator/Kconfig            |    8 +
 drivers/regulator/Makefile           |    1 +
 drivers/regulator/max77686.c         |  783 ++++++++++++++++++++++++++++++++++
 drivers/rtc/Kconfig                  |   20 +
 drivers/rtc/Makefile                 |    4 +-
 drivers/rtc/rtc-max77686.c           |  668 +++++++++++++++++++++++++++++
 include/linux/mfd/max77686-private.h |  247 +++++++++++
 include/linux/mfd/max77686.h         |  117 +++++
 12 files changed, 2342 insertions(+), 1 deletions(-)
 create mode 100644 drivers/mfd/max77686-irq.c
 create mode 100644 drivers/mfd/max77686.c
 create mode 100644 drivers/regulator/max77686.c
 create mode 100644 drivers/rtc/rtc-max77686.c
 create mode 100644 include/linux/mfd/max77686-private.h
 create mode 100644 include/linux/mfd/max77686.h

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] mfd: MAX77686: Add initial support for MAXIMG 77686 mfd chip
@ 2012-05-11  6:36 Jonghwa Lee
  2012-05-11  6:36 ` [PATCH 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee
  0 siblings, 1 reply; 11+ messages in thread
From: Jonghwa Lee @ 2012-05-11  6:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alessandro Zummo, Samuel Oritz, Liam Girdwood, Mark Brown,
	kyungmin.park, myungjoo.ham, cw00.choi, Jonghwa Lee

This patchset adds suppport for MAX77686 which is a multifunction device including
regulator and rtc. It also contains drivers supporting rtc and regulator.
All drivers ard based on MAX8997 dirvers and use regmap to access to the inner registers.
To manage IRQs occuered by max77686, it supports IRQ domain.

First patch is for mfd core driver ,second patch is for regulator,
and third is for rtc.

It is tested on TRATS boards.

Jonghwa Lee (3):
  mfd: MAX77686: Add Maxim 77686 mfd driver
  regulator: MAX77686: Add Maxim 77686 regulator driver
  rtc: MAX77686: Add Maxim 77686 rtc driver

 drivers/mfd/Kconfig                  |    2 +-
 drivers/mfd/Makefile                 |    2 +-
 drivers/mfd/max77686-irq.c           |  109 ++---
 drivers/mfd/max77686.c               |  193 +--------
 drivers/regulator/Kconfig            |    8 +
 drivers/regulator/Makefile           |    1 +
 drivers/regulator/max77686.c         |  809 ++++++++++++++++++++++++++++++++++
 drivers/rtc/Kconfig                  |   10 +
 drivers/rtc/Makefile                 |    5 +-
 drivers/rtc/rtc-max77686.c           |  667 ++++++++++++++++++++++++++++
 include/linux/mfd/max77686-private.h |   54 +--
 include/linux/mfd/max77686.h         |   23 +-
 12 files changed, 1577 insertions(+), 306 deletions(-)
 create mode 100644 drivers/regulator/max77686.c
 create mode 100644 drivers/rtc/rtc-max77686.c

-- 
1.7.4.1


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

end of thread, other threads:[~2012-05-23 10:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18  9:32 [PATCH v3 0/3] Add initial support for MAXIM 77686 mfd chip Jonghwa Lee
2012-05-18  9:32 ` [PATCH 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee
2012-05-20 15:50   ` Mark Brown
2012-05-18  9:32 ` [PATCH 2/3] regulator: MAX77686: Add Maxim 77686 regulator driver Jonghwa Lee
2012-05-20 15:56   ` Mark Brown
2012-05-21  7:33     ` jonghwa3.lee
2012-05-21  9:55       ` Mark Brown
2012-05-23  0:40         ` jonghwa3.lee
2012-05-23 10:03           ` Mark Brown
2012-05-18  9:32 ` [PATCH 3/3] rtc: MAX77686: Add Maxim 77686 rtc driver Jonghwa Lee
  -- strict thread matches above, loose matches on Subject: below --
2012-05-11  6:36 [PATCH 0/3] mfd: MAX77686: Add initial support for MAXIMG 77686 mfd chip Jonghwa Lee
2012-05-11  6:36 ` [PATCH 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox