drivers: charger: charger_max20355: handle thermistor mode

Allow to configure thermistor monitoring mode.

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

View file

@ -65,6 +65,18 @@ properties:
Recharge threshold in relation to BatReg.
Refer to ChgCntlA register description for details.
thermistor-monitoring-mode:
type: string
required: true
enum:
- "disabled"
- "thermistor"
- "JEITA-1"
- "JEITA-2"
description: |
Thermistor monitoring mode.
Refer to ThrmCfg register description and Table 2 for details.
int-gpios:
type: phandle-array
required: true