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@linaro.org>2012-03-19 09:02:45 +0100
commit8200f30fa3cab9d919b8ef665acb9af77d70eb69 (patch)
treee1723e667952b4af99f0425ed9e5b06c7241901c /include
parent2084759c6738eb7fc2f195f2f53c5ec4388e8e17 (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