[PATCH v4 3/7] power: act8945a_charger: Add status change update support

2016-08-08 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery

[PATCH v4 3/7] power: act8945a_charger: Add status change update support

2016-08-08 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery