]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: Port IO-domain driver for RK3568 from linux
authorJonas Karlman <jonas@kwiboo.se>
Mon, 21 Aug 2023 22:30:28 +0000 (22:30 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 7 Oct 2023 08:49:41 +0000 (16:49 +0800)
commit09329df25f69f76751691c5a6d7a9e6f6567bc4c
tree5ab47762b65ff50acd38b2610523b62acbc79d81
parentbb657ffdd688dc08073734a402914ec0a8492d53
rockchip: Port IO-domain driver for RK3568 from linux

Port the Rockchip IO-domain driver for RK3568 from linux.

The driver auto probe after bind to configure IO-domain based on the
regulator voltage. Compared to the linux driver this driver is not
notified about regulator voltage changes and only configure IO-domain
based on the initial voltage autoset by the regulator.

It is not recommended to enable MMC_IO_VOLTAGE or the mmc signal voltage
and IO-domain may end up out of sync.

Based on the linux commit 28b05a64e47c ("soc: rockchip: io-domain: add
rk3568 support").

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/rockchip-io-domain.c [new file with mode: 0644]