summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJacob Chen <jacob-chen@iotwrt.com>2017-05-02 14:54:52 +0800
committerSimon Glass <sjg@chromium.org>2017-05-10 13:37:22 -0600
commit453c5a927cddf19344a73f8d850ed6a317da54d2 (patch)
tree00d21ea3347f2bac7d4a2b20c81d691694a16d77 /arch
parenteff4ca728524f1f51c14e824608c8099793d92b7 (diff)
power: rk808: rename to rk8xx
Since this driver can be used for rk8xx series pmic, let's rename rk808 to rk8xx, to make it clear. Configs parts are done by sed -i "s/RK808/RK8XX/g" `grep RK808 -lr ./` Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-rockchip/rk3288/sdram_rk3288.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c b/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
index 8549b28243..2feda61205 100644
--- a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
+++ b/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
@@ -24,7 +24,7 @@
#include <asm/arch/sdram.h>
#include <linux/err.h>
#include <power/regulator.h>
-#include <power/rk808_pmic.h>
+#include <power/rk8xx_pmic.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -981,11 +981,11 @@ static int veyron_init(struct dram_info *priv)
return ret;
/* Slowly raise to max CPU voltage to prevent overshoot */
- ret = rk808_spl_configure_buck(pmic, 1, 1200000);
+ ret = rk8xx_spl_configure_buck(pmic, 1, 1200000);
if (ret)
return ret;
udelay(175);/* Must wait for voltage to stabilize, 2mV/us */
- ret = rk808_spl_configure_buck(pmic, 1, 1400000);
+ ret = rk8xx_spl_configure_buck(pmic, 1, 1400000);
if (ret)
return ret;
udelay(100);/* Must wait for voltage to stabilize, 2mV/us */