pre_finger_mask is overwritten to 0 when all finger leave.
So input_mt_report_slot_state will not called in himax_finger_leave func
Use old_finger instead.
Change-Id: Ic2db89273ea8fd91e88d1ce0dd9774f6b276d051
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1246456
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Get the DC Power Supply and then check the PSY
for POWER_SUPPLY_PROP_PRESENT. This will signal
to the MUC that the AP is seeing DCIN.
Change-Id: I9048b6f935af68783c927bdc6c420e929857b50e
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1245816
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
put sensor_class.ko and sx933x_sar.ko to TARGET_OUT_VENDOR
default will put in system
Change-Id: If5e8d483f8f78137f4caa60d7e49a2dedb1800d3
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1245176
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Master Yoda
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Add new flag enter_sw_loop to ensure enter switch charge loop after
quit bq2597x charging.
To prevent unstable switch between the parallel charging and pmic
charging.
Change-Id: I24e7ea365eb2a2f3b30eaeab351f0282c544adb8
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1244541
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
WHY:Initial value of 0x11 need to be changed and sleep for 1000ms
HOW:Change with new implementation
Change-Id: I6de5a138b78400c47cb1b99e9eca65ddc7448c1d
Signed-off-by: wunan3 <wunan3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1244373
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
-solve Capsensor insmod fail issue
disagrees about version of symbol sensors_classdev_register
disagrees about version of symbol sensors_classdev_unregister
Change-Id: I1785ccb317a24e04fc23f3a091844f05f00c13dc
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1244372
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Yi Cao <caoyi1@motorola.com>
Reviewed-by: Nan Wu <wunan3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
This is propagation of the patch submitted under (CR)
into DLKM utags driver
Change-Id: Ia0321e9560f0afddd19f31326008da0714304afa
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1243363
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Switch from a tty interface to a char device
so that we can implement message based reads
instead of a stream.
Change-Id: I23e7cb9bedcb51d857c3159b64b81f30574c132d
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1238344
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Master Yoda
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
TFA9871/74 doesnt provide a linear digital volume control, it has 2 levels,
the first is I2S Input Level(INPLEV) in Register 02H,it can be set 6dB or
0dB(default). The second is I2S gain attenuation(TDMSPKG) in Register 61H,
it's the gain of the Class-D output can be amplified btw +6dB and +21dB,
contains 16 steps.
Change-Id: I64f0426cac3829b0419c2e52358b043e749f2625
Signed-off-by: zhouwl <zhouwl@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1237458
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
With DRM signaling, on bare board level a dummy primary panel still
exist and thus probe and enable status reported. This patch is
adding panel name comparison to distinguish dummy and real panels.
Driver will not be doing HW init if it detects a dummy panel.
Change-Id: I347c53ed481a9b4c0d35668118d0ab9e56af5105
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1240533
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Make the log info can be configable and printf the info which vendor needed
Change-Id: I1df779d7bd2092c441644fc868ceb7bc0e67dd60
Signed-off-by: wunan3 <wunan3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1241013
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
MMI version of qpnp-power-on that uses KPDPWR Bark.
Works with qpnp-power-on so there is no need to disable
its config in the base kernel.
Change-Id: Ied2d04db1ec1687a5cf37be7ef908ad1382d14d9
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1240652
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dong-Hua Yan <a18317@motorola.com>
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
This change adds support for DRM signaling of touch IC probe and
suspend/resume
Change-Id: I8a237216c492ed79b259314b064f9bb4281272e1
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1239530
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
DRM not sending unblank notification when splash screen enabled.
This commit makes delays IC init until panel status reported as
enabled. This behavior is controlled by device tree option
synaptics,splash-screen-mode
Change-Id: I70dc846ee2914fdb592feddf27c3ad313f2955aa
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1229386
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
This commit makes necessary changes to allow successfully
insmod/rmmod raydium_mmi DLKM. Includes support for in-cell mode
Change-Id: I2e34c4dd87f38975b999e0cc65287b57270f1b5f
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1232896
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
This is a port of following cs35l36 change:
From: Paul Handrigan <Paul.Handrigan@cirrus.com>
Date: Mon, 12 Feb 2018 13:51:32 -0600
Subject: [PATCH] ASoC: cs35l36: Change master clock rate if using SCLK
If the device is using SCLK for the master clock, it is
possible for the SCLK rate to change if the master changes
the format, sample rate, and number of channels. This patch
will calculate the from those parameters if using SCLK.
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: I6815a075884ded0ebd352fed14259b575ade51ef
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1220283
Tested-by: Jira Key
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Add boost converter control to either enable it or
set it in bypass mode.
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: I3736b1d68bdd21421e23f6a790f0eeae99f2e3c7
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238851
Tested-by: Jira Key
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Change the OTP trim registers to volatile so they the
driver will always read the registers from the device.
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: If7eae9910483ac95030ddd98ceb35423c8babfaf
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238850
Tested-by: Jira Key
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Change the devid register to be volatile since cannot be
read from cache.
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: Id8c15245ef71df4f0e12afd9997babe92813aa1a
Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238849
Tested-by: Jira Key
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
* Fix register defaults that changed with chip revision B0.
* regmap_register_patch() has a bug which will cause register writes
to be delivered to the chip, but NOT the regcache. This can cause the
regcache to become out of sync with the actual state of the registers.
Changed the usage of this function to regmap_multi_reg_write() to
avoid this problem.
SQA-860
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: I512cffd656fdf942b7fcafc2a0473a7449cf2547
Signed-off-by: Adam Brickman <Adam.Brickman@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238848
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
SLTApproved: Slta Waiver
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Remove CSPL_COMMAND from header file,
because CSPL_COMMAND should not be called from driver.
SQA-1029
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: I5e2d386aac05cd6a3765c3849239513306a6d9a9
Signed-off-by: Li Xu <li.xu@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1238846
Tested-by: Jira Key
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Use old device tree configuration for DSP if wlf,wmfw-file tag
is present.
Change-Id: I1168edd2ea66eadcdef013fb01b40810bb1860fa
Signed-off-by: Prat(CR) Kamdar <djc637@motorola.com>
Reviewed-on: https://gerrit.mot.com/1238183
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
- Prevent potential risk that the touch has been updated
successful but display initial code isn't written fully which
will cause display can't work on ft8006u.
Change-Id: I0dd8232a79fb1ced88deb748f656a195d97908ac
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1232123
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
RTP data would overflow when being changed according to battery voltage,
so disable this feature.
Change-Id: I457b9ae0b25fa99acc1b2ba05c675d68167d5afb
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1237566
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
utags needs to be read-write in tcmd daemon whose group id is
system,many operation need group write permission l(CR) root user.
1.tcmd needs to add new node by lock and new operation
2.tcmd needs to access node /proc/config/all/new etc
Change-Id: I6ba335a9490e5cba8ead04a8144b9bdbca8ebba2
Signed-off-by: xizx <xizx@motorola.com>
Reviewed-on: https://gerrit.mot.com/1236562
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Tao Sun <suntao2@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key