Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fef37e9a authored by Renata Sayakhova's avatar Renata Sayakhova Committed by Greg Kroah-Hartman
Browse files

DS2781 Maxim Stand-Alone Fuel Gauge battery and w1 slave drivers

parent f6e8a1d7
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+874 −0

File added.

Preview size limit exceeded, changes collapsed.

+13 −0
Original line number Diff line number Diff line
@@ -81,6 +81,19 @@ config W1_SLAVE_DS2780

	  If you are unsure, say N.

config W1_SLAVE_DS2781
	tristate "Dallas 2781 battery monitor chip"
	depends on W1
	help
	  If you enable this you will have the DS2781 battery monitor
	  chip 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 W1_SLAVE_BQ27000
	tristate "BQ27000 slave support"
	depends on W1
+1 −0
Original line number Diff line number Diff line
@@ -10,4 +10,5 @@ obj-$(CONFIG_W1_SLAVE_DS2431) += w1_ds2431.o
obj-$(CONFIG_W1_SLAVE_DS2433)	+= w1_ds2433.o
obj-$(CONFIG_W1_SLAVE_DS2760)	+= w1_ds2760.o
obj-$(CONFIG_W1_SLAVE_DS2780)	+= w1_ds2780.o
obj-$(CONFIG_W1_SLAVE_DS2781)	+= w1_ds2781.o
obj-$(CONFIG_W1_SLAVE_BQ27000)	+= w1_bq27000.o
Loading