linux-next/drivers/pmdomain/ti
Kevin Hilman b06bc47279 pmdomain: ti_sci: handle wake IRQs for IO daisy chain wakeups
When a device supports IO daisy-chain wakeups, it uses a dedicated
wake IRQ.  Devices with IO daisy-chain wakeups enabled should not set
wakeup constraints since these can happen even from deep power states,
so should not prevent the DM from picking deep power states.

Wake IRQs are set with dev_pm_set_wake_irq() or
dev_pm_set_dedicated_wake_irq().  The latter is used by the serial
driver used on K3 platforms (drivers/tty/serial/8250/8250_omap.c)
when the interrupts-extended property is used to describe the
dedicated wakeup interrupt.

Detect these wake IRQs in the suspend path, and if set, skip sending
constraint.

Tested-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Message-ID: <20241206-lpm-v6-10-constraints-pmdomain-v6-3-833980158c68@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2024-12-10 12:37:26 +01:00
..
Kconfig pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
Makefile pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
omap_prm.c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init 2024-02-14 10:26:11 +01:00
ti_sci_pm_domains.c pmdomain: ti_sci: handle wake IRQs for IO daisy chain wakeups 2024-12-10 12:37:26 +01:00