Disallow setting the voltage of coupled regulators for now. Some RK3588
authorkettenis <kettenis@openbsd.org>
Fri, 14 Jun 2024 20:00:32 +0000 (20:00 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 14 Jun 2024 20:00:32 +0000 (20:00 +0000)
commitadf16401905cf40504aacdb4326a02f7a66e5abb
treecd907be5288910e72e4f4c8da3cddb0a934cb06f
parent296cb5dff06f595c2590ca32bcbf365ed75f9d99
Disallow setting the voltage of coupled regulators for now.  Some RK3588
boards use different regulators for CPU core voltage and memory interface
voltage.  But the two have to be kept synchronized.  So the devicetree for
these boards marks these regulators as coupled.  We have no support for
coupled regulators yet and letting the DVFS code set just the CPU core
voltage would probably lead to strange crashes.

ok mlarkin@
sys/dev/ofw/ofw_regulator.c
sys/dev/ofw/ofw_regulator.h