]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: io-domain: Add support for RK3399
authorJonas Karlman <jonas@kwiboo.se>
Tue, 12 Mar 2024 23:36:15 +0000 (23:36 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 10:19:27 +0000 (18:19 +0800)
commit626dbdd51234f321a0c8d6ba4ca51a71b2b48990
treecdc7bf1bbf45b0e70eaa8db754b12564a7d44860
parentb65850509c9443e8e5fb8fb9c01a9be82441bc35
rockchip: io-domain: Add support for RK3399

Port the RK3399 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.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/misc/rockchip-io-domain.c