1Binding for sc8990 Li-Ion Charger 2 3This driver will support the sc89890. There are 4other ICs in the same family but those have not been tested. 5 6Required properties: 7- compatible: "sc,sc89890" 8- reg: integer, i2c address of the device. 9- interrupts: interrupt line; 10- sc,battery-regulation-voltage: integer, maximum charging voltage (in uV); 11- sc,charge-current: integer, maximum charging current (in uA); 12- sc,termination-current: integer, charge will be terminated when current in 13 constant-voltage phase drops below this value (in uA); 14- sc,precharge-current: integer, maximum charge current during precharge 15 phase (in uA); 16- sc,minimum-sys-voltage: integer, when battery is charging and it is below 17 minimum system voltage, the system will be regulated above 18 minimum-sys-voltage setting (in uV); 19- sc,boost-voltage: integer, VBUS voltage level in boost mode (in uV); 20- sc,boost-max-current: integer, maximum allowed current draw in boost mode 21 (in uA). 22 23Example: 24 25sc89890 { 26 compatible = "sc,sc89890"; 27 reg = <0x6a>; 28 29 interrupt-parent = <&gpio0>; 30 interrupts = <RK_PD5 IRQ_TYPE_EDGE_FALLING>; 31 32 sc,battery-regulation-voltage = <4200000>; 33 sc,charge-current = <1000000>; 34 sc,termination-current = <50000>; 35 sc,precharge-current = <128000>; 36 sc,minimum-sys-voltage = <3600000>; 37 sc,boost-voltage = <5000000>; 38 sc,boost-max-current = <1000000>; 39 sc,ibatcomp-micro-ohms = <10>; 40}; 41