IKQCOMSD1-1186 - factory: provide raw emmc info in sysfs

Change-Id: Ieca33ff8242655c166834cbb10fea707758091d6
Signed-off-by: John Zafiris <John.Zafiris@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/342899
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Mark Melone <g15829@motorola.com>
IKHSS7-5950: Enable TE support for AUO HD display

Change-Id: I80338e079b1cf97b29fda595cc911f5aacd8a691
Signed-off-by: Bang Nguyen <bnguyen1@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343022
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Limei Wang <e12499@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-5968: Adjust EB20/EV20 Battery Tables

This change is another temporary table until we get final data
Also the i_test parameter was reduce to 0 to stop usage and
testing could start without the unusable charge calculation.

Change-Id: I4fc18ac1407b9efb6aac6e2f6daa72f0fd5c318e
Signed-off-by: w65789 <w65789@motorola.com>
Change-Id: I144366f630cbb3cd5c468f405c6c91bff55cbc9f
Reviewed-on: http://gerrit.pcs.mot.com/343058
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Zachary Crosby <zac@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
IKQCOMSD1-1300  Kernel: Add support to get LPDDR2 memory info in kernel (final)

Adjust SMEM IDs to comply with QC SMEM API (80-VJ608-1_C). This change amends
SMEM IDs introduced in IKQCOMSD1-593 (Export utags to modem over smem) and
IKQCOMSD1-773 (Add support to get LPDDR2 memory info in kernel).
Also includes most recent modifications for IKQCOMSD1-773.

Change-Id: Ie27b365ff42812646fdebff077a22f90d5f18d5c
Signed-off-by: Alexander Filonenko <vtp684@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343674
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Mark Melone <g15829@motorola.com>
Reviewed-by: John Zafiris <John.Zafiris@motorola.com>
Reviewed-by: Qing Chang <a21550@motorola.com>
Reviewed-by: Russell Knize <russ.knize@motorola.com>
IKHSS7-5509:Prop:IKHSS6-3415:Fix Caps lock indication issue with design fix

The previous design using the HID Core driver design element created
multiple virtual devices for each report id type and one each for input
and output for a single report id. So, the caps lock key was configured
under one virtual device and the caps lock LED under another. So when
the caps lock key was pressed on the first virtual device, the LED
indication was never sent back since that virtual device was not
configured for LEDs.

So the fix now would be to not use the base HID core driver design
to create multiple virtual devices but create just one using the
HID core driver and then create another in the hid-motorola.c driver
to be used for the touch inputs.

Also, revert the changes done to temporarily fix this issue under
IKTABLETMAIN-11091

Change-Id: I71dd70ce7b6c501421b598306ed76e3cb171bb3e
Signed-off-by: Shilpa B S <qfgk43@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343243
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: LieJun Tao <L.J.Tao@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-5509: Cleanup Multitouch driver for ICS.

Removing all the Mouse mode logic from the Multitouch
driver for ICS since the ICS framework is now capable of
handling the Multitouch inputs as Mouse or gestures.

Change-Id: I38cfb3366dc36479fe227b5e9790e41d1ed0269b
Signed-off-by: Shilpa B S <qfgk43@motorola.com>
Change-Id: I0c59b12d79d1f9edda4b00f34f460bb9156491d6
Reviewed-on: http://gerrit.pcs.mot.com/342817
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: LieJun Tao <L.J.Tao@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-5930:To increase the fps value for preview and
video capture to 30FPS

Change-Id: I84bc700bf374d7fd22b6f8e02d2e3df037520769
Signed-off-by: Shantanu Gulzar <rtnp83@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/342824
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Elena Satraitis <w04888@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Igor Kovalenko <Igor.Kovalenko@motorola.com>
IKQCOMSD1-1145: Camera flash feature integration

Integration of lm3556 flash led driver with
qualcomm's camera flash framework with following
features:

Image Capture: auto,on,off flash modes
Video Capture: on/torch and off modes

Change-Id: Iacb3c7c2f5a62b571a65a068f4bdd66b59a73fad
Signed-off-by: Amey Sadashiv Moghe <WBGD48@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343405
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Dave Schmidt <d.schmidt@motorola.com>
Reviewed-by: Subramanian Anandaraj <subbu.anandaraj@motorola.com>
Reviewed-by: Elena Satraitis <w04888@motorola.com>

Conflicts:
	drivers/media/video/msm/flash.c
msm8960: mmi: update board files for MSM8960 1.0.30 "CS" Releaseo

See following Qualcomm commits for more details:
 * bcad6f5 msm: board: Add ION heap for Audio
 * bf7da90 msm: board: Increase ION MM heap size
 * 2a18db3 msm: board: Restore SF and MM heap to PMEM sizes
 * a67dbb1 gpu: ion: Add new heap for qse comm
 * d07ac25 gpu: ion: Add support for adjacent heaps
 * 1f92d73 msm: defconfig: Set initial number of KGSL pagetables to 24
 * f8a7589 Revert "defconfig: 8960: disable CONFIG_MSM_QDSS"
 * 1d34047 defconfig: 8960: disable CONFIG_MSM_QDSS
 * 5e4a01c msm: defconfig: Enable writeback panel for wfd

