zephyr/drivers/charger
Lukasz Madej 90c32e99d6 drivers: charger: charger_max20335: introduce int utilization
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>
2024-03-05 18:23:12 +00:00
..
bq24190.h drivers: charger: Introduces BQ24190 support 2023-10-20 14:55:22 +02:00
charger_bq24190.c drivers: charger: bq24190: fix api and init functions references 2024-01-10 20:54:04 -05:00
charger_bq25180.c drivers: charger: bq25180: fix return value check 2024-02-19 09:38:50 -06:00
charger_handlers.c drivers: charger: Adds charge_enable handler 2023-12-12 10:49:39 -06:00
charger_max20335.c drivers: charger: charger_max20335: introduce int utilization 2024-03-05 18:23:12 +00:00
CMakeLists.txt charger: add a driver for bq25180 2024-01-05 09:00:21 +01:00
emul_sbs_charger.c drivers: charger: Updates drivers to use charge_enable handler 2023-12-12 10:49:39 -06:00
Kconfig samples: charger: Demos new output limit properties 2024-02-26 11:33:24 +00:00
Kconfig.bq24190 drivers: charger: add charger prefix for bq24190 2023-11-09 09:57:30 -06:00
Kconfig.bq25180 charger: add a driver for bq25180 2024-01-05 09:00:21 +01:00
Kconfig.max20335 drivers: charger: charger_max20335: introduce int utilization 2024-03-05 18:23:12 +00:00
Kconfig.sbs_charger charger: Sample sbs charger driver with tests 2023-09-07 13:03:13 -04:00
sbs_charger.c drivers: charger: Updates drivers to use charge_enable handler 2023-12-12 10:49:39 -06:00
sbs_charger.h charger: Sample sbs charger driver with tests 2023-09-07 13:03:13 -04:00