projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: rk818-charger: set sleep otg 5v by otg_in status and dts
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
mfd
/
rk808.h
diff --git
a/include/linux/mfd/rk808.h
b/include/linux/mfd/rk808.h
index 59aa1eeb2845d17379a85f3b22b662a3015fde2f..e1bbc26dce843664753aa9e612a3fc75bdefd4fe 100644
(file)
--- a/
include/linux/mfd/rk808.h
+++ b/
include/linux/mfd/rk808.h
@@
-389,6
+389,7
@@
enum rk805_reg {
#define LDO9_SLP_SET_OFF BIT(5)
#define SWITCH_SLP_SET_OFF BIT(6)
#define OTG_SLP_SET_OFF BIT(7)
+#define OTG_BOOST_SLP_OFF (BOOST_SLP_SET_OFF | OTG_SLP_SET_OFF)
#define BUCK1_SLP_SET_ON BIT(0)
#define BUCK2_SLP_SET_ON BIT(1)