fixed regulators might rely on other regulators specified by "vin-supply"
authordlg <dlg@openbsd.org>
Sat, 15 Apr 2023 03:19:43 +0000 (03:19 +0000)
committerdlg <dlg@openbsd.org>
Sat, 15 Apr 2023 03:19:43 +0000 (03:19 +0000)
commite28026edd40423b99cb9a55002cf1cb246d06631
tree6ec835b7b0cedf7b1c5161a8a5442537ca3d07f1
parent024c060e7ddb92902a454d10cc3ab96d6360355a
fixed regulators might rely on other regulators specified by "vin-supply"

when turning a fixed regulator on, turn on the regulator specified
in vin-supply too.

kettenis agrees we should do this.
sys/dev/ofw/ofw_regulator.c