diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2015-06-09 18:46:31 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2015-06-09 18:46:31 +0000 |
commit | 8054d7cc0df799c2aa3afd8958fbc1d7d156dc21 (patch) | |
tree | c25bb64cf0528ede6beb19ff07f46ffebdd0fce3 /usr.bin/sed | |
parent | 65a9768f629241e6024855c5066c0418a41e6eda (diff) |
Extend TPS65217 support to be able to pull and decode battery
charger configuration and provide some basic control knobs to
set charger voltage and dump config on boot. Two loader tunables
have been added:
o hw.am335x_pmic.bootverbose set to 1 to get more info on the
boot;
o hw.am335x_pmic.vo: set to charger voltage to be applied on
kernel initialization time, supported values are "4.10V",
"4.15V", "4.20V" and "4.25V".
Cleanup code a bit in general, move TPS65217 register
definitions into a separate header, convert bit-banging
defines into bitmap structures.
Also threat the case when power source is neither "AC" nor "USB"
as "Battery", not "Unknown".
Notes
Notes:
svn path=/head/; revision=284182
Diffstat (limited to 'usr.bin/sed')
0 files changed, 0 insertions, 0 deletions