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:
032d722
)
rk3288:rk808:support clkout2 enable when pmic power on
author
张晴
<zhangqing@rock-chips.com>
Mon, 24 Mar 2014 02:06:53 +0000
(10:06 +0800)
committer
张晴
<zhangqing@rock-chips.com>
Mon, 24 Mar 2014 02:06:53 +0000
(10:06 +0800)
drivers/mfd/rk808.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rk808.c
b/drivers/mfd/rk808.c
index 5c31ba7cf9debf3fcbb17d12245f54859ff58b28..0ba09d08553fd0bac81a7e93f1a160ed5193e190 100755
(executable)
--- a/
drivers/mfd/rk808.c
+++ b/
drivers/mfd/rk808.c
@@
-1233,6
+1233,13
@@
static int rk808_pre_init(struct rk808 *rk808)
return ret;
}
/**********************************/
+ /**********enable clkout2****************/
+ ret = rk808_reg_write(rk808,RK808_CLK32OUT_REG,0x01);
+ if (ret <0) {
+ printk(KERN_ERR "Unable to write RK808_CLK32OUT_REG reg\n");
+ return ret;
+ }
+ /**********************************/
return 0;
}