pinctrl: qcom: spmi-mpp: add support for hierarchical IRQ chip
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 8 Oct 2021 01:25:15 +0000 (04:25 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 17 Oct 2021 21:32:46 +0000 (23:32 +0200)
commitafe6777f2ebc7caef3efe281ad043259ba9f13c9
tree14157bf06a0d87ff292f8a8f4112199c71d6f019
parentf24dbaaab48a2fadefa27071580b6d1aeb9378b6
pinctrl: qcom: spmi-mpp: add support for hierarchical IRQ chip

spmi-mpp did not have any irqchip support so consumers of this in
device tree would need to call gpio[d]_to_irq() in order to get the
proper IRQ on the underlying PMIC. IRQ chips in device tree should be
usable from the start without the consumer having to make an additional
call to get the proper IRQ on the parent. This patch adds hierarchical
IRQ chip support to the spmi-mpp code to correct this issue.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-17-dmitry.baryshkov@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c