[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1453272906-23183-1-git-send-email-wenyou.yang@atmel.com>
Date: Wed, 20 Jan 2016 14:55:04 +0800
From: Wenyou Yang <wenyou.yang@...el.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
"Rob Herring" <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
"Kumar Gala" <galak@...eaurora.org>
CC: Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Javier Martinez Canillas <javier@...hile0.org>,
Lee Jones <lee.jones@...aro.org>,
Peter Korsgaard <jacmet@...il.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
Wenyou Yang <wenyou.yang@...el.com>
Subject: [PATCH v3 0/2] regulator: act8945a: add regulator driver for the sub-device of ACT8945A MFD
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-January/400534.html
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.
- change the regulator name.
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 | 78 +++++++++
drivers/regulator/Kconfig | 9 +
drivers/regulator/Makefile | 1 +
drivers/regulator/act8945a-regulator.c | 172 ++++++++++++++++++++
4 files changed, 260 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/act8945a-regulator.txt
create mode 100644 drivers/regulator/act8945a-regulator.c
--
1.7.9.5
Powered by blists - more mailing lists