1
0
Fork 0

rM2: power: supply: Copy the rM2 bd7181x-power driver

Copy the rM2 zero-sugar branch
(https://github.com/reMarkable/linux/tree/zero-sugar) to the new kernel.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
5.4-rM2-2.2.x-imx-deep-sleep
Alistair Francis 2021-02-07 13:13:22 -08:00
parent 4879c1b867
commit 81326a172e
3 changed files with 2258 additions and 0 deletions

View File

@ -44,6 +44,12 @@ config APM_POWER
Say Y here to enable support APM status emulation using
battery class devices.
config BD7181X_POWER
tristate "ROHM BD71815/BD71817 Charger for Battery and Adapter Power"
depends on MFD_BD7181X
help
Say Y to enable support for the BD71815/BD71817 charger.
config GENERIC_ADC_BATTERY
tristate "Generic battery support using IIO"
depends on IIO

View File

@ -11,6 +11,7 @@ obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
obj-$(CONFIG_PDA_POWER) += pda_power.o
obj-$(CONFIG_APM_POWER) += apm_power.o
obj-$(CONFIG_BD7181X_POWER) += bd7181x-power.o
obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o
obj-$(CONFIG_MAX8925_POWER) += max8925_power.o
obj-$(CONFIG_WM831X_BACKUP) += wm831x_backup.o

File diff suppressed because it is too large Load Diff