soc: rockchip: Kconfig: Add HAS_EARLYSUSPEND and ROCKCHIP_EARLYSUSPEND

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I7fe0d0288588194fec1e8d67398ddd0afe631b8a
This commit is contained in:
Finley Xiao
2024-03-12 11:16:08 +08:00
committed by Tao Huang
parent ed688b8126
commit e190fda5f7

View File

@@ -194,6 +194,19 @@ config ROCKCHIP_SYSTEM_MONITOR
help
Say y here to enable rockchip system monitor support.
config HAS_EARLYSUSPEND
bool
config ROCKCHIP_EARLYSUSPEND
bool "Rockchip early suspend"
select HAS_EARLYSUSPEND
depends on !EARLYSUSPEND
depends on !FB_NOTIFY
depends on ROCKCHIP_SYSTEM_MONITOR
help
Call early suspend handlers when the user requested sleep state
changes.
config ROCKCHIP_VENDOR_STORAGE
tristate "Rockchip vendor storage support"
help