LWN.net Logo

[PATCH v2 0/3] mfd: MAX77686: Add initial support for MAXIM 77686 mfd chip

From:  Jonghwa Lee <jonghwa3.lee@samsung.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH v2 0/3] mfd: MAX77686: Add initial support for MAXIM 77686 mfd chip
Date:  Fri, 11 May 2012 15:50:42 +0900
Message-ID:  <1336719045-9765-1-git-send-email-jonghwa3.lee@samsung.com>
Cc:  Alessandro Zummo <a.zummo@towertech.it>, Samuel Oritz <sameo@linux.intel.com>, Liam Girdwood <lrg@ti.com>, Mark Brown <broonie@opensource.wolfsonmicro.com>, kyungmin.park@samsung.com, myungjoo.ham@samsung.com, cw00.choi@samsung.com, Jonghwa Lee <jonghwa3.lee@samsung.com>
Archive-link:  Article, Thread

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 are based on MAX8997 drivers and use regmap to access to the inner registers.
To manage IRQs occured by max77686, it supports IRQ domain.

First patch is for mfd core driver ,and it is renewed.

v2
- Change I/O interface register to using regmap.
- Support IRQ domain, and remove irq_base from all referenced.
- Add module_param() macro to debug_mask parameter. It can be set various
  masking value for specific purpose while debugging.
- Remove IRQ_TEST block and some unnecessary points.

second ,third patchs are for regulator and rtc. These are newly updated.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds