diff options
author | Tony Lindgren <tony@atomide.com> | 2023-09-07 08:53:28 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2023-09-13 10:24:53 +0300 |
commit | e5deb8f76e64d94ccef715e75ebafffd0c312d80 (patch) | |
tree | d8d2d2707644bbbf405ec8269b803ef739eca400 /init/Makefile | |
parent | 11729caa520950e17cd81bc43ffc477c46cf791e (diff) | |
download | linux-e5deb8f76e64d94ccef715e75ebafffd0c312d80.tar.gz linux-e5deb8f76e64d94ccef715e75ebafffd0c312d80.tar.bz2 linux-e5deb8f76e64d94ccef715e75ebafffd0c312d80.zip |
bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
The uarts should be tagged with SYSC_QUIRK_SWSUP_SIDLE instead of
SYSC_QUIRK_SWSUP_SIDLE_ACT. The difference is that SYSC_QUIRK_SWSUP_SIDLE
is used to force idle target modules rather than block idle during usage.
The SYSC_QUIRK_SWSUP_SIDLE_ACT should disable autoidle and wake-up when
a target module is active, and configure autoidle and wake-up when a
target module is inactive. We are missing configuring the target module
on sysc_disable_module(), and missing toggling of the wake-up bit.
Let's fix the issue to allow uart wake-up to work.
Fixes: fb685f1c190e ("bus: ti-sysc: Handle swsup idle mode quirks")
Tested-by: Dhruva Gole <d-gole@ti.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions