summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Godfrey <mark.godfrey@stericsson.com>2011-11-04 09:39:47 +0000
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:07:23 +0200
commite6676501bbf6fc77ba3185025a09f3cace501f70 (patch)
tree3ce38485e08516e189b05ccca9a47289c94e40f7 /include
parent7452ef587924d61fd9eb957945e6832c37905faa (diff)
u8500: shrm: Add support for RTC Calib messages
A new shared-mem IPC logical channel (mapID=200) allows APE to send and receive messages to the modem in support of the calibration of the RealTimeClock. The modem can measure the 32KHz clock drift (against network clock) and report the drift to the APE. This new logical channel supports this reporting and can be accessed via a new /dev/rtc_calibration device. ST-Ericsson ID: 362204 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic0ed097c1bbd8b3a6816642840c258e598b79715 Signed-off-by: Mark Godfrey <mark.godfrey@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36440 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/modem/shrm/shrm_driver.h2
-rw-r--r--include/linux/modem/shrm/shrm_private.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/modem/shrm/shrm_driver.h b/include/linux/modem/shrm/shrm_driver.h
index 081dfd111e4..96b5c594d34 100644
--- a/include/linux/modem/shrm/shrm_driver.h
+++ b/include/linux/modem/shrm/shrm_driver.h
@@ -25,7 +25,7 @@
#include <linux/cdev.h>
#include <linux/kthread.h>
-#define ISA_DEVICES 7
+#define ISA_DEVICES 8
#define BOOT_INIT (0)
#define BOOT_INFO_SYNC (1)
diff --git a/include/linux/modem/shrm/shrm_private.h b/include/linux/modem/shrm/shrm_private.h
index 888a7c200fd..23caabf5a06 100644
--- a/include/linux/modem/shrm/shrm_private.h
+++ b/include/linux/modem/shrm/shrm_private.h
@@ -47,6 +47,7 @@
#define COMMON_LOOPBACK_MESSAGING (0xC0)
#define AUDIO_LOOPBACK_MESSAGING (0x80)
#define CIQ_MESSAGING (0xC3)
+#define RTC_CAL_MESSAGING (0xC8)
#define COMMON_CHANNEL 0
#define AUDIO_CHANNEL 1