Skip to content

Commit 184055a

Browse files
shawn1221storulf
authored andcommitted
soc: rockchip: add header for suspend mode SIP interface
Add ROCKCHIP_SIP_SUSPEND_MODE to pass down parameters to Trusted Firmware in order to decide suspend mode. Currently only add ROCKCHIP_SLEEP_PD_CONFIG which teaches firmware to power down controllers or not. Signed-off-by: Shawn Lin <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent a64dcfb commit 184055a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/soc/rockchip/rockchip_sip.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#ifndef __SOC_ROCKCHIP_SIP_H
77
#define __SOC_ROCKCHIP_SIP_H
88

9+
#define ROCKCHIP_SIP_SUSPEND_MODE 0x82000003
10+
#define ROCKCHIP_SLEEP_PD_CONFIG 0xff
11+
912
#define ROCKCHIP_SIP_DRAM_FREQ 0x82000008
1013
#define ROCKCHIP_SIP_CONFIG_DRAM_INIT 0x00
1114
#define ROCKCHIP_SIP_CONFIG_DRAM_SET_RATE 0x01

0 commit comments

Comments
 (0)