Re: [PATCH 2/7] regulator: axp20x: Add support for AXP813 regulators

From: Lee Jones
Date: Wed Oct 04 2017 - 06:50:27 EST


On Fri, 29 Sep 2017, Chen-Yu Tsai wrote:

> The AXP813 PMIC has 7 DC-DC buck regulators, 16 LDOs (including the
> fixed RTC LDO and 2 GPIO LDOs), and 1 switchable. The drive-vbus
> feature is also supported. All the hardware details are very similar
> to the AXP803, with the following exceptions:
>
> - Extra DCDC7 buck regulator, with the same range as DCDC6
>
> - SWitch now has a separate supply pin, instead of being chained
> internaly from DCDC1
>
> - RTC LDO output voltage is now 1.8V
>
> - FLDO3 is an LDO with switchable supplies, but unconfigurable output
> voltage. The voltage is always half that of its supply.
>
> Support for FLDO3 is currently unimplemented, as it requires runtime
> switching of its supplies, something the regulator subsystem does not
> support. It is not used in either the reference designs nor actually
> produced boards available.
>
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
> Tested-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/regulator/axp20x-regulator.c | 102 +++++++++++++++++++++++++++++++++--

> include/linux/mfd/axp20x.h | 3 ++

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

> 2 files changed, 101 insertions(+), 4 deletions(-)

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog