Re: [PATCH v7 03/39] ARM: ep93xx: add regmap aux_dev
From: Linus Walleij
Date: Wed Mar 06 2024 - 03:07:05 EST
On Thu, Jan 18, 2024 at 9:23 AM Nikita Shubin via B4 Relay
<devnull+nikita.shubin.maquefel.me@xxxxxxxxxx> wrote:
> From: Nikita Shubin <nikita.shubin@xxxxxxxxxxx>
>
> The following driver's should be instantiated by ep93xx syscon driver:
>
> - reboot
> - pinctrl
> - clock
>
> They all require access to DEVCFG register with a shared lock held, to
> avoid conflict writing to swlocked parts of DEVCFG.
>
> Provide common resources such as base, regmap and spinlock via auxiliary
> bus framework.
>
> Signed-off-by: Nikita Shubin <nikita.shubin@xxxxxxxxxxx>
This looks like a reasonable solution.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij