arm/dts: msm8226: titan: Reconfigure init and default brightness

- Per product team testing results and requirement, update back light
  maximum brightness as 420 nits, default brightness of the setting
  value 94 as 161 nits.
- As boot loader set back light as maximum value, kernel init brightness
  should be aligned with that for smooth transition.

Change-Id: I7ec6ecdc978ad2de154fea89f815427e8f9e0f48
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612111
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Stephen Rossbach <rossbach@motorola.com>
SLTApproved: Stephen Rossbach <rossbach@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
driver: imx179: Add/Port imx179

Porting/Adding imx179 driver for 8226 platform

Change-Id: Idfa2d6aed0bc9b1bc75357d82c4fe207ddb03ad2
Signed-off-by: satya kottisa <fvgm76@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611757
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Nagappan Rathinam <dgxp63@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dt: 8226: imx179 Bringup

Adding gpio/regulators needed for imx179 bringup

Change-Id: I253e88538bcf68fead2e8f705be16cba8e0196f5
Signed-off-by: satya kottisa <fvgm76@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611758
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Elena Satraitis <esatrait@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm: msm: 8226: clock change for imx179

Add in MCLK for imx179

Change-Id: I717739b235aa767323bc250b4b15a688627d44ab
Signed-off-by: satya kottisa <fvgm76@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611759
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Elena Satraitis <esatrait@motorola.com>
Reviewed-by: Nagappan Rathinam <dgxp63@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
defconfig: 8226: Add imx179 Camera

Add support for imx179 camera

Change-Id: I560991c19d60a2f8ce05bf2159ec2ac1a5e4858d
Signed-off-by: satya kottisa <fvgm76@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611760
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Reviewed-by: Elena Satraitis <esatrait@motorola.com>
Reviewed-by: Nagappan Rathinam <dgxp63@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
driver: imx132: Add imx132 driver

Adding imx132 driver for 8x26 platform.

Change-Id: Id2f7a79534f287718c4f48602fd831fc2ff8bbd7
Signed-off-by: Nagappan Rathinam <dgxp63@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612084
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Satya Prasad Kottisa <fvgm76@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dt: 8226: imx132 Bringup

Adding gpio/regulators needed for imx132 bringup

Change-Id: I6f922ea6d81b3f449ac0bfac39d1fe171d03c0e5
Signed-off-by: Nagappan Rathinam <dgxp63@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612085
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Satya Prasad Kottisa <fvgm76@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
defconfig: 8226: Add imx132 Sensor

Add support for imx132 camera

Change-Id: I117a0114c1a912903b7bb5c78e8d8cc17551514c
Signed-off-by: Nagappan Rathinam <dgxp63@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612086
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Satya Prasad Kottisa <fvgm76@motorola.com>
Reviewed-by: Elena Satraitis <esatrait@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm: msm: 8226: clock change for imx132

Add MCLK0 for imx132 and eeprom.

Change-Id: I786d9fcaa412aed6aea49df25d053edc44b8c6b7
Signed-off-by: Nagappan Rathinam <dgxp63@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612087
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Satya Prasad Kottisa <fvgm76@motorola.com>
Reviewed-by: Elena Satraitis <esatrait@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
power: The BMS probe lockup issue

The QCOM CS part power: report full when charger is plugged in at 100
SoC, with commit d196fcd4ed44a1e74399a28dc17fa35d3d24b2e3 had a side effect
due to which the BMS probe locks up and device fails to bootup.

This change is suggested by QCOM which solves the BMS lock up issue
and device boots up with no issues.

Change-Id: I11b12dd1fe6615fa38234b5d078487f760e1c508
Signed-off-by: kumarv <kumarv@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612012
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Reviewed-by: Vidyadhar Gurram <rnh786@motorola.com>
Reviewed-by: Jason Knopsnyder <jasonk@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
drivers: misc: stm401: Add IR gesture plumbing

This also cleans up stm401.h to fix some defines that were too wide and
move kernel only defines into the kernel block.

Change-Id: I42296aba66696146995f1d8082cc28f010b7deb7
Signed-off-by: Jonathan Kliegman <kliegs@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611938
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Robert Wiegand <Robert.P.Wiegand@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dts: 8226:Titan: Disable unused touch IC

 Avoid cyttsp/aps_ts drivers to send I2C commands and return failure.
 This can save about 1.7s kernel booting time.

Change-Id: Ideda548c934ccf8ee3ef418dfd2eb8bea1b0d0a8
Signed-off-by: Jiangli Yuan <a6808c@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612504
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Shi-Yong Li <a22381@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
aSoC: msm8610: fix speaker amp pop issue

Add time delay to fix intermittent pop issue which is caused by
speaker AMP shut off according to audio HW engineer's analysis.

Change-Id: I123dc68fdaf04b65e7670d7a3b7b12cbbc3c6507
Signed-off-by: Xiaomao Liu <exl002@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612448
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm: msm: mss: add new modem restart flag in smem

After an SSR, user is prompted for the SIM PIN entry. Adding the
modem_reset flag in SMEM will allow the modem to check this flag
and do the Silent PIN entry on the user's behalf.

Change-Id: I630becc1179288debd83b999781598c3ab6accfd
Signed-off-by: Bharat Srinivasan <wlbs18@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/610625
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Bharat Srinivasan <bharatsrinivasan@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Reviewed-by: Jayachandran Chinnakkannu <jayc@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
bootinfo: Remove unnecessary conditional

Remove the conditional compilation logic around the #defines
in this header file so components can still compile when the
feature is disabled.

Change-Id: I46a177595552e21ca20d6d3df6199bee034379b9
Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/611048
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jayachandran Chinnakkannu <jayc@motorola.com>
Reviewed-by: Grace Chen <w30234@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dt: msm8974: Reserve space for fuse driver

This change adds a efuse node inserted in DT for 8974 products.
Excludes early development boards.

Change-Id: I0f3d06c107ac887a91534fbec86cbfb40e2f3447
Signed-off-by: Darren Shu <darrenshu@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612358
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
msm8974_defconfig: Enable Security driver module

Change includes
a) Enable Security driver for 8974 products

Change-Id: I7904aa83a1af05d562bc3b98935ce5b7d629f788
Signed-off-by: Darren Shu <darrenshu@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612339
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dt: msm8610: reserve reg space for memory

Reserve reg property space for "/memory" node so as to
avoid memmove in bootloader while adding memory info.

Change-Id: Id024bb2dc5457220a758a0026f2db528914387c9
Signed-off-by: Donghua Yan <a18317@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612889
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dt: msm8974: reserve reg space for memory

Reserve reg property space for "/memory" node so as to
avoid memmove in bootloader while adding memory info.

Change-Id: I9b9cf8d94a9e820cd10665bc7c32027b39f534b9
Signed-off-by: Donghua Yan <a18317@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612922
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jason Hrycay <jason.hrycay@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
arm/dts: msm8610: support Paypal card reader

TI tpa6165a2 IC's 0x18 register should be set to 0xc0 by default
to support Paypal card reader, Up Jawbone,....

Change-Id: Ic954e23ffcf170899f10dd6f4687d66f6bb703cf
Signed-off-by: Xiaomao Liu <exl002@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/612290
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>