Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fc01ed4e authored by Nicholas Troast's avatar Nicholas Troast Committed by Guru Das Srinagesh
Browse files

power: add SMB1390 charge pump driver



SMB1390 is a charge pump PMIC and is used as a companion charger to the
primary charging PMIC. This driver implements all of the required
functionality to be used as a parallel charger.

This is a snapshot of commit "power: add SMB1390 charge pump driver" in
kernel 4.9, with two modifications:

- cp_class_attrs -> cp_class_groups. This change was necessitated by
  'commit ced6473e ("driver core: class: add class_groups support")'
  and 'commit ecbaa83e ("driver core: remove class_attrs from
  struct class")'.

- Use the IIO framework to read die temperature instead of the older
  qpnp-vadc framework. Also, add an INFO message to signify successful
  probing of driver.

CRs-Fixed: 2200333
Change-Id: I9e58773241a2b9865067ac563ca96a75afc34611
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 5e5be2cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment