WRITE_SYNC is not defined on new kernel.
Change-Id: If47e84c06a0e52ccf4a7a116d233f8d8c924191e
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/1207791
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Remove the vendor version of the sx933x driver. A moto
version exists at drivers/misc/sx933x. The same driver
should be used across all products.
Mot-CRs-fixed: (CR)
This reverts commit 12a37b65d3a9bfee557f7b2c4f65f64b592f1c95.
Change-Id: I7d4b72c40248695212b34db0a967424f8173ae41
Reviewed-on: https://gerrit.mot.com/1217725
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Reboot notification callback cannot schedule config work, but need
to run it synchronously
Change-Id: If21c0dea8f4d24569d08e9f6e499a4b26b85c444
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1217106
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Raw values reporting is not supported for multiple ICs
Change-Id: I97d2bd0b5b7e20069c584ae496f224fc52a3b1ad
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1213594
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
there is obvious noise can be heared when heaset plug in.
if we enable micbias when the headset has not been inserted
totally. the noise can be transfered to HPHL/HPHR
Propagated from: (CR)
Change-Id: I9afc1cb0c7a5bad1381ac448774131d4b56a645c
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1216722
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Since touch reset will be controlled by display on ocean,
but still need to send sleep command, so add a property
for this condition.
Change-Id: Ife4cf51e8162e4107f34c4b1e6879fe305cceab6
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1215887
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Yongbin Chen <chenyb1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Comparison of pdata value to determine
IRQ polarity would not work because
pdata value contains valid pdata flag
Change-Id: I2f69f6839e3290f07a77c970322d7bc962848360
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed:(CR)
Change-Id: I2f69f6839e3290f07a77c970322d7bc962848360
Reviewed-on: https://gerrit.mot.com/1216569
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
we can update dsp input to RX1 or RX2 in run time
Change-Id: I6aa00f76684be7f60371526eab006c25a4e47b28
Reviewed-on: https://gerrit.mot.com/1214846
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1216060
Pass in guid and build version as parameters.
Get the bootmode from mmi_info instead of a
parameter.
Handle the MUC_FW_VERSION message. Print
out the muc version when this message is
received.
Also add a retry limit of 10 per message.
This should help prevent log spam when
something goes terribly wrong.
Change-Id: I73c002d8056bd8c3b355ff159e546f42698e1bf2
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1215726
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
There is no plan of record to use OSPL on any DLKM kernel.
This reverts commit 42547f66e2c68a6479623dd1f55c82b9d9785b41.
This reverts commit c442ee33c2d29133994516500acdd4f64ed74118.
squash Revert "(CR): ospl: fix build error of header files absence"
squash Revert "(CR): propagate ospl module from bomr1-8998 kernel branch"
Change-Id: Ie20ca57c5583efb95a5332be5a0204b22c1e4ec8
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203864
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Wake gpio has a pull-up resistor. Change it to
active low, and set to input during sleep.
Also rework the sleep/wake logic. ACK/NACK is no
longer sent on sleep requests. Line is pulled for
an ACK and NACK is changed to REJECT.
Change-Id: I9f2f9784e5f71ba1acea2a149519ddca788aa430
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1211698
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
DSI framework can send notifications from multiple channels.
Add device tree option to bind suspend/resume notifier to certain
DSI channel. This change applies to both: FB and DRM
Change-Id: Ie305914b8409415f6cf43182892fb52cfc524d3a
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1214307
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
If IC resume failed, reset IC and try to resume again.
Change-Id: I36dfcde496c4123f23742c9f0f73ce3c5d3bea6c
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1214015
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Update to trigger usb driver on attach. This will add
a new "phone" power supply so that the usb driver or
any other driver can register against the "phone"
power supply and get notified when it changes state.
POWER_SUPPLY_PROP_PRESENT will be used to communicate
the attach status.
Change-Id: I150740f1be0ddc9ba44c6bc036f87796686ee9c5
Reviewed-on: https://gerrit.mot.com/1210669
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
If early suspend is called, no need to do resume work if resume still
not finish.
Change-Id: If0798a1c023bc8a0990a47779346050ac6138cdc
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1213271
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
After early suspend, LCD will turnoff power.
If irq still enabled, there will be lots of I2C communication error.
Change-Id: Icab52436d25f7f7ceeaace77286b2bbfa407e7a5
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1213096
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Update the machine name property in the unit info
sub module - remove the machine name from 32
bit implementations.
Change-Id: Iaf31d8d9c3861fd652fb2226cc89a239da626968
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210671
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Yue Sun <sunyue5@lenovo.com>
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Nova TP reset pin is connected to VDDI in TP module.
So this pin should set to input float pin if nova IC is used.
Change-Id: Id8e71487603504661a8a87e0ea066636e99f2f17
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210685
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Add a macro to select the destination path for copying ko files.
Change-Id: Ibc353474064e25541d6cfe3c8e5a846740e406a4
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210322
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key