Skip to content

Commit

Permalink
gta02: Set pcf50633 charger_reference_current_ma
Browse files Browse the repository at this point in the history
This value is board-specific and is needed for calculations to set
charging current limit properly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Nelson Castillo <arhuaco@freaks-unidos.net>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
  • Loading branch information
Lars-Peter Clausen authored and Anton Vorontsov committed Nov 16, 2009
1 parent c329795 commit 2f745dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-s3c2442/mach-gta02.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2f745dd

Please sign in to comment.