aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/rn5t618.h
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2021-03-14 12:02:36 +0100
committerLee Jones <lee.jones@linaro.org>2021-04-14 16:06:18 +0100
commit4502647e60cb4afd74f74d648bc2990954c1b73a (patch)
tree16fce9bb7124c85b9dbe5ef99a98f86663c79fcb /include/linux/mfd/rn5t618.h
parentmfd: Make symbol 'atc260x_i2c_of_match' static (diff)
downloadlinux-dev-4502647e60cb4afd74f74d648bc2990954c1b73a.tar.xz
linux-dev-4502647e60cb4afd74f74d648bc2990954c1b73a.zip
mfd: rn5t618: Do not cache various USB related registers
These register get reset to their OTP defaults after USB plugging. And while at it, also add a missing register for detecting the charger type. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/rn5t618.h')
-rw-r--r--include/linux/mfd/rn5t618.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/rn5t618.h b/include/linux/mfd/rn5t618.h
index fba0df13d9a8..8aa0bda1af4f 100644
--- a/include/linux/mfd/rn5t618.h
+++ b/include/linux/mfd/rn5t618.h
@@ -188,6 +188,7 @@
#define RN5T618_CHGOSCSCORESET3 0xd7
#define RN5T618_CHGOSCFREQSET1 0xd8
#define RN5T618_CHGOSCFREQSET2 0xd9
+#define RN5T618_GCHGDET 0xda
#define RN5T618_CONTROL 0xe0
#define RN5T618_SOC 0xe1
#define RN5T618_RE_CAP_H 0xe2