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)
Thu, Mar 28, 11:03 PM
Unknown Object (File)
Jan 11 2024, 10:48 PM
Unknown Object (File)
Dec 20 2023, 3:04 AM
Unknown Object (File)
Nov 13 2023, 6:40 AM
Unknown Object (File)
Nov 10 2023, 10:52 AM
Unknown Object (File)
Nov 9 2023, 4:47 PM
Unknown Object (File)
Nov 7 2023, 1:41 AM
Unknown Object (File)
Oct 9 2023, 9:46 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 Skipped
Unit
Tests Skipped