]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: io-domain: Add support for RK3328
authorJonas Karlman <jonas@kwiboo.se>
Sun, 21 Apr 2024 20:09:03 +0000 (20:09 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
commitf43b6d4714ee7818cac5c8ef099ab461e12cce83
treef040a6d6f3250068d2251aeb0a3f555022e90435
parent2fdc86dbb1bce4f4a8ff85d5bd0543a0b90a96a1
rockchip: io-domain: Add support for RK3328

Port the RK3328 part of the Rockchip IO-domain driver from linux.

This differs from linux version in that pmu io iodomain bit is enabled
in the write ops instead of in an init ops as in linux, this way we can
avoid keeping a full state of all supply that have been configured.

Enable by default on all RK3328 boards, skip rk3328-evb because this
target is typically also used on miscellaneous boards and boxes not
fully supported by U-Boot.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3328/syscon_rk3328.c
configs/evb-rk3328_defconfig
drivers/misc/Kconfig
drivers/misc/rockchip-io-domain.c