Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <shawn.lin@rock-chips.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/1738736156-119203-3-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Shawn Lin and committed by
Ulf Hansson
184055a9 a64dcfb4

+3
+3
include/soc/rockchip/rockchip_sip.h
··· 6 6 #ifndef __SOC_ROCKCHIP_SIP_H 7 7 #define __SOC_ROCKCHIP_SIP_H 8 8 9 + #define ROCKCHIP_SIP_SUSPEND_MODE 0x82000003 10 + #define ROCKCHIP_SLEEP_PD_CONFIG 0xff 11 + 9 12 #define ROCKCHIP_SIP_DRAM_FREQ 0x82000008 10 13 #define ROCKCHIP_SIP_CONFIG_DRAM_INIT 0x00 11 14 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_RATE 0x01