sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / supply / rt9455_charger.txt
blob5d9ad5cf2c5a7a2ea347a0e5431be97e45338d72
1 Binding for Richtek rt9455 battery charger
3 Required properties:
4 - compatible:                           it should contain one of the following:
5                                         "richtek,rt9455".
6 - reg:                                  integer, i2c address of the device.
7 - interrupt-parent:                     the phandle for the interrupt controller that
8                                         services interrupts for this device.
9 - interrupts:                           interrupt mapping for GPIO IRQ, it should be
10                                         configured with IRQ_TYPE_LEVEL_LOW flag.
11 - richtek,output-charge-current:        integer, output current from the charger to the
12                                         battery, in uA.
13 - richtek,end-of-charge-percentage:     integer, percent of the output charge current.
14                                         When the current in constant-voltage phase drops
15                                         below output_charge_current x end-of-charge-percentage,
16                                         charge is terminated.
17 - richtek,battery-regulation-voltage:   integer, maximum battery voltage in uV.
18 - richtek,boost-output-voltage:         integer, maximum voltage provided to consumer
19                                         devices, when the charger is in boost mode, in uV.
21 Optional properties:
22 - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to
23                                         decrease voltage level when the over current
24                                         of the input power source occurs.
25                                         This prevents input voltage drop due to insufficient
26                                         current provided by the power source.
27                                         Default: 4500000 uV (4.5V)
28 - richtek,avg-input-current-regulation: integer, input current value in uA drained by the
29                                         charger from the power source.
30                                         Default: 500000 uA (500mA)
32 Example:
34 rt9455@22 {
35         compatible = "richtek,rt9455";
36         reg = <0x22>;
38         interrupt-parent = <&gpio1>;
39         interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
41         richtek,output-charge-current       = <500000>;
42         richtek,end-of-charge-percentage    = <10>;
43         richtek,battery-regulation-voltage  = <4200000>;
44         richtek,boost-output-voltage        = <5050000>;
46         richtek,min-input-voltage-regulation = <4500000>;
47         richtek,avg-input-current-regulation = <500000>;