[U-Boot] [linux-sunxi] [PATCH 6/8] power: axp209: Add support for voltage rate control on LDO3

Olliver Schinagl o.schinagl at ultimaker.com
Wed Mar 1 16:02:36 UTC 2017


Hey Marcus,

On 01-03-17 16:10, Marcus Weseloh wrote:
> Hi Oliver,
>
> 2017-03-01 13:52 GMT+01:00 Olliver Schinagl <oliver at schinagl.nl
> <mailto:oliver at schinagl.nl>>:
>
>     +#define AXP209_VRC_LDO3_EN             BIT(3)
>     +#define AXP209_VRC_DCDC2_EN            BIT(2)
>     +#define AXP209_VRC_LDO3_800uV_uS       (BIT(1) | AXP209_VRC_LDO3_EN)
>     +#define AXP209_VRC_LDO3_1600uV_uS      AXP209_VRC_LDO3_EN
>
>
> Does that mean that the description of the LDO3/DCDC2 VRC control on the
> linux-sunxi wiki [1] and the PDF datasheet [2] are wrong? They say that
> VRC for LDO3 is enabled if the bit is 0, disabled when the bit is 1. And
> that the default value is enabled.

Yes you are correct (and well spotted) that the datasheet is wrong. It 
took us some time to figure out why it wasn't working :)

I thought I updated the wiki, but I must have done it incorrectly. I 
will fix it immediatly.

olliver


>
> [1]
> http://linux-sunxi.org/AXP209#REG_25H:_DC-DC2.2FLDO3_dynamic_voltage_scaling_parameter_settings
> [2] http://dl.linux-sunxi.org/AXP/AXP209_Datasheet_v1.0en.pdf
>
> Cheers,
>
>   Marcus


More information about the U-Boot mailing list