public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add initial support for MAXIM 77686 mfd chip
@ 2012-05-21  9:51 Jonghwa Lee
  2012-05-21  9:51 ` [PATCH v4 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jonghwa Lee @ 2012-05-21  9:51 UTC (permalink / raw)
  To: linux-kernel
  Cc: Samuel Oritz, Mark Brown, Liam Gridwodd, Alessandro Zummo,
	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.

Changes in patchset v4
- Use common regulator API for all regulator_ops.
- Replace regulator's infomation (minimum value, step, number of available 
  voltage levels) to regulator_desc structure.

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

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.

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

Changes in patcset 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           |  309 ++++++++++++++++
 drivers/mfd/max77686.c               |  156 ++++++++
 drivers/regulator/Kconfig            |    8 +
 drivers/regulator/Makefile           |    1 +
 drivers/regulator/max77686.c         |  438 +++++++++++++++++++++++
 drivers/rtc/Kconfig                  |   10 +
 drivers/rtc/Makefile                 |    1 +
 drivers/rtc/rtc-max77686.c           |  645 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/max77686-private.h |  247 +++++++++++++
 include/linux/mfd/max77686.h         |  117 ++++++
 12 files changed, 1944 insertions(+), 0 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] 10+ messages in thread

end of thread, other threads:[~2012-06-25  8:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21  9:51 [PATCH v4 0/3] Add initial support for MAXIM 77686 mfd chip Jonghwa Lee
2012-05-21  9:51 ` [PATCH v4 1/3] mfd: MAX77686: Add Maxim 77686 mfd driver Jonghwa Lee
2012-05-22 21:57   ` Samuel Ortiz
2012-05-23  0:03     ` jonghwa3.lee
2012-06-06  5:53     ` Yadwinder Singh Brar
2012-06-25  8:37   ` Samuel Ortiz
2012-05-21  9:51 ` [PATCH v4 2/3] regulator: MAX77686: Add Maxim 77686 regulator driver Jonghwa Lee
2012-05-21 21:06   ` David Rientjes
2012-05-22  4:36     ` jonghwa3.lee
2012-05-21  9:51 ` [PATCH v4 3/3] rtc: MAX77686: Add Maxim 77686 rtc 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