]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: rockchip: Add driver for the io domain
authormanu <manu@FreeBSD.org>
Sat, 28 Dec 2019 15:30:50 +0000 (15:30 +0000)
committermanu <manu@FreeBSD.org>
Sat, 28 Dec 2019 15:30:50 +0000 (15:30 +0000)
commitfe6463862ccf9f935ac21e5f2fc8f701f661c20f
tree3ace5c54e9f6129224020e3926479ab65b1584b2
parentc0f6a2ec659599f8a8615b27fec36a9b52a72fe9
arm64: rockchip: Add driver for the io domain

This driver configure the registers in the GRF according to the value
of the regulators for the platform.
Some IP can run with either 3.0V or 1.8V, if we don't configure them
correctly according to the external voltage used they will not work.
It's only done at boot time for now and might be needed at runtime for
IP like sdmmc.

Reviewed by: mmel
Tested On: RockPro64, Firefly-RK3399 (gonzo), AIO-3288 (mmel)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D22854
sys/arm64/conf/GENERIC
sys/arm64/rockchip/rk_iodomain.c [new file with mode: 0644]
sys/conf/files.arm64