diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2019-03-21 19:14:38 -0400 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2019-04-16 09:29:18 +0900 |
commit | 9173c5ceb035aab28171cd74dfddf27f47213b99 (patch) | |
tree | 119a090f9d37e7281c6d807b18c838b3b1131ffa /include/soc | |
parent | adfe3b76608ffe547af5a74415f15499b798f32a (diff) | |
download | linux-9173c5ceb035aab28171cd74dfddf27f47213b99.tar.gz linux-9173c5ceb035aab28171cd74dfddf27f47213b99.tar.bz2 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 |