mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 18:12:27 +02:00
None
The PMU initializes all GPIOs to inputs in NoPower, including GPIO2, which drives GSM_ON and has an external pull-up. Furthermore, we may have entered PMU.Standby with the modem up. Unlike u-boot, qi didn't initialize the GPIOs. With this patch is does. Reported-by: Paul Ferster <fercerpav@gmail.com> Signed-off-by: Werner Almesberger <werner@openmoko.org>
This commit is contained in:
parent
fbc7e8b244
commit
4a8cabd5a9
@ -45,6 +45,9 @@ const struct pcf50633_init pcf50633_init[] = {
|
|||||||
{ PCF50633_REG_OOCMODE, 0x55 },
|
{ PCF50633_REG_OOCMODE, 0x55 },
|
||||||
{ PCF50633_REG_OOCCTL, 0x47 },
|
{ PCF50633_REG_OOCCTL, 0x47 },
|
||||||
|
|
||||||
|
{ PCF50633_REG_GPIO2CFG, 0x00 }, /* GSM_ON = 0 */
|
||||||
|
{ PCF50633_REG_GPIOCTL, 0x01 }, /* only GPIO1 is input */
|
||||||
|
|
||||||
{ PCF50633_REG_SVMCTL, 0x08 }, /* 3.10V SYS vth, 62ms filter */
|
{ PCF50633_REG_SVMCTL, 0x08 }, /* 3.10V SYS vth, 62ms filter */
|
||||||
{ PCF50633_REG_BVMCTL, 0x02 }, /* 2.80V BAT vth, 62ms filter */
|
{ PCF50633_REG_BVMCTL, 0x02 }, /* 2.80V BAT vth, 62ms filter */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user