18c2ecf20Sopenharmony_ciBinding for TI bq2415x Li-Ion Charger
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: Should contain one of the following:
58c2ecf20Sopenharmony_ci * "ti,bq24150"
68c2ecf20Sopenharmony_ci * "ti,bq24150"
78c2ecf20Sopenharmony_ci * "ti,bq24150a"
88c2ecf20Sopenharmony_ci * "ti,bq24151"
98c2ecf20Sopenharmony_ci * "ti,bq24151a"
108c2ecf20Sopenharmony_ci * "ti,bq24152"
118c2ecf20Sopenharmony_ci * "ti,bq24153"
128c2ecf20Sopenharmony_ci * "ti,bq24153a"
138c2ecf20Sopenharmony_ci * "ti,bq24155"
148c2ecf20Sopenharmony_ci * "ti,bq24156"
158c2ecf20Sopenharmony_ci * "ti,bq24156a"
168c2ecf20Sopenharmony_ci * "ti,bq24158"
178c2ecf20Sopenharmony_ci- reg:			   integer, i2c address of the device.
188c2ecf20Sopenharmony_ci- ti,current-limit:	   integer, initial maximum current charger can pull
198c2ecf20Sopenharmony_ci			   from power supply in mA.
208c2ecf20Sopenharmony_ci- ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
218c2ecf20Sopenharmony_ci			   The chip will use slow precharge if battery voltage
228c2ecf20Sopenharmony_ci			   is below this value.
238c2ecf20Sopenharmony_ci- ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
248c2ecf20Sopenharmony_ci- ti,charge-current:	   integer, maximum charging current in mA.
258c2ecf20Sopenharmony_ci- ti,termination-current:  integer, charge will be terminated when current in
268c2ecf20Sopenharmony_ci			   constant-voltage phase drops below this value (in mA).
278c2ecf20Sopenharmony_ci- ti,resistor-sense:	   integer, value of sensing resistor in milliohm.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciOptional properties:
308c2ecf20Sopenharmony_ci- ti,usb-charger-detection: phandle to usb charger detection device.
318c2ecf20Sopenharmony_ci			    (required for auto mode)
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciExample from Nokia N900:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cibq24150a {
368c2ecf20Sopenharmony_ci	compatible = "ti,bq24150a";
378c2ecf20Sopenharmony_ci	reg = <0x6b>;
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci	ti,current-limit = <100>;
408c2ecf20Sopenharmony_ci	ti,weak-battery-voltage = <3400>;
418c2ecf20Sopenharmony_ci	ti,battery-regulation-voltage = <4200>;
428c2ecf20Sopenharmony_ci	ti,charge-current = <650>;
438c2ecf20Sopenharmony_ci	ti,termination-current = <100>;
448c2ecf20Sopenharmony_ci	ti,resistor-sense = <68>;
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	ti,usb-charger-detection = <&isp1704>;
478c2ecf20Sopenharmony_ci};
48