Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d751cdee authored by Lina Iyer's avatar Lina Iyer Committed by Maulik Shah
Browse files

drivers: pinctrl: msm: setup GPIO irqchip hierarchy



To allow GPIOs to wakeup the system from suspend or deep idle, the
wakeup capable GPIOs are setup in hierarchy with interrupts from the
wakeup-parent irqchip.

In older SoC's, the TLMM will handover detection to the parent irqchip
and in newer SoC's, the parent irqchip may also be active as well as the
TLMM and therefore the GPIOs need to be masked at TLMM to avoid
duplicate interrupts. To enable both these configurations to exist,
allow the parent irqchip to dictate the TLMM irqchip's behavior when
masking/unmasking the interrupt.

Change-Id: I0d9368454ff1289d5fb1cac84e3f7333e8dbb8fe
Co-developed-by: default avatarStephen Boyd <swboyd@chromium.org>
Patch-mainline: https://lore.kernel.org/patchwork/patch/1026604/


Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 231ab5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment