From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753437Ab3IXLgp (ORCPT ); Tue, 24 Sep 2013 07:36:45 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:3463 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340Ab3IXLgm (ORCPT ); Tue, 24 Sep 2013 07:36:42 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 24 Sep 2013 04:36:41 -0700 From: Laxman Dewangan To: , , , , CC: , , , , , , , , , , , , Laxman Dewangan Subject: [PATCH V3 0/3] Add AMS AS3722 mfd, pincontrol, regulator and RTC driver. Date: Tue, 24 Sep 2013 17:28:38 +0530 Message-ID: <1380023921-29867-1-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 1.7.1.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add the driver support for AMS AS3722 PMIC. The driver includes MFD, pincontrol and 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. Changes from V2: - Drop the already applied patches on V2 series regmap: add helper macro to set min/max range of register regulator: as3722: add regulator driver for AMS AS3722 - Move the GPIo driver to pincontrol driver to expose the pin configuration through pincontrol. - rewrite the DT binding of the mfd. Laxman Dewangan (3): mfd: add support for AMS AS3722 PMIC pincntrl: add support for AMS AS3722 pin control driver drivers/rtc/rtc-as3722: add RTC driver Documentation/devicetree/bindings/mfd/as3722.txt | 52 ++ .../devicetree/bindings/pinctrl/pinctrl-as3722.txt | 59 ++ drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile | 1 + drivers/mfd/as3722.c | 448 ++++++++++++++ drivers/pinctrl/Kconfig | 11 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-as3722.c | 625 ++++++++++++++++++++ drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-as3722.c | 296 +++++++++ include/linux/mfd/as3722.h | 423 +++++++++++++ 12 files changed, 1939 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/as3722.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-as3722.txt create mode 100644 drivers/mfd/as3722.c create mode 100644 drivers/pinctrl/pinctrl-as3722.c create mode 100644 drivers/rtc/rtc-as3722.c create mode 100644 include/linux/mfd/as3722.h