HomeFreeBSD

regulator: Add regulator_check_voltage function

Description

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

Details

Provenance
manuAuthored on Nov 6 2019, 2:55 PM
Parents
rGed91ae7fe69c: IPv6 tests: test case for scapy bpf parsing bug
Branches
Unknown
Tags
Unknown

Event Timeline