Skip to content

Commit

Permalink
DS2781 Maxim Stand-Alone Fuel Gauge battery and w1 slave drivers
Browse files Browse the repository at this point in the history
Signed-off-by: Renata Sayakhova <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Renata Sayakhova authored and gregkh committed Mar 8, 2012
1 parent f6e8a1d commit fef37e9
Show file tree
Hide file tree
Showing 8 changed files with 1,241 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ config BATTERY_DS2780
help
Say Y here to enable support for batteries with ds2780 chip.

config BATTERY_DS2781
tristate "2781 battery driver"
depends on HAS_IOMEM
select W1
select W1_SLAVE_DS2781
help
If you enable this you will have the DS2781 battery driver support.

The battery monitor chip is used in many batteries/devices
as the one who is responsible for charging/discharging/monitoring
Li+ batteries.

If you are unsure, say N.

config BATTERY_DS2782
tristate "DS2782/DS2786 standalone gas-gauge"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/power/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ obj-$(CONFIG_TEST_POWER) += test_power.o

obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o
obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o
obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o
obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o
Expand Down
Loading

0 comments on commit fef37e9

Please sign in to comment.