forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/power/supply/bq25890.txt
....@@ -1,9 +1,16 @@
11 Binding for TI bq25890 Li-Ion Charger
22
3
+This driver will support the bq25892, the bq25896 and the bq25890. There are
4
+other ICs in the same family but those have not been tested.
5
+
36 Required properties:
47 - compatible: Should contain one of the following:
58 * "ti,bq25890"
9
+ * "ti,bq25892"
10
+ * "ti,bq25895"
11
+ * "ti,bq25896"
612 - reg: integer, i2c address of the device.
13
+- interrupts: interrupt line;
714 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
815 - ti,charge-current: integer, maximum charging current (in uA);
916 - ti,termination-current: integer, charge will be terminated when current in
....@@ -26,21 +33,28 @@
2633 - ti,thermal-regulation-threshold: integer, temperature above which the charge
2734 current is lowered, to avoid overheating (in degrees Celsius). If omitted,
2835 the default setting will be used (120 degrees);
36
+- ti,ibatcomp-micro-ohms: integer, value of a resistor in series with
37
+ the battery;
38
+- ti,ibatcomp-clamp-microvolt: integer, maximum charging voltage adjustment due
39
+ to expected voltage drop on in-series resistor;
2940
3041 Example:
3142
3243 bq25890 {
33
- compatible = "ti,bq25890";
34
- reg = <0x6a>;
44
+ compatible = "ti,bq25890";
45
+ reg = <0x6a>;
3546
36
- ti,battery-regulation-voltage = <4200000>;
37
- ti,charge-current = <1000000>;
38
- ti,termination-current = <50000>;
39
- ti,precharge-current = <128000>;
40
- ti,minimum-sys-voltage = <3600000>;
41
- ti,boost-voltage = <5000000>;
42
- ti,boost-max-current = <1000000>;
47
+ interrupt-parent = <&gpio1>;
48
+ interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
4349
44
- ti,use-ilim-pin;
45
- ti,thermal-regulation-threshold = <120>;
50
+ ti,battery-regulation-voltage = <4200000>;
51
+ ti,charge-current = <1000000>;
52
+ ti,termination-current = <50000>;
53
+ ti,precharge-current = <128000>;
54
+ ti,minimum-sys-voltage = <3600000>;
55
+ ti,boost-voltage = <5000000>;
56
+ ti,boost-max-current = <1000000>;
57
+
58
+ ti,use-ilim-pin;
59
+ ti,thermal-regulation-threshold = <120>;
4660 };