From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751977AbcBEEg5 (ORCPT ); Thu, 4 Feb 2016 23:36:57 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:15934 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbcBEEgk (ORCPT ); Thu, 4 Feb 2016 23:36:40 -0500 From: Wenyou Yang To: Liam Girdwood , Mark Brown , "Rob Herring" , Pawel Moll , Ian Campbell , Kumar Gala CC: Krzysztof Kozlowski , Javier Martinez Canillas , Lee Jones , Peter Korsgaard , Nicolas Ferre , , , , Wenyou Yang Subject: [PATCH v5 0/2] regulator: act8945a: add regulator driver for the sub-device of ACT8945A MFD Date: Fri, 5 Feb 2016 12:33:29 +0800 Message-ID: <1454646811-19472-1-git-send-email-wenyou.yang@atmel.com> X-Mailer: git-send-email 1.7.9.5 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 The ACT8945A is a Multi Function Device with the following subdevices: - Regulator - Charger This patch set is to add regulator driver for ACT8945A. It is based on the patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-February/405258.html Changes in v5: - remove the OF table. - due to the mfd cell .of_compatible removal, use the platform device's parent of_node to read the property and assign it to the config.dev->of_node. - move the config assignment out of the for loop. - due the mfd cell .of_compatible removal, update the compatibe description and example Changes in v4: - change the name "act8945a-pmic" to "act8945a-regulator" to align mfd subdevice's name. Changes in v3: - use the core regulators_node and of_match implementation, remove the redundant code. - use the core dev_get_regmap(dev->parent) code, remove the redundant code. - change the regulator name to easily implement macro. - use a space after #define, not tabs. - add OF match table. Changes in v2: - add more help information in Kconfig. - update the file header with short version license and author line. - remove unused structure, struct act8945a_pmic. - substitute of_property_read_bool() for of_get_property(). - due to removing the member of stuct act8945a_dev, dev. - remove the unnecessary print out. - use module_platform_driver(), instead of subsys_initcall(). - substitute MODULE_LICENSE("GPL") for MODULE_LICENSE("GPL v2"). - add Acked-by Rob Herring. Wenyou Yang (2): regulator: act8945a: add regulator driver for ACT8945A regulator: add documentation for ACT8945A's regulator DT bindings .../bindings/regulator/act8945a-regulator.txt | 80 ++++++++++ drivers/regulator/Kconfig | 9 ++ drivers/regulator/Makefile | 1 + drivers/regulator/act8945a-regulator.c | 165 ++++++++++++++++++++ 4 files changed, 255 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/act8945a-regulator.txt create mode 100644 drivers/regulator/act8945a-regulator.c -- 1.7.9.5