[U-Boot] [PATCH] sunxi: axp221: Fix using the wrong register address for ALDO2

Ian Campbell ijc at hellion.org.uk
Mon Jan 5 18:09:24 CET 2015


On Mon, 2015-01-05 at 17:18 +0100, Hans de Goede wrote:
> This fixes us never programming ALDO2, and programming the ALDO2 voltage
> into ALDo1.
> 
> Reported-by: Siarhei Siamashka <siarhei.siamashka at gmail.com>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

Acked-by: Ian Campbell <ijc at hellion.org.uk>

> ---
>  include/axp221.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/axp221.h b/include/axp221.h
> index a6e52e3..e9552f6 100644
> --- a/include/axp221.h
> +++ b/include/axp221.h
> @@ -43,7 +43,7 @@
>  #define AXP221_DCDC4_CTRL	0x24
>  #define AXP221_DCDC5_CTRL	0x25
>  #define AXP221_ALDO1_CTRL	0x28
> -#define AXP221_ALDO2_CTRL	0x28
> +#define AXP221_ALDO2_CTRL	0x29
>  #define AXP221_ALDO3_CTRL	0x2a
>  #define AXP221_PAGE		0xff
>  




More information about the U-Boot mailing list