]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: system-controller: Rework to use UCLASS_SYSCON
authorMarek Behún <kabel@kernel.org>
Thu, 4 Apr 2024 07:50:58 +0000 (09:50 +0200)
committerStefan Roese <sr@denx.de>
Thu, 4 Apr 2024 08:45:27 +0000 (10:45 +0200)
commitab900a6aee1cfbb13a2c838eb14936d0ea9227b9
tree91163c7558daefc4a5190c210c3203eb1e4660a2
parent3eeb293a91c8840ad04e388dfe822a0b7a139a2f
arm: mvebu: system-controller: Rework to use UCLASS_SYSCON

The system-controller driver for 32-bit Armada is currently registered
as UCLASS_RESET, since it only provides enabling/disabling PCIe ports.

Rework it as UCLASS_SYSCON and bind mvebu-reset as a child device.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile
arch/arm/mach-mvebu/system-controller.c