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

Lee Jones lee.jones at linaro.org
Wed Oct 4 03:50:18 PDT 2017


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 at csie.org>
> Tested-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  drivers/regulator/axp20x-regulator.c | 102 +++++++++++++++++++++++++++++++++--

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

Acked-by: Lee Jones <lee.jones at linaro.org>

>  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



More information about the linux-arm-kernel mailing list