summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rush_ryu/pmic.h
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-08-22 17:24:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-27 08:03:39 +0100
commitb8de44742e6334ce34499af928689d969a1a3283 (patch)
treef435217f786e78b192b1cb19a644959e57f40432 /src/mainboard/google/rush_ryu/pmic.h
parent4058d7b9d465ce730a7043e0ce2ae780a7627d81 (diff)
ryu: initialize LTE modem
BUG=chrome-os-partner:30748 TEST=Verify that LTE modem appears on USB during kernel boots on Ryu. Change-Id: I5b73a632ab827abe9c064a097e04d2c9030f9b46 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 070538e60b384d17e17ba3544881ef642c3f33ba Original-Change-Id: I8ec1f94c9aec5b4895a01cdfd3b86f88cd6bb877 Original-Signed-off-by: Ben Chan <benchan@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/214020 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9002 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rush_ryu/pmic.h')
-rw-r--r--src/mainboard/google/rush_ryu/pmic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/pmic.h b/src/mainboard/google/rush_ryu/pmic.h
index 1f102a70c2..83afc4ecbe 100644
--- a/src/mainboard/google/rush_ryu/pmic.h
+++ b/src/mainboard/google/rush_ryu/pmic.h
@@ -20,6 +20,8 @@
#ifndef __MAINBOARD_GOOGLE_RUSH_RYU_PMIC_H__
#define __MAINBOARD_GOOGLE_RUSH_RYU_PMIC_H__
+#include <stdint.h>
+
/* A44/Ryu has a TI 65913 PMIC */
enum {
TI65913_SMPS12_CTRL = 0x20,
@@ -84,8 +86,13 @@ enum {
TI65913_LDO_SHORT_STATUS1 = 0x6D,
TI65913_LDO_SHORT_STATUS2 = 0x6E,
+
+ TI65913_CLK32KGAUDIO_CTRL = 0xD5,
+
+ TI65913_PRIMARY_SECONDARY_PAD2 = 0xFB,
};
+void pmic_write_reg(unsigned bus, uint8_t reg, uint8_t val, int delay);
void pmic_init(unsigned bus);
#endif /* __MAINBOARD_GOOGLE_RUSH_RYU_PMIC_H__ */