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

From: Arnd Bergmann
Date: Wed Dec 11 2019 - 08:56:00 EST


On Wed, Dec 11, 2019 at 5:09 AM Orson Zhai <orson.zhai@xxxxxxxxxx> wrote:
>
> 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>