opnsense-src/sys/dev/extres/regulator
Emmanuel Vadot 9c3a56d076 regulator: Add regulator_check_voltage function
This function will call the regnode_check_voltage method for a given regulator
and check if the desired voltage in reachable by it.
Also adds a default method that check the std_param and which should be enough
for most regulators and add it as the method for axp* rk805 and fixed regulators.

Reviewed by:	mmel
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D22260
2019-11-06 14:55:24 +00:00
..
regdev_if.m
regnode_if.m regulator: Add regulator_check_voltage function 2019-11-06 14:55:24 +00:00
regulator.c regulator: Add regulator_check_voltage function 2019-11-06 14:55:24 +00:00
regulator.h regulator: Add regulator_check_voltage function 2019-11-06 14:55:24 +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: Add regulator_check_voltage function 2019-11-06 14:55:24 +00:00
regulator_fixed.h