1. 16 Jan, 2021 1 commit
    • Hermes Zhang's avatar
      power: supply: bq27xxx: Support CHARGE_NOW for bq27z561/bq28z610/bq34z100 · 3ed510f0
      Hermes Zhang authored
      Currently REG_NAC (nominal available capacity) is mapped to
      power-supply's CHARGE_NOW property. Some chips do not have
      REG_NAC and do not expose CHARGE_NOW at the moment. Some
      bq27xxx chips also have another register REG_RM (remaining
      capacity). The difference between REG_NAC and REG_RM is load
      compensation.
      
      This patch adds register information for REG_RM for all
      supported fuel gauges. On systems having REG_NAC it is
      ignored, so behaviour does not change. On systems without
      REG_NAC, REG_RM will be used to provide CHARGE_NOW
      functionality.
      
      As a result there are three more chips exposing CHARGE_NOW:
      bq27z561, bq28z610 and bq34z100
      Signed-off-by: default avatarHermes Zhang <chenhuiz@axis.com>
      Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
      3ed510f0
  2. 15 Jan, 2021 2 commits
  3. 14 Jan, 2021 17 commits
  4. 13 Jan, 2021 6 commits
  5. 12 Jan, 2021 6 commits
  6. 06 Jan, 2021 3 commits
  7. 05 Jan, 2021 1 commit
  8. 02 Jan, 2021 1 commit
  9. 29 Dec, 2020 3 commits