diff options
| author | Milo Kim <[email protected]> | 2016-12-18 11:54:27 +0900 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2017-01-04 22:00:18 +0100 |
| commit | 20a7e173c2a3604c418242f3e60ca36a28108816 (patch) | |
| tree | 52ab341ffbdc95505ce435ed1df2d18cacbc9472 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9ef0bf1184a6dfb6d6dca1feca4c28d0d8da519c (diff) | |
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 <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions