[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200121083825.GI15507@dell>
Date: Tue, 21 Jan 2020 08:38:25 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Orson Zhai <orson.unisoc@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
baolin.wang@...soc.com, chunyan.zhang@...soc.com,
Orson Zhai <orson.zhai@...soc.com>
Subject: Re: [PATCH V5] mfd: syscon: Add arguments support for syscon
reference
On Tue, 21 Jan 2020, Orson Zhai wrote:
> From: Orson Zhai <orson.zhai@...soc.com>
>
> 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@...soc.com>
> Tested-by: Baolin Wang <baolin.wang@...soc.com>
> Reviewed-by: Arnd Bergmann <arnd@...db.de>
> Acked-by: Lee Jones <lee.jones@...aro.org>
> ---
> 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
Powered by blists - more mailing lists