Enforce voltage limits from the device tree. Enforcing the limits also
authorkettenis <kettenis@openbsd.org>
Sat, 16 Dec 2017 21:12:03 +0000 (21:12 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 16 Dec 2017 21:12:03 +0000 (21:12 +0000)
commite26268591e06ebf7bd2d277f15d0a8526d27eddc
treee63bfc07a99037851ec0c895daa939f1905fedea
parent9072ca2b4acbf251cdc524551ea69ddc75c3966f
Enforce voltage limits from the device tree.  Enforcing the limits also
happens when regulators are registered.  As a consequence they will be
properly initialized even when the firmware doesn't do that.

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