charger: bq25180: set a default constant-charge-voltage-max-microvolt

Set a default value for constant-charge-voltage-max-microvolt, matching
the device hardware default, this ensure compatibility with existing
applications that did not specify the recently introduced property.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri
2024-09-06 10:27:25 +01:00
committed by Fabio Baltieri
parent 7282e4ee3d
commit e28e93ada4

View File

@@ -30,7 +30,11 @@ properties:
driver initialization.
constant-charge-voltage-max-microvolt:
required: true
type: int
default: 4200000
description: |
The maximum voltage that the battery will be charged at, defaults to
4.2V, matching the device default reset configuration.
precharge-voltage-threshold-microvolt:
type: int