Re: [PATCH 2/2] ARM: mmp2: support sdio device 8787

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jul 27, 2011, at 7:44 PM, zhangfei gao wrote:

>>> +
>>> +static struct fixed_voltage_config sdio_power = {
>>> +     .supply_name            = "vmmc",
>>> +     .microvolts             = 3000000,
>>> +     .gpio                   = mfp_to_gpio(MFP_PIN_GPIO57),
>>> +     .enable_high            = 1,
>>> +     .enabled_at_boot        = 0,
>>> +     .init_data              = &sdio_power_data,
>>> +};
>>> +
>> 
>> ldo7 is the power source.   The 8787 is the consumer and the code should reflect this.
>> GPIO57 is an on/off switch to the 8787.
>> 
>> 
> Instead of LDO7, 8787 is powered with V_SD2, V_BATT, and VLDO12 on brownstone.
> Use PDn to control 8787 power is recommended method.
> 1. Some LDO is shared and can not be cut down.
> 2. Control LDO is much slower, some time is needed for voltage to
> decay, and the time is not accurate to control.
> 3. With LDO powered, 8787 is under control and 8787 could put itself
> to the lowest state.


LDO is dedicated to 8787 and can be left on.    The power picture is ldo (as regulator)
and 8787 as consumer.  Code does not show this relationship.  The 8787 in deep sleep
draws very little power but since even this small power usage is a concern the disabling
the ldo can reduce power further.--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux