ARM: ep93xx: add regmap aux_dev
authorNikita Shubin <nikita.shubin@maquefel.me>
Fri, 27 Oct 2023 07:24:09 +0000 (10:24 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Mon, 10 Jun 2024 07:10:54 +0000 (10:10 +0300)
commit406c89fa90bb53e9d02148d31e121befbd36f246
tree763565443992cdc60bfccf027ed6138469029b8f
parent423f64664eda51396f7cfdc2e4e5ae61e37da294
ARM: ep93xx: add regmap aux_dev

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@maquefel.me>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
include/linux/soc/cirrus/ep93xx.h