Quoting Brian Masney (2019-01-09 17:12:54)
Convert the spmi-pmic-arb IRQ code to use the version 2 IRQ interface
in order to support hierarchical IRQ chips. This is necessary so that
spmi-gpio can be setup as a hierarchical IRQ chip with pmic-arb as the
parent. IRQ chips in device tree should be usable from the start without
the consumer having to make an additional call to gpio[d]_to_irq() to
get the proper IRQ on the parent. Driver was tested on a LG Nexus 5
(hammerhead) phone.
Signed-off-by: Brian Masney <redacted>
---
Changes since v2:
- None
Changes since v1:
- Add intspec variable to qpnpint_irq_domain_translate to reduce the
overall diff.
- Remove irq_domain_disassociate hack.
I thought we would need to keep that around? And then dispose of the
hack later on. Won't this just wreck the world almost immediately
because the MFD is counting irqs from DT?