1# Copyright 2024 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 BQ25180 I2C Controlled, 1-Cell, 1-A Linear Battery Charger with Power Path 6 and Ship Mode. 7 8 The device has a single child node for the charger. For example: 9 10 bq25180@6a { 11 compatible = "ti,bq25180"; 12 reg = <0x6a>; 13 14 constant-charge-current-max-microamp = <500000>; 15 }; 16 17compatible: "ti,bq25180" 18 19include: [battery.yaml, i2c-device.yaml] 20 21 22properties: 23 constant-charge-current-max-microamp: 24 type: int 25 default: 0 26 description: | 27 Charge current set at init time in uA, available range is 5 mA to 800 mA. 28 The value specified will be rounded down to the closest implemented 29 value. If set to 0 (default) skip setting the charge current value at 30 driver initialization. 31 32 constant-charge-voltage-max-microvolt: 33 type: int 34 default: 4200000 35 description: | 36 The maximum voltage that the battery will be charged at, defaults to 37 4.2V, matching the device default reset configuration. 38 39 precharge-voltage-threshold-microvolt: 40 type: int 41 default: 3000000 42 description: | 43 Threshold at which voltage to switch to constant current charge. 44 Must be either 3.0V or 2.8V 45