[PATCH] pmdomain: ti_sci: add wakeup constraint to parent devices of wakeup source
Sebin Francis
sebin.francis at ti.com
Thu May 14 22:21:55 PDT 2026
On 07/05/26 08:46, Kendall Willis wrote:
> Set wakeup constraint for any device in a wakeup path. All parent devices
> of a wakeup device should not be turned off during suspend. This ensures
> the wakeup device is kept on while the system is suspended.
>
> Cc: stable at vger.kernel.org
> Fixes: 9d8aa0dd3be4 ("pmdomain: ti_sci: add wakeup constraint management")
> Reported-by: Vitor Soares <vitor.soares at toradex.com>
> Closes: https://lore.kernel.org/linux-pm/c0fe43a2339c802e9ce5900092cd530a2ba17a6b.camel@gmail.com/
> Signed-off-by: Kendall Willis <k-willis at ti.com>
> ---
Looks good to me.
Reviewed-by: Sebin Francis <sebin.francis at ti.com>
Sebin Francis
> drivers/pmdomain/ti/ti_sci_pm_domains.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pmdomain/ti/ti_sci_pm_domains.c b/drivers/pmdomain/ti/ti_sci_pm_domains.c
> index 18d33bc35dee1b3bf6107af1e414db377d515199..949e4115f930b93b18216fde46131b5c8931c9aa 100644
> --- a/drivers/pmdomain/ti/ti_sci_pm_domains.c
> +++ b/drivers/pmdomain/ti/ti_sci_pm_domains.c
> @@ -86,7 +86,7 @@ static inline void ti_sci_pd_set_wkup_constraint(struct device *dev)
> const struct ti_sci_handle *ti_sci = pd->parent->ti_sci;
> int ret;
>
> - if (device_may_wakeup(dev)) {
> + if (device_may_wakeup(dev) || device_wakeup_path(dev)) {
> /*
> * If device can wakeup using IO daisy chain wakeups,
> * we do not want to set a constraint.
>
> ---
> base-commit: 7fd2df204f342fc17d1a0bfcd474b24232fb0f32
> change-id: 20260506-wkup-constraint-9b0261b04df1
> > Best regards,
More information about the linux-arm-kernel
mailing list