diff options
| author | Milo Kim <woogyom.kim@gmail.com> | 2016-12-18 05:54:27 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-05 00:00:18 +0300 |
| commit | 20a7e173c2a3604c418242f3e60ca36a28108816 (patch) | |
| tree | 52ab341ffbdc95505ce435ed1df2d18cacbc9472 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 9ef0bf1184a6dfb6d6dca1feca4c28d0d8da519c (diff) | |
| download | linux-20a7e173c2a3604c418242f3e60ca36a28108816.tar.xz | |
power: supply: tps65217: Support USB charger interrupt
TPS65217 has two charger interrupts - AC and USB power status change.
Interrupt number in the TPS65217 driver data:
IRQ number is only used on requesting the interrupt, so no need to keep
it inside the driver data.
Interrupt handler:
Check not only AC but also USB charger status.
In both cases, enable charging operation.
Interrupt request:
If an interrupt number is invalid, then use legacy polling thread.
Otherwise, create IRQ threads to handle AC and USB charger event.
Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
