]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: dra7: Fix suspend warning for vpe powerdomain
authorTony Lindgren <tony@atomide.com>
Tue, 12 Apr 2022 09:26:51 +0000 (12:26 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Apr 2022 09:55:47 +0000 (12:55 +0300)
commit51f1fb8467a9dae49a754045fe7f2a3e866f3128
treec96ceff6ebdebf3c5b1aa450a121742cd065a014
parent33ee5c8fbae7ec60198d888a9eb491e082723b54
ARM: dts: dra7: Fix suspend warning for vpe powerdomain

We currently are getting the following warning after a system suspend:

Powerdomain (vpe_pwrdm) didn't enter target state 0

Looks like this is because the STANDBYMODE bit for SMART_IDLE should
not be used. The TRM "Table 12-348. VPE_SYSCONFIG" says that the value
for SMART_IDLE is "0x2: Same behavior as bit-field value of 0x1". But
if the SMART_IDLE value is used, PM_VPE_PWRSTST LASTPOWERSTATEENTERED
bits always show value of 3.

Let's fix the issue by dropping SMART_IDLE for vpe. And let's also add
the missing the powerdomain for vpe.

Fixes: cdab4d2bf848 ("ARM: dts: dra7: Add ti-sysc node for VPE")
Cc: Benoit Parrot <bparrot@ti.com>
Reported-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-l4.dtsi