1*4882a593SmuzhiyunBinding for Richtek rt9455 battery charger 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible: it should contain one of the following: 5*4882a593Smuzhiyun "richtek,rt9455". 6*4882a593Smuzhiyun- reg: integer, i2c address of the device. 7*4882a593Smuzhiyun- interrupts: interrupt mapping for GPIO IRQ, it should be 8*4882a593Smuzhiyun configured with IRQ_TYPE_LEVEL_LOW flag. 9*4882a593Smuzhiyun- richtek,output-charge-current: integer, output current from the charger to the 10*4882a593Smuzhiyun battery, in uA. 11*4882a593Smuzhiyun- richtek,end-of-charge-percentage: integer, percent of the output charge current. 12*4882a593Smuzhiyun When the current in constant-voltage phase drops 13*4882a593Smuzhiyun below output_charge_current x end-of-charge-percentage, 14*4882a593Smuzhiyun charge is terminated. 15*4882a593Smuzhiyun- richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 16*4882a593Smuzhiyun- richtek,boost-output-voltage: integer, maximum voltage provided to consumer 17*4882a593Smuzhiyun devices, when the charger is in boost mode, in uV. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunOptional properties: 20*4882a593Smuzhiyun- richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to 21*4882a593Smuzhiyun decrease voltage level when the over current 22*4882a593Smuzhiyun of the input power source occurs. 23*4882a593Smuzhiyun This prevents input voltage drop due to insufficient 24*4882a593Smuzhiyun current provided by the power source. 25*4882a593Smuzhiyun Default: 4500000 uV (4.5V) 26*4882a593Smuzhiyun- richtek,avg-input-current-regulation: integer, input current value in uA drained by the 27*4882a593Smuzhiyun charger from the power source. 28*4882a593Smuzhiyun Default: 500000 uA (500mA) 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunExample: 31*4882a593Smuzhiyun 32*4882a593Smuzhiyunrt9455@22 { 33*4882a593Smuzhiyun compatible = "richtek,rt9455"; 34*4882a593Smuzhiyun reg = <0x22>; 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun interrupt-parent = <&gpio1>; 37*4882a593Smuzhiyun interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun richtek,output-charge-current = <500000>; 40*4882a593Smuzhiyun richtek,end-of-charge-percentage = <10>; 41*4882a593Smuzhiyun richtek,battery-regulation-voltage = <4200000>; 42*4882a593Smuzhiyun richtek,boost-output-voltage = <5050000>; 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun richtek,min-input-voltage-regulation = <4500000>; 45*4882a593Smuzhiyun richtek,avg-input-current-regulation = <500000>; 46*4882a593Smuzhiyun}; 47