summaryrefslogtreecommitdiffstats
path: root/drivers/clk/axis
diff options
context:
space:
mode:
authorYauhen Kharuzhy <jekhor@gmail.com>2019-03-03 23:16:13 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2019-04-05 10:21:41 +0900
commita72a1be0de71b3bdab3d8b2e708267f32ea33ee2 (patch)
treea3db62d00170ffa816290bd9704322ccfea79086 /drivers/clk/axis
parent3137301b6d970219706d887eb6bdcabbf54f1f3b (diff)
downloadblackbird-op-linux-a72a1be0de71b3bdab3d8b2e708267f32ea33ee2.tar.gz
blackbird-op-linux-a72a1be0de71b3bdab3d8b2e708267f32ea33ee2.zip
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 <jekhor@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/clk/axis')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud