[U-Boot] [PATCH v1 3/5] regmap: Allow providing read/write callbacks through struct regmap_config

Simon Glass sjg at chromium.org
Wed Oct 30 01:48:31 UTC 2019


Hi Jean-Jacques,

On Fri, 27 Sep 2019 at 07:22, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
> Some linux drivers provide their own read/write functions to access data
> from/of the regmap. Adding support for it.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>
>  drivers/core/regmap.c | 12 ++++++++++++
>  include/regmap.h      | 26 +++++++++++++++++++++++---
>  2 files changed, 35 insertions(+), 3 deletions(-)

This increases code size in SPL so should probably be controlled by a Kconfig.

Also I wonder if regmap should become a uclass if we are adding
operations to it?

Regards,
Simon


More information about the U-Boot mailing list