From: Biju Das <biju.das.jz@bp.renesas.com>
Currently, a spurious IRQ is generated on the resume path of s2idle for
the PMIC RTC TINT interrupt due to a glitch related to unnecessary
enabling/disabling of the TINT enable bit.
Fix this issue by not setting TSSR(TINT Source) and TITSR(TINT Detection
Method Selection) registers if the values are the same as those set
in these registers.
Also added suspend/resume support by restoring IRQ type register values.
Biju Das (2):
irqchip/renesas-rzv2h: Prevent TINT spurious interrupt during resume
irqchip/renesas-rzv2h: Add suspend/resume support
drivers/irqchip/irq-renesas-rzv2h.c | 69 +++++++++++++++++++++++++++--
1 file changed, 65 insertions(+), 4 deletions(-)
--
2.43.0