aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorYauhen Kharuzhy <[email protected]>2019-03-03 23:16:13 +0300
committerChanwoo Choi <[email protected]>2019-04-05 10:21:41 +0900
commita72a1be0de71b3bdab3d8b2e708267f32ea33ee2 (patch)
treea3db62d00170ffa816290bd9704322ccfea79086 /tools/perf/scripts/python/net_dropmonitor.py
parent3137301b6d970219706d887eb6bdcabbf54f1f3b (diff)
extcon: intel-cht-wc: Enable external charger
In some configuration external charger "#charge enable" signal is connected to PMIC. Enable it at device probing to allow charging. Save CHGRCTRL0 and CHGDISCTR registers at driver probing and restore them at driver unbind to re-enable hardware charging control if it was enabled before. Tested at Lenovo Yoga Book (YB1-X91L). Signed-off-by: Yauhen Kharuzhy <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Tested-by: Hans de Goede <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions