Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575154

Re: [PATCHv2] regulator: cpcap: Add basic regulator support

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCHv2] regulator: cpcap: Add basic regulator support
Date 2017-02-06 22:30 +0100
Message-ID <t7Z1f-1XE-13@gated-at.bofh.it> (permalink)
References <t6ziy-2dQ-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCHv2] regulator: cpcap: Add basic regulator support Tony Lindgren <tony@atomide.com> - 2017-02-03 00:50 +0100
  Applied "regulator: cpcap: Add basic regulator support" to the regulator tree Mark Brown <broonie@kernel.org> - 2017-02-04 12:50 +0100
  Re: [PATCHv2] regulator: cpcap: Add basic regulator support Rob Herring <robh@kernel.org> - 2017-02-06 22:30 +0100

csiph-web