Page MenuHomeFreeBSD

regulator: Add regulator_check_voltage function
ClosedPublic

Authored by manu on Nov 6 2019, 2:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 23, 6:16 PM
Unknown Object (File)
Mon, Mar 23, 10:31 AM
Unknown Object (File)
Sat, Mar 21, 5:54 AM
Unknown Object (File)
Wed, Mar 18, 5:28 AM
Unknown Object (File)
Tue, Mar 17, 5:37 AM
Unknown Object (File)
Tue, Mar 17, 3:32 AM
Unknown Object (File)
Sat, Mar 7, 7:25 PM
Unknown Object (File)
Fri, Mar 6, 8:00 PM
Subscribers

Details

Summary

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.

Test Plan

Tested on Pine64-LTS and NanoPi-M1-Plus

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable