Skip to content

Commit

Permalink
[BATTERY] 1-Wire ds2760 chip battery driver
Browse files Browse the repository at this point in the history
This is driver for batteries with ds2760 chip inside, found inside
almost every HP iPaq and HTC PDAs/phones.

Signed-off-by: Anton Vorontsov <cbou@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Anton Vorontsov authored and David Woodhouse committed Jul 10, 2007
1 parent 3788ec9 commit fe0e315
Show file tree
Hide file tree
Showing 3 changed files with 479 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,11 @@ config APM_POWER
Say Y here to enable support APM status emulation using
battery class devices.

config BATTERY_DS2760
tristate "DS2760 battery driver (HP iPAQ & others)"
select W1
select W1_SLAVE_DS2760
help
Say Y here to enable support for batteries with ds2760 chip.

endif # POWER_SUPPLY
2 changes: 2 additions & 0 deletions drivers/power/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ obj-$(CONFIG_POWER_SUPPLY) += power_supply.o

obj-$(CONFIG_PDA_POWER) += pda_power.o
obj-$(CONFIG_APM_POWER) += apm_power.o

obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
Loading

0 comments on commit fe0e315

Please sign in to comment.