]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: io-domain: add support for PX30
authorQuentin Schulz <quentin.schulz@cherry.de>
Fri, 14 Jun 2024 16:54:13 +0000 (18:54 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 17 Jul 2024 03:54:38 +0000 (11:54 +0800)
commite9a1a238a5316c0171d80a2862c2f7a2fcc0a256
tree631eb9732a84951fd29544fd98c15ad6e63920c5
parent008cc3d7465b81085a646ac7961cb271ef3873be
rockchip: io-domain: add support for PX30

Port the PX30 part of the Rockchip IO Domain driver from Linux.

This differs from linux version in that the 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 supplies that have been configured.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/misc/rockchip-io-domain.c