[U-Boot] [PATCH 16/17] omap5: pbias ldo9 turn on

Tom Rini trini at ti.com
Mon Feb 20 18:52:13 CET 2012


On Fri, Feb 17, 2012 at 05:35:32PM +0530, R Sricharan wrote:

> From: Balaji T K <balajitk at ti.com>
> 
> Add omap5 pbias configuration for mmc1/sd lines
> and set voltage for sd data i/o lines
> 
> Signed-off-by: Balaji T K <balajitk at ti.com>

[snip]
> diff --git a/drivers/power/twl6035.c b/drivers/power/twl6035.c
> index 978a7ad..878117e 100644
> --- a/drivers/power/twl6035.c
> +++ b/drivers/power/twl6035.c
> @@ -51,4 +51,18 @@ void twl6035_init_settings(void)
>  {
>  	return;
>  }
> +
> +void twl6035_mmc1_poweron_ldo(void)
> +{
> +	u8 val = 0;
> +
> +	/* set LDO9 TWL6035 to 3V */
> +	val = 0x2b; /* (3 -.9)*28 +1 */
> +	palmas_write_u8(0x48, LDO9_VOLTAGE, val);
> +
> +	/* TURN ON LDO9 */
> +	val = LDO_ON | LDO_MODE_SLEEP | LDO_MODE_ACTIVE;
> +	palmas_write_u8(0x48, LDO9_CTRL, val);
> +	return;
> +}

This is when we should add those two previous inlines.  Please use
git test-sequence to make sure the series is clean, thanks.

-- 
Tom


More information about the U-Boot mailing list