Change-Id: I2d58e251702b94ee9674730eacde51de1e680a8b
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-4457: Disable PMIC ID IRQ

This IRQ starts firing constantly in some cases after removing a
cable. Since the PMIC ID IRQ isn't used by any MMI devices the IRQ is
being disabled.

Change-Id: Ifd0db0bb4a1c0911f5da5bd048794c16ae27cdc2
Signed-off-by: Neil Patel <NPATEL@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343930
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Srinivas Sripathi <sripathi@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-6158: Increase Qinara display MIPI clock to 230Mhz

- Increase MIPI DDR clk to 230Mhz to avoid RF desense

Change-Id: I3e004d03d5949ee5c6b14f79e1e3985c929cb4cd
Signed-off-by: Bang Nguyen <bnguyen1@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/343826
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Limei Wang <e12499@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKVANQUISH-348 replace smbus functions with i2c function when reading touch data from IC

Change-Id: I682d273d608873fba1c306a5d16a8f3ffc3b5e6a
Signed-off-by: Boris Dubinsky <cbd013@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/344646
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Boris Dubinsky <Boris.Dubinsky@motorola.com>
Reviewed-by: Wu Yan <qdk647@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKHSS7-6172: Adjust MPP12 only on P1 Qinara

The fixes eprom reading on Vanquish with real batteries
Originally the change was made to fix P1 Qinara and it
was verified by HW to not break any other designs.  That
was tested and passed but Vanquish with Real Battery was
not and fails.  This change checks Qinara and P1 to adjust
MPP 12 settings to the change from IKQCOMSD1-1119

Change-Id: Ifc8b7fc99895ccf8fd42ffe51c4c380db9750943
Signed-off-by: w65789 <w65789@motorola.com>
Change-Id: I5d14c2dcd7f8143cabbfde93c635cbb71c341ed0
Reviewed-on: http://gerrit.pcs.mot.com/343942
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
IKHSS7-6454 : export gpio 49 (prox interrupt) GPIO to /sys/class/GPIO

Change-Id: I38d96e11c86abac583992ead449f99489da98c2f
Signed-off-by: Eyob Tesfu <w15039@motorola.com>
Change-Id: I4ad6b502da9c6e84a0ec72e2e72617f5ec46c14c
Reviewed-on: http://gerrit.pcs.mot.com/344761
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Scott Debates <scott.debates@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKKRNBSP-908 msm8960: teufel: handle display-related i2c variations in devtree

Change-Id: I809ecc0525cfc47a27e6aa1e2b081be204ace08b
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Change-Id: Ifa90ccab80f163b3f6b8860b1b8ebf0e54d90d06
Reviewed-on: http://gerrit.pcs.mot.com/345443
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
IKKRNBSP-909 msm8960: teufel: properly handle AUO-only I2C devices

Change-Id: Iadb70907e8e83e6c041c194457384d3ad1bc848b
Signed-off-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/345559
Tested-by: Jira Key <JIRAKEY@motorola.com>
IKHSS7-5471: CTS: android.net.cts.TrafficStatsTest

CTS test failed because uid_stat option was not
enabled in kernel and /proc entry was missing

Change-Id: Ib9b67d470fe9da90477a8383d781498734e81b93
Signed-off-by: Dmitry Ornatsky <cdo021c@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/344899
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Igor Kovalenko <Igor.Kovalenko@motorola.com>
IKQCOMSD1-1334: Fix serialno string termination

serialno is not truncated as expected, boot_mode is being
truncated instead.

Change-Id: I398c1a30c91c6cf375388b62eee2b8a19e0fdd8d
Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/345482
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKQCOMSD1-1280: Fix Shutoff Handling

The Requirement for Extreme Temperature Shutdown has
has been removed.  This will fix multiple problems
found with that feature and also align with the changes
made to Android during the upmerge to maindev.

Change-Id: Iac882f377d40cf9dde01c1bb11e9c12635a4391c
Signed-off-by: w65789 <w65789@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/345527
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Jason Knopsnyder <jasonk@motorola.com>
Reviewed-by: Vidyadhar Gurram <Vidyadhar.Gurram@motorola.com>
Reviewed-by: Zachary Crosby <zac@motorola.com>
Reviewed-by: Mark Melone <g15829@motorola.com>
Reviewed-by: Igor Kovalenko <Igor.Kovalenko@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
IKQCOMSD1-1257 - Unable to change Vanquish's display brightness

Change-Id: I0660e1b21829e0b408037841c863351f00acfcae
Signed-off-by: Alina Yakovleva <qvdh43@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/345656
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Bang Nguyen <bang.nguyen@motorola.com>
Reviewed-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Reviewed-by: Igor Kovalenko <Igor.Kovalenko@motorola.com>