For each regulators create an hw.<regname>. :
uvolt: Current value
always_on: 1 If the reg is always on
boot_on: 1 If the reg is set at boot time
enable_cnt: Number of consumer(s)
enable_delay: Delay before enabling the regulator
ramp_delay: The Ramp delay
max_uamp: The maximum value of the regulator in uAmps
min_uamp: The minimal value of the regulator in uAmps
max_uvolt: The maximum value of the regulator in uVolts
min_uvolt: The minimal value of the regulator in uVolts
Details
Details
- Reviewers
mmel • ian - Group Reviewers
ARM arm64 - Commits
- rS330758: extres/regulators: Add sysctls for regulators
Tested-On: Pine64-LTS
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/extres/regulator/regulator.c | ||
---|---|---|
155 ↗ | (On Diff #39923) | Extra 'l' |
165 ↗ | (On Diff #39923) | space before else |
174 ↗ | (On Diff #39923) | Why is this not sysctl_handle_int() ? |
352 ↗ | (On Diff #39923) | leading tab vs spaces? phab is showing CTLFLAG_RD aligned differently than others, but you can't trust phab's rendering of tabs much. same with the one below. |