Page MenuHomeFreeBSD

regulator: Add regulator_check_voltage function
ClosedPublic

Authored by manu on Nov 6 2019, 2:29 PM.
Tags
None
Referenced Files
F160746000: D22260.diff
Sat, Jun 27, 11:30 AM
Unknown Object (File)
Tue, Jun 23, 1:52 AM
Unknown Object (File)
Sun, Jun 14, 7:54 PM
Unknown Object (File)
Sat, Jun 6, 8:58 AM
Unknown Object (File)
Fri, Jun 5, 6:21 PM
Unknown Object (File)
May 16 2026, 7:17 AM
Unknown Object (File)
May 8 2026, 3:57 AM
Unknown Object (File)
May 8 2026, 2:21 AM
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