projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f848e
)
rk3288:rk808:disable dcdc uv function
author
张晴
<zhangqing@rock-chips.com>
Tue, 8 Apr 2014 01:24:48 +0000
(09:24 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Tue, 8 Apr 2014 01:24:48 +0000
(09:24 +0800)
drivers/mfd/rk808.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rk808.c
b/drivers/mfd/rk808.c
index f5f2c2e45d6e9d234aee9af7bec23cad040a41e6..b3547f8f7a5cd34242e1569d7bf7a105d48d2597 100755
(executable)
--- a/
drivers/mfd/rk808.c
+++ b/
drivers/mfd/rk808.c
@@
-1183,6
+1183,13
@@
static int rk808_pre_init(struct rk808 *rk808)
{
int ret,val;
printk("%s,line=%d\n", __func__,__LINE__);
+ /**********disable dcdc uv func****************/
+ ret = rk808_reg_write(rk808,RK808_DCDC_UV_ACT_REG,0x10);
+ if (ret <0) {
+ printk(KERN_ERR "Unable to write RK808_DCDC_UV_ACT_REG reg\n");
+ return ret;
+ }
+ /**********************************/
/***********set ILIM ************/
val = rk808_reg_read(rk808,RK808_BUCK3_CONFIG_REG);
val &= (~(0x7 <<0));