LWN.net Logo

Add AMS AS3722 mfd, GPIO, regulator and RTC driver

From:  Laxman Dewangan <ldewangan@nvidia.com>
To:  <lee.jones@linaro.org>, <sameo@linux.intel.com>, <broonie@kernel.org>, <linus.walleij@linaro.org>, <akpm@linux-foundation.org>
Subject:  [PATCH V2 0/5] Add AMS AS3722 mfd, GPIO, regulator and RTC driver
Date:  Fri, 20 Sep 2013 18:00:09 +0530
Message-ID:  <1379680214-9143-1-git-send-email-ldewangan@nvidia.com>
Cc:  <devicetree@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>, <rtc-linux@googlegroups.com>, <rob.herring@calxeda.com>, <mark.rutland@arm.com>, <pawel.moll@arm.com>, <swarren@wwwdotorg.org>, <rob@landley.net>, <ijc+devicetree@hellion.org.uk>, <grant.likely@linaro.org>, Laxman Dewangan <ldewangan@nvidia.com>
Archive-link:  Article, Thread

This series add the driver support for AMS AS3722 PMIC. The driver includes
MFD, GPIO, regulator and RTC.

Changes from V1:
- Remove compatible string from DT for subnode.
- Add macro in regmap.h for definign range.
- Nit cleanups in driver and use module_i2c_driver/module_platform_driver.
- Use linear_range and added regulator_map_* on regulators.
- Move OC configuration to regulator_current limit setting.
- Get rid of clk32k out configuration from RTC. Will add clock driver.


Laxman Dewangan (5):
  regmap: add helper macro to set min/max range of register
  mfd: add support for AMS AS3722 PMIC
  gpio: add support for AMS AS3722 gpio driver
  regulator: as3722: add regulator driver for AMS AS3722
  drivers/rtc/rtc-as3722: add RTC driver

 .../devicetree/bindings/gpio/gpio-as3722.txt       |   62 ++
 Documentation/devicetree/bindings/mfd/as3722.txt   |   47 +
 .../bindings/regulator/as3722-regulator.txt        |   91 ++
 drivers/gpio/Kconfig                               |    6 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/gpio-as3722.c                         |  435 ++++++++++
 drivers/mfd/Kconfig                                |   12 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/as3722.c                               |  448 ++++++++++
 drivers/regulator/Kconfig                          |    8 +
 drivers/regulator/Makefile                         |    1 +
 drivers/regulator/as3722-regulator.c               |  917 ++++++++++++++++++++
 drivers/rtc/Kconfig                                |   10 +
 drivers/rtc/Makefile                               |    1 +
 drivers/rtc/rtc-as3722.c                           |  296 +++++++
 include/linux/mfd/as3722.h                         |  423 +++++++++
 include/linux/regmap.h                             |    2 +
 17 files changed, 2761 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-as3722.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/as3722.txt
 create mode 100644 Documentation/devicetree/bindings/regulator/as3722-regulator.txt
 create mode 100644 drivers/gpio/gpio-as3722.c
 create mode 100644 drivers/mfd/as3722.c
 create mode 100644 drivers/regulator/as3722-regulator.c
 create mode 100644 drivers/rtc/rtc-as3722.c
 create mode 100644 include/linux/mfd/as3722.h

--
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 © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds