diff options
author | Jacob Chen <jacob-chen@iotwrt.com> | 2017-05-02 14:54:52 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-05-10 13:37:22 -0600 |
commit | 453c5a927cddf19344a73f8d850ed6a317da54d2 (patch) | |
tree | 00d21ea3347f2bac7d4a2b20c81d691694a16d77 /include/power | |
parent | eff4ca728524f1f51c14e824608c8099793d92b7 (diff) | |
download | u-boot-453c5a927cddf19344a73f8d850ed6a317da54d2.tar.gz |
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 'include/power')
-rw-r--r-- | include/power/rk8xx_pmic.h (renamed from include/power/rk808_pmic.h) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/power/rk808_pmic.h b/include/power/rk8xx_pmic.h index c370c32220..589f8c4e1a 100644 --- a/include/power/rk808_pmic.h +++ b/include/power/rk8xx_pmic.h @@ -5,8 +5,8 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#ifndef _PMIC_RK808_H_ -#define _PMIC_RK808_H_ +#ifndef _PMIC_RK8XX_H_ +#define _PMIC_RK8XX_H_ enum { REG_SECONDS = 0x00, @@ -178,16 +178,16 @@ enum { #define RK8XX_ID_MSK 0xfff0 -struct rk808_reg_table { +struct rk8xx_reg_table { char *name; u8 reg_ctl; u8 reg_vol; }; -struct rk808_priv { +struct rk8xx_priv { int variant; }; -int rk808_spl_configure_buck(struct udevice *pmic, int buck, int uvolt); +int rk8xx_spl_configure_buck(struct udevice *pmic, int buck, int uvolt); #endif |