aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMilo Kim <woogyom.kim@gmail.com>2016-12-18 11:54:27 +0900
committerSebastian Reichel <sre@kernel.org>2017-01-04 22:00:18 +0100
commit20a7e173c2a3604c418242f3e60ca36a28108816 (patch)
tree52ab341ffbdc95505ce435ed1df2d18cacbc9472 /tools/perf/scripts/python
parentpower: supply: tps65217: Use 'poll_task' on unloading the module (diff)
downloadlinux-20a7e173c2a3604c418242f3e60ca36a28108816.tar.gz
linux-20a7e173c2a3604c418242f3e60ca36a28108816.zip
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')
0 files changed, 0 insertions, 0 deletions