PM / devfreq: rk3399_dmc: Pass ODT and auto power down parameters to TF-A.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 21 Mar 2019 23:14:38 +0000 (19:14 -0400)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 16 Apr 2019 00:29:18 +0000 (09:29 +0900)
commit9173c5ceb035aab28171cd74dfddf27f47213b99
tree119a090f9d37e7281c6d807b18c838b3b1131ffa
parentadfe3b76608ffe547af5a74415f15499b798f32a
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>
drivers/devfreq/rk3399_dmc.c
include/soc/rockchip/rockchip_sip.h