[PATCH 0/5] add regmap helpers for NVMEM and i2c

Sascha Hauer sha at pengutronix.de
Tue Jun 1 23:36:26 PDT 2021


On Mon, May 31, 2021 at 09:24:01AM +0200, Ahmad Fatoum wrote:
> Incoming BeagleV support should support an i2c-connected PMIC and
> a fuse bank for retrieval of the MAC address. On the STM32MP1, we
> also support an i2c-connected PMIC and a fuse bank for MAC address.
> 
> Instead of duplicating too much code, add some helpers, so drivers can
> drop common boilerplate. The relevant STM32 drivers are ported to make
> use of it.
> 
> Ahmad Fatoum (5):
>   regmap: implement regmap_init_i2c
>   mfd: stpmic1: simplify using regmap_init_i2c
>   nvmem: provider: align read/write callback prototype with upstream
>   nvmem: add nvmem_regmap_register helper
>   nvmem: stm32-bsec: simplify using new nvmem_regmap_register

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