drivers: charger: charger_max20335: handle minimum system voltage

Allow to configure minimum system voltage threshold parameter.

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

View file

@ -36,6 +36,23 @@ properties:
CHGIN to SYS path current limitter configuration.
Refer to ILimCntl register description for details.
system-voltage-min-threshold-microvolt:
type: int
required: true
enum:
- 3600000
- 3700000
- 3800000
- 3900000
- 4000000
- 4100000
- 4200000
- 4300000
description: |
System voltage minimum threshold. When SYS path
voltage drops to this level, the charger current
is reduced to prevent battery damage.
int-gpios:
type: phandle-array
required: true