projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c329795
)
gta02: Set pcf50633 charger_reference_current_ma
author
Lars-Peter Clausen
<
[email protected]
>
Wed, 4 Nov 2009 21:24:56 +0000
(
00:24
+0300)
committer
Anton Vorontsov
<
[email protected]
>
Mon, 16 Nov 2009 00:32:42 +0000
(
03:32
+0300)
This value is board-specific and is needed for calculations to set
charging current limit properly.
Signed-off-by: Lars-Peter Clausen <
[email protected]
>
Acked-by: Nelson Castillo <
[email protected]
>
Signed-off-by: Paul Fertser <
[email protected]
>
Cc: Russell King <
[email protected]
>
Cc: Ben Dooks <
[email protected]
>
Signed-off-by: Anton Vorontsov <
[email protected]
>
arch/arm/mach-s3c2442/mach-gta02.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s3c2442/mach-gta02.c
b/arch/arm/mach-s3c2442/mach-gta02.c
index 0fb385bd9cd9c44eaa164cfe14d6721063eab8d3..99d42446d0ff8195b6a13ac41d40d2b8634c140f 100644
(file)
--- a/
arch/arm/mach-s3c2442/mach-gta02.c
+++ b/
arch/arm/mach-s3c2442/mach-gta02.c
@@
-268,6
+268,9
@@
struct pcf50633_platform_data gta02_pcf_pdata = {
.batteries = gta02_batteries,
.num_batteries = ARRAY_SIZE(gta02_batteries),
+
+ .charger_reference_current_ma = 1000,
+
.reg_init_data = {
[PCF50633_REGULATOR_AUTO] = {
.constraints = {