Messages in this thread | | | From | Rob Herring <> | Date | Mon, 6 Feb 2017 15:26:40 -0600 | Subject | Re: [PATCHv2] regulator: cpcap: Add basic regulator support |
| |
On Thu, Feb 2, 2017 at 5:43 PM, Tony Lindgren <tony@atomide.com> wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. This PMIC is used with several SoCs, I've noticed at least > omap3, omap4 and Tegra2 based Motorola phones and tablets using it. > > Cc: devicetree@vger.kernel.org > Cc: Marcel Partap <mpartap@gmx.net> > Cc: Michael Scott <michael.scott@linaro.org> > Cc: Rob Herring <robh@kernel.org> > Signed-off-by: Tony Lindgren <tony@atomide.com> > --- > > With the cpcap core MFD driver now in Linux next as commit > 3d66c8abc13e ("mfd: cpcap: Add minimal support"), here's a related > regulator driver. This is needed to support more devices on droid 4, > such as the LCD and touchscreen. > > Changes since v1: > > - Use standard regulator sel_regmap functions and drop the pointless > custom implementations as commented by Mark Brown > > - Fix unit-address with no reg property as commented by Rob Herring > > --- > .../bindings/regulator/cpcap-regulator.txt | 34 ++
Acked-by: Rob Herring <robh@kernel.org>
> drivers/regulator/Kconfig | 7 + > drivers/regulator/Makefile | 1 + > drivers/regulator/cpcap-regulator.c | 464 +++++++++++++++++++++ > 4 files changed, 506 insertions(+) > create mode 100644 Documentation/devicetree/bindings/regulator/cpcap-regulator.txt > create mode 100644 drivers/regulator/cpcap-regulator.c
| |