[PATCH] mfd: axp20x: add mfd axp20x driver

Sascha Hauer sha at pengutronix.de
Tue Aug 30 23:44:23 PDT 2022


On Tue, Aug 30, 2022 at 10:09:11AM +0200, Johannes Zink wrote:
> From: Ahmad Fatoum <a.fatoum at pengutronix.de>
> 
> 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 at pengutronix.de>
> Signed-off-by: Johannes Zink <j.zink at pengutronix.de>
> ---
>  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 |



More information about the barebox mailing list