1Binding for sc8551 battery charger 2 3Required properties: 4- compatible: "sc,sc8551-standalone" for sc8551 Charger Power Supply 5- monitored-battery: phandle of battery characteristics devicetree node 6- interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with 7 "interrupt-parent". If an interrupt is not provided the driver will switch 8 automatically to polling. 9 10- input-voltage-limit-microvolt: integer, input voltage level in uV, used to 11 decrease voltage level when the over current 12 of the input power source occurs. 13- input-current-limit-microamp: integer, input current value in uA drained by the 14 charger from the power source.Default: 500000 uA (500mA) 15 16- sc,sc8551,bat-ovp-disable: enable the battery over voltage protection 17- sc,sc8551,bat-ocp-disable: enable the battery over current protection 18- sc,sc8551,bus-ocp-disable: enable the bus over voltage protection 19- sc,sc8551,bat-ovp-threshold: Configures the battery over voltage protection voltage (in uV). 20- sc,sc8551,bat-ocp-threshold: Configures the battery over current protection voltage (in uA). 21- sc,sc8551,bus-ovp-threshold: Configures the bus over voltage protection voltage (in uV). 22- sc,sc8551,bus-ocp-threshold: Configures the bus over current protection voltage (in uA). 23- sc,sc8551,ac-ovp-threshold: Configures the AC voltage protection voltage (in uV). 24- sc,sc8551,sense-resistor-mohm: integer, value of a resistor in series with the battery; 25 26Example: 27c8551: sc8551@66 { 28 compatible = "sc,sc8551-standalone"; 29 reg = <0x66>; 30 interrupt-parent = <&gpio4>; 31 interrupts = <RK_PB5 IRQ_TYPE_EDGE_FALLING>; 32 33 sc,sc8551,bat-ovp-disable = <0>; 34 sc,sc8551,bat-ocp-disable = <0>; 35 sc,sc8551,bus-ocp-disable = <0>; 36 37 sc,sc8551,bat-ovp-threshold = <4500>; 38 sc,sc8551,bat-ocp-threshold = <4500>; 39 40 sc,sc8551,bus-ovp-threshold = <12000>; 41 sc,sc8551,bus-ocp-threshold = <4000>; 42 43 sc,sc8551,ac-ovp-threshold = <17>; 44 sc,sc8551,sense-resistor-mohm = <2>; 45}; 46 47