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, Oct 13, 1:07 AM
Unknown Object (File)
Aug 11 2025, 4:40 PM
Unknown Object (File)
Aug 8 2025, 12:07 AM
Unknown Object (File)
Jul 9 2025, 9:00 AM
Unknown Object (File)
Jul 9 2025, 7:11 AM
Unknown Object (File)
Jul 9 2025, 3:02 AM
Unknown Object (File)
Jul 9 2025, 1:22 AM
Unknown Object (File)
Jul 5 2025, 11:07 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