Re: [PATCH V5] mfd: syscon: Add arguments support for syscon reference

From: Lee Jones
Date: Tue Jan 21 2020 - 03:38:14 EST


On Tue, 21 Jan 2020, Orson Zhai wrote:

> From: Orson Zhai <orson.zhai@xxxxxxxxxx>
>
> There are a lot of similar global registers being used across multiple SoCs
> from Unisoc. But most of these registers are assigned with different offset
> for different SoCs. It is hard to handle all of them in an all-in-one
> kernel image.
>
> Add a helper function to get regmap with arguments where we could put some
> extra information such as the offset value.
>
> Signed-off-by: Orson Zhai <orson.zhai@xxxxxxxxxx>
> Tested-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
> Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> Change V5:
> Removed unexpected preceding spaces replaced by email system.
> The patch has been tested for local mailing and applying.
>
> drivers/mfd/syscon.c | 29 +++++++++++++++++++++++++++++
> include/linux/mfd/syscon.h | 14 ++++++++++++++
> 2 files changed, 43 insertions(+)

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog