Re: [PATCH 5.4 47/51] regmap: Add bulk read/write callbacks into regmap_config

Mark Brown
2024-03-13T17:09:16Z

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

On Wed, Mar 13, 2024 at 01:02:08PM -0400, Sasha Levin wrote:
> From: Marek Vasut <marex@denx.de>
>
> [ Upstream commit d77e745613680c54708470402e2b623dcd769681 ]
>
> Currently the regmap_config structure only allows the user to implement
> single element register read/write using .reg_read/.reg_write callbacks.
> The regmap_bus already implements bulk counterparts of both, and is being
> misused as a workaround for the missing bulk read/write callbacks in
> regmap_config by a couple of drivers. To stop this misuse, add the bulk
> read/write callbacks to regmap_config and call them from the regmap core
> code.

New feature.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]