diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-03-22 00:14:38 +0100 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2019-04-16 02:29:18 +0200 |
commit | 9173c5ceb035aab28171cd74dfddf27f47213b99 (patch) | |
tree | 119a090f9d37e7281c6d807b18c838b3b1131ffa /include/soc | |
parent | PM / devfreq: rockchip-dfi: Move GRF definitions to a common place. (diff) | |
download | linux-9173c5ceb035aab28171cd74dfddf27f47213b99.tar.xz linux-9173c5ceb035aab28171cd74dfddf27f47213b99.zip |
PM / devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.
Trusted Firmware-A (TF-A) for rk3399 implements a SiP call to get the
on-die termination (ODT) and auto power down parameters from kernel,
this patch adds the functionality to do this. Also, if DDR clock
frequency is lower than the on-die termination (ODT) disable frequency
this driver should disable the DDR ODT.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Gaƫl PORTAY <gael.portay@collabora.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/rockchip/rockchip_sip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/rockchip/rockchip_sip.h b/include/soc/rockchip/rockchip_sip.h index 7e28092c4d3d..ad9482c56797 100644 --- a/include/soc/rockchip/rockchip_sip.h +++ b/include/soc/rockchip/rockchip_sip.h @@ -23,5 +23,6 @@ #define ROCKCHIP_SIP_CONFIG_DRAM_GET_RATE 0x05 #define ROCKCHIP_SIP_CONFIG_DRAM_CLR_IRQ 0x06 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM 0x07 +#define ROCKCHIP_SIP_CONFIG_DRAM_SET_ODT_PD 0x08 #endif |