On Tue, Aug 30, 2022 at 10:09:11AM +0200, Johannes Zink wrote: > From: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > > This commit ports the axp20x driver from linux kernel code. Structures > not applicable for barebox are being dropped. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > Signed-off-by: Johannes Zink <j.zink@xxxxxxxxxxxxxx> > --- > drivers/mfd/Kconfig | 8 + > drivers/mfd/Makefile | 1 + > drivers/mfd/axp20x-i2c.c | 71 ++++++ > drivers/mfd/axp20x.c | 360 ++++++++++++++++++++++++++++ > include/linux/mfd/axp20x.h | 477 +++++++++++++++++++++++++++++++++++++ > 5 files changed, 917 insertions(+) > create mode 100644 drivers/mfd/axp20x-i2c.c > create mode 100644 drivers/mfd/axp20x.c > create mode 100644 include/linux/mfd/axp20x.h Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |