diff options
| author | Linus Walleij <[email protected]> | 2019-08-08 14:32:40 +0200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-08-15 09:44:19 +0200 |
| commit | a7fc89f9d5fcc10a5474cfe555f5a9e5df8b0f1f (patch) | |
| tree | e5c86137ae172def039ac434bb84a11ecbcb00ae /tools/perf/scripts/python | |
| parent | 821c76c4c374adf0c7a7608ee4661aa801f3c1c5 (diff) | |
gpio: thunderx: Switch to GPIOLIB_IRQCHIP
Use the new infrastructure for hierarchical irqchips in
gpiolib.
The major part of the rewrite was dues to the fact that
the driver was passing around a per-irq pointer to
struct thunderx_line * data container, and the central
handlers will assume struct gpio_chip * to be passed
to we need to use the hwirq as index to look up the
struct thunderx_line * for each IRQ.
The pushing and pop:ing of the irqdomain was confusing
because I've never seen this before, but I tried to
replicate it as best I could.
I have no chance to test or debug this so I need
help.
Cc: David Daney <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Brian Masney <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions