Skip to content

Commit

Permalink
rM2: Copy the rM2 max77818 driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alistair23 committed Feb 20, 2023
1 parent c638338 commit 5f1579e
Show file tree
Hide file tree
Showing 12 changed files with 3,870 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/mfd/Kconfig
Expand Up @@ -957,6 +957,17 @@ config MFD_MT6370
This driver can also be built as a module. If so, the module
will be called "mt6370".

config MFD_MAX77818
bool "Maxim Semiconductor MAX77818 REGULATOR/CHARGER/FUEL-GAUGE Support"
depends on I2C=y
select BATTERY_MAX77818_UTILS
select MFD_CORE
select IRW_DOMAIN
help
Say yes here to add support for Maxime Semiconductor MAX77818 device.
The device has a regulator part, a charger part and a fuel-gauge part
which may be enabled as required (power management devices).

config MFD_MT6397
tristate "MediaTek MT6397 PMIC Support"
select MFD_CORE
Expand Down
1 change: 1 addition & 0 deletions drivers/mfd/Makefile
Expand Up @@ -169,6 +169,7 @@ max8925-objs := max8925-core.o max8925-i2c.o
obj-$(CONFIG_MFD_MAX8925) += max8925.o
obj-$(CONFIG_MFD_MAX8997) += max8997.o max8997-irq.o
obj-$(CONFIG_MFD_MAX8998) += max8998.o max8998-irq.o
obj-$(CONFIG_MFD_MAX77818) += max77818.o

obj-$(CONFIG_MFD_MP2629) += mp2629.o

Expand Down

0 comments on commit 5f1579e

Please sign in to comment.