pinctrl: qcom: ssbi-mpp: add support for hierarchical IRQ chip
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 8 Oct 2021 01:25:13 +0000 (04:25 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 17 Oct 2021 21:32:20 +0000 (23:32 +0200)
commit56b2443fb4ba5b17ffa9c0e902fe7791cc48b086
treef5d0f263e5d56d7502f1f9b322a442baec69ff30
parent461030b804fbc615c2931787425e3dc717b03abc
pinctrl: qcom: ssbi-mpp: add support for hierarchical IRQ chip

ssbi-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 ssbi-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-15-dmitry.baryshkov@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c