90c32e99d6
Utilization of chip interrupt line is mandatory to assure proper charger state control. Handle interrupt to prepare the driver for implementation of such functionality. Modify charger status update so the current state is fetched in the interrupt handler. Use level based interrupts combined with interrupt disabling for a period of time after interrupt handling to reduce number of interrupts triggered by the charger. There may be a case where the charger produces burst of interrupts for a several seconds and if the code attempts to handle every single interrupt separatery then the system might be significantly overloaded. Co-authored-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Lukasz Madej <l.madej@grinn-global.com> |
||
---|---|---|
.. | ||
maxim,max20335-charger.yaml | ||
sbs,sbs-charger.yaml | ||
ti,bq24190.yaml | ||
ti,bq25180.yaml |