-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applies on top of uboot-pcf50633-default-curr-lim-1A.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHvMQ3OjLpvpq7dMoRAhHFAJwKs/HEhJ5qg/x4xV2qhfrGnpD8KQCfZ3jJ
AYMcIoWx5V2rt6SuUIQ3tl4=
=hdwC
-----END PGP SIGNATURE-----
fix-uboot-pcf50633-default-curr-lim-500mA.patch
From: Andy Green <[EMAIL PROTECTED]>
Apply on top of uboot-pcf50633-default-curr-lim-1A.patch.
Just sets the default limit to 500mA which is inside overall
USB spec (duh). This current limit is enough for a GTA02
without a battery to work fine from USB alone.
Harald Welte notes we should only pull 100mA until we
negotiated more with the host, currently we don't do this.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
---
board/neo1973/gta02/pcf50633.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/neo1973/gta02/pcf50633.c b/board/neo1973/gta02/pcf50633.c
index 4d7833d..e8010d6 100644
--- a/board/neo1973/gta02/pcf50633.c
+++ b/board/neo1973/gta02/pcf50633.c
@@ -109,7 +109,7 @@ const u_int8_t pcf50633_initial_regs[__NUM_PCF50633_REGS] = {
[PCF50633_REG_MBCC4] = 0xff, /* 255/255 == 1A adapter fast */
[PCF50633_REG_MBCC5] = 0xff, /* 255/255 == 1A usb fast */
[PCF50633_REG_MBCC6] = 0x00, /* cutoff current 1/32 * Ichg */
- [PCF50633_REG_MBCC7] = 0x02, /* 1.6A max bat curr, USB 1A */
+ [PCF50633_REG_MBCC7] = 0x01, /* 1.6A max bat curr, USB 500mA */
[PCF50633_REG_MBCC8] = 0x00,
[PCF50633_REG_BBCCTL] = 0x19, /* 3V, 200uA, on */