summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sunxi/syscon.c
AgeCommit message (Collapse)Author
2026-07-27arm: mach-sunxi: add syscon driver for system-control nodesJunhui Liu
The upstream Linux kernel relies on the sunxi_sram driver to bind the system-control nodes as syscon devices. Since U-Boot lacks this SRAM driver, peripheral drivers may fail to resolve the syscon node unless an explicit "syscon" compatible is added into the device tree. To address this, add a bare UCLASS_SYSCON driver that matches all Allwinner system-control and SRAM controller compatibles listed in the Linux kernel to provide the necessary regmap access to the system controller. Signed-off-by: Junhui Liu <[email protected]>