1 # SPDX-License-Identifier: GPL-2.0
4 $id: "http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Spreadtrum SC2731 PMICs battery charger binding
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: sprd,sc2731-charger
23 $ref: /schemas/types.yaml#/definitions/phandle
24 description: phandle to the USB phy
28 The charger uses the following battery properties
29 - charge-term-current-microamp: current for charge termination phase.
30 - constant-charge-voltage-max-microvolt: maximum constant input voltage.
31 See Documentation/devicetree/bindings/power/supply/battery.yaml
33 additionalProperties: false
38 compatible = "simple-battery";
39 charge-term-current-microamp = <120000>;
40 constant-charge-voltage-max-microvolt = <4350000>;
48 compatible = "sprd,sc2731-charger";
51 monitored-battery = <&bat>;