]> git.dujemihanovic.xyz Git - linux.git/commit
mfd: add 88pm88x driver
authorKarel Balej <balejk@matfyz.cz>
Sun, 17 Dec 2023 12:00:20 +0000 (13:00 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sat, 20 Jan 2024 19:52:01 +0000 (20:52 +0100)
commit4982592cf8197a528bb443230a41ce8699fcd491
tree8aec04ba07fc4cbdaa14235f43f8f0bbf8f8023d
parent40739d3f7dd0d189b347a0b070a90e3028118ae3
mfd: add 88pm88x driver

Marvell 88PM880 and 8PM886 are two similar PMICs with mostly matching
register mapping. They provide various functions such as onkey, battery,
charger and regulators.

Add support for 88PM886 found for instance in the samsung,coreprimevelte
smartphone with which this was tested. Support for 88PM880 is not
implemented here but should be straightforward to add.

Implement only the most basic support omitting the currently unused
registers and I2C subclients which should thus be added with the
respective subdevices. However, add support for the onkey already.

Signed-off-by: Karel Balej <balejk@matfyz.cz>
drivers/mfd/88pm88x.c [new file with mode: 0644]
drivers/mfd/Kconfig
drivers/mfd/Makefile
include/linux/mfd/88pm88x.h [new file with mode: 0644]