drivers: charger: charger_max20355: handle recharge threshold

Allow to configure recharge threshold.

Signed-off-by: Lukasz Madej <l.madej@grinn-global.com>
This commit is contained in:
Lukasz Madej 2024-02-10 10:17:57 +01:00 committed by Anas Nashif
commit bda4c18fc9
4 changed files with 53 additions and 0 deletions

View file

@ -53,6 +53,18 @@ properties:
voltage drops to this level, the charger current
is reduced to prevent battery damage.
re-charge-threshold-microvolt:
type: int
required: true
enum:
- 70000
- 120000
- 170000
- 220000
description: |
Recharge threshold in relation to BatReg.
Refer to ChgCntlA register description for details.
int-gpios:
type: phandle-array
required: true