freebsd-dev/sys/dev/extres/regulator
Emmanuel Vadot 3cb36739ce regulator_fixed: Do not disable fixed regulator at probe
If the regulator is unused it will be disabled by the regulator_shutdown sysinit.

Tested on pinebook where the backlight is controlled by a fixed-regulator.
The regulator doesn't have a regulator-boot-on param (I'm gonna upstream this) and so we disable it at probe.
We later enable it but this cause the screen to go black.
Linux doesn't disable regulator at boot (at least for fixed-regulator) so better match this to have the same UX.

MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D17978
2018-11-26 18:46:15 +00:00
..
regdev_if.m
regnode_if.m Fix handling of enable counter for shared GPIO line in fixed regulator. 2018-06-16 08:25:38 +00:00
regulator_bus.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
regulator_fixed.c regulator_fixed: Do not disable fixed regulator at probe 2018-11-26 18:46:15 +00:00
regulator_fixed.h
regulator.c regulator: Use bool values instead of 0/1 2018-09-04 19:18:55 +00:00
regulator.h Revert r335173 at request of mmel@ 2018-06-15 13:14:45 +00:00