Update bq27426 driver documentation, explaining how to add a battery
profile to a product, as well as the Device Tree parameters.
Additionally, what needs to be done in case it is a Dual Battery-based
product/architecture.
Change-Id: I6ecaf039087a7d83b26abe32c83f4ba96cc248ba
Signed-off-by: Cesar Santos <cmsantos@motorola.com>
Reviewed-on: https://gerrit.mot.com/1494396
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
Add the battery profile header files to makefiles to build with correct
battery profile information
NO_PROP_NEEDED: change only necessary for smith battery. Does not affect
Olson
Change-Id: I73f32af18d91ffa573edb285d850cd3c450e9c7c
Signed-off-by: Andrew Abbott <drewa@motorola.com>
Reviewed-on: https://gerrit.mot.com/1494276
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
Add *.fs files from TI for smith batteries and the *.h files generated
by converting the raw *.fs files using convbqfs.pl
Add *.fs and *h files for defender from defender branch
Separate "raw" and "imported" battery profile files into subdirectories
NO_PROP_NEEDED: change adds battery profiles for defender and smith.
Olson does not use these battery profiles.
Change-Id: Ida5d1a937f8046b4d926d3dd8e851f5a205e0bdf
Signed-off-by: Andrew Abbott <drewa@motorola.com>
Reviewed-on: https://gerrit.mot.com/1493722
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
Using boost mode for long vibrations leads to desense issues.
The long vibration waveform will be modified to increase power
instead.
This reverts commit e5c9b40ce9f6d9abf83dfde7da4adbd0f52664ef.
Change-Id: Idb38ad2fd1f51578ee3c1610ef13c90628b5dbb1
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/1505515
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
As sec_mmi_pre_suspend() is called in the path of display-off, too long
blocking would possibly cause user space module "Display Controller" to
be out of syncing display power state.
Set a timeout for checking wake lock instead of waiting for forever.
Change-Id: Ie72bda93eaaf66e89ed34d33911ec1fdfea5b0cb
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/1506510
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
1. Create a separate lock for gesture event reporting to solve the
problem of blocking pre_suspend and then blocking the next wake-up.
2. According to BSP test, it takes 1500 ms for the touch to receive
the gesture event and the upper layer to complete the processing.
Change-Id: I93a18399876beba49100b41a0561103b2b9fa86d
Reviewed-on: https://gerrit.mot.com/1505298
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
when the batttery is discharging, if the hearbeat work schedule time is
too short, and work frequently will lead to power consumption problems.
Change-Id: Id9120295ee1452b14e790d6bc5876fd5fd94c6c2
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1504442
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
- Add configuration and lib for wakeup gesture.
- Apply for display new interface to implement single tap for TDDI.
Change-Id: I404229ca6268094566076587ee7803759eddedf4
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1503785
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
This feature allows to put device in Adaptive Charging. It has three modes:
- Auto (charger until upper SoC, and goes to 100% on a predefined time)
- Manual scheduled (same as Auto, but user defines predefined time)
- Manual (user defines upper and lower SoC limits, l(CR) an extended Demo Mode)
This feature is ideal for continuously plugged devices.
Change-Id: Id6fe80d358657c5e0142d8a5cd28b71596510fb3
Reviewed-on: https://gerrit.mot.com/1501961
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Minor message review (l(CR) changing some to start with uppercase
letters), as well as standardizing to all messages to present
"SMBMMI" text on this driver.
Change-Id: Id05eea39db9853c4d20069e73c393bd921b5c4e4
Signed-off-by: Cesar Santos <cmsantos@motorola.com>
Reviewed-on: https://gerrit.mot.com/1504251
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Add POWER_SUPPLY_PROP_HOT_TEMP property, which will be set
to 1 if we are either too hot to charge or in the highest
temp zone. Otherwise report 0.
Change-Id: I67495fad2da2e30bc99e6ac5629d918d63d917ee
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1499274
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Reduce the dc current by 100mA if the battery reports
that it has entered a hot temp zone. Charging is more
efficient if the battery is cool. Each time the temp zone
is re-entered the current will be reduced. When the temp zone
is exited a timer of 5 minutes will start, and if the high
zone is not entered again the max current will be restored
by triggering dc AICL to rerun.
Change-Id: I5b9ac02410e33a729bcade957d9a5676376a0cb6
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1499273
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
-there is a defect when RF location is different
-modify enable process of Sar
Change-Id: Ib018136c6f9ded6f580432d6202f92d6830434c2
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1499395
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
log output process
extract name of input and cdev to dts
Change-Id: I554cb2e24be6ea4038d9106e2e7fc85b5b7e24c5
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1498941
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Add an entry for the new default ringtone into the RTP
ringtone->waveform map
Change-Id: I1f7faa906ad13b462c5673a88bfbdffe2d50db3c
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/1498409
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Make sure non-fatal errors do not appear in the kernel log
Change-Id: I57a973709eb0f2ae1b6a2df7375fd8e821f6cfee
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1497921
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Pill region support added to improve edge double tap detection.
UI will utilize IMotTouch HAL to control this feature. Feature
needs to be optionally enabled by adding sec,pill-region-control
property to device tree node.
Change-Id: I582063c653ddd7631e6bf843c981726997d7c1ad
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1497429
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
TP:
Modify the power on process of synaptics touchscreen to solve
the problem of power failure.
Change-Id: I8963e3db920de3830b81eb95611cce1696ac111f
Reviewed-on: https://gerrit.mot.com/1496299
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Because there is no disable-irq in LPM mode, I2C communication may
occur when system suspends, resulting in conflict, which may lead to
system crash.
So we disable-irq when PM suspend, and then enable-irq again in the
suspend_noirq phase.
Change-Id: Ib9ca3f1f2a6d2da0142c6203acedb617535fc4a0
Reviewed-on: https://gerrit.mot.com/1494642
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
If dts defined size to pixel factor, report those two value in pixel
unit.
Change-Id: Ie89e8d9427cc80d82a742e4ab2efbe8c468ac16e
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1493096
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
TP:
Initializing the touch PM_MODE is PM_ACTIVE when registering the
notification chain, to solve I2C error in the first suspend.
Change-Id: I80e6a20484cba58dd1f8a25c0b0707d0b8a95eb7
Reviewed-on: https://gerrit.mot.com/1493127
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Force dcin-en on in the 8150b pmic when a wireless charger
is attached. There appears to be a hardware glitch where
an undervoltage event will cause the feedback enabling dcin-en
to stop, which prevents us from charging even though the charger
is attached and working.
With this change, we have to determine if we are connected based
on whether the attach detect gpio is on instead of a voltage
at VRECT, because VRECT will always be high when we force dcin-en
to be on.
Change-Id: I887266b9316b556a3b1dd12997ae67b5c7a324d9
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1491980
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
PMIC receive usbin OV events, OV IRQ triggers for
very small duration in interim periods sometimes.
while this periods check charge type will judge inbox
charger adapter as weak charge. now logic is always
recognize weak charge even if OV event disappear.
So add real time check weak charge type mechanism.
Change-Id: I18072c56b505f2508292d6b335f71a646d48b6d7
Reviewed-on: https://gerrit.mot.com/1486223
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Error status bits weren't being checked, so RTP mode
would attempt to continue despite errors being present,
causing occasional lock-ups and delays
Change-Id: I9de871e3e2e0ba2255e621b5a8505e87edd90f1e
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/1491069
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
1. Process of panel off and on
Panel OFF:
(pre_suspend)->IRQ_OFF->INTO_MODE ->(post_suspend)->PINCTRL_OFF->POWER_OFF
Panel ON:
POWER_ON->RESET->PINCTRL_ON->(pre resume)->MODE->IRQ_ON->(post resume)
2. Only when both the sensor and the gesture are enabled can the
gesture mode be entered.
3. Interrupt will be turned on only in gesture mode.
4. Turn off the power only when Power_off_suspend is set
and not in gesture mode
Change-Id: I962cde8711333a4f213b01dccc99a3268e3ca519
Reviewed-on: https://gerrit.mot.com/1479065
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
To meet IC power on sequence, if IC power is not always on, need to wait
for 70ms before checking IC status. If no delay added, I2C communication
may fail sometimes. This is copied from sec_ts_probe.
Change-Id: I85b3a8a2b444ea2e3e77a60e2fcc45c8b976bc6c
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1489000
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
Add disconnect mutex guard to tx mode and flashing
the firmware to prevent unexpected racing.
Add a check_status on probe in case we are starting from
a reboot attached to a pad and have already handled the IRQ.
Change-Id: I5c6a4fad548e2e7b6847ec51da6791b51dd71e98
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1489666
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Add build flags to cci_intf so that only kernel versions 4.19 and above
will have this functionality. This is because older kernel versions will
use a different cci_intf header and will not build.
Change-Id: I69111b4161734303e8a1c99223623896ac5d112b
Reviewed-on: https://gerrit.mot.com/1488924
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
Main OIS requires 16 bit writes. cci_intf only supports 8 bit writes
currently. Add a field to allow user to specify data width. Add logic to
proccess data according to that width.
Change-Id: I5da72399d9060ab60775488f36c5f72262a105a9
Reviewed-on: https://gerrit.mot.com/1488484
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jian Luan <jamesluan@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit 63e2369c5c00ed0a504f9a45e0a3be381faafd55)
Reviewed-on: https://gerrit.mot.com/1488831
There are too many cases of a wireless charger showing as
charging when it is not. Only show when LDO is turned on
even if it sacrifices some detection speed.
Change-Id: I9bd1cb03428f4be4fcd2847b50fd7f0e9122154e
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1488807
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Show that we are charging when VRECT_ON is triggered.
This unfortunately leads to some edge cases where we will
toggle the charger on and off if on the edge of the pad.
Additionally clean up the remove function so that we
do not race with the status interrupt in any context.
We will process the removal of a charger if (1) detect
IRQ goes low (2) we fail to read I2C or (3) the heartbeat
function reads there is no voltage at VRECT.
Change-Id: Ieec364bfa2a7bac8966dea3951d913ad7bdefee9
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1487527
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Config option PANEL_NOTIFICATIONS only set for products using
touchscreen_mmi class code.
Mot-CRs-fixed: (CR)
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I01d82a3a8df2a5684b70675c0676ff29aa7cbdc5
Reviewed-on: https://gerrit.mot.com/1488434
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Synaptics driver code aligned with touchscreen_mmi class code. Despite
changed directory name, module name is still synaptics_mmi. Synaptics
driver with class support will build whenever touchscreen_mmi.ko
exists in the list of product DLKMs.
Change-Id: I7aabf417292981d09f4c431d45815ff16e80ba62
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1472910
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
In multiple display configuration, panel notifier will be called for
each display. Control DSI associated with display is passed as a
parameter to panel notifier and will only be actionable in the case
when notification belongs to display.
Change-Id: I6abbf2d34aaedd230ac1de79100babed20ed712b
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1482868
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
This DLKM will only be built if touchscreen_mmi class is not used
for backward compatibility.
Change-Id: Iced4457c6f87faa726ea6de44f9f625955d646fb
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1479387
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Need to build DLKM using touchscreen_mmi class code as well as old
fashion way.
Change-Id: I2013c074b603ac1e048fc2c59dc19efc853808d5
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1486524
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Enforced calibration on firmware update might cause problems when
something is touching the screen while it runs.
Change-Id: I7296d3c00881ed482cfa5dadd16de2d09c935230
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1487884
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
The vast majority of RTP work was being done directly in
the irq handler. Occasionally, it would take eight or more
seconds to return from the irq.
Change-Id: I7332b9746efcfaac1d09b8c1cc8116da59138cd0
Signed-off-by: awhite6 <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/1487522
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Remove the reset on init, it was initially used when the
interrupt did not function properly in early firmware.
Also remove the reset in disconnect, and instead just check
the status. And add a mutex to prevent the disconnect irq
from running concurrently with the status irq to prevent
races.
The VOUT and VRECT handlers in the IRQ were flipped in case they
are both true. We should make sure we handle it in the expected
order.
Change-Id: Ib835d1ba85127a69dfed3c08821aa928e9c0bf9e
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1487334
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
The thermal subsystem will call this function on every
wake up or failed sleep attempt. Do not spam the log,
instead only report if the state changed.
Change-Id: I5c5f2b30333c754b334028444b93c8dcf5af32c7
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1486519
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
kernel module
add sar svdd regulator
sar sensor has tow power vdd and svdd regulator,now add svdd
Change-Id: Ia8d0c8a24f9d633e323d69da846ed1d19e0a7580
Reviewed-on: https://gerrit.mot.com/1484941
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
dt-gesture sensor was previously an ON_CHANGE sensor. This is
generally okay, but it can lead to the Sensor Service sending out
an old event to a new (second, third, etc..) client if there was
already a previous client registered for the sensor, and this is
not the behavior that is desired.
Change-Id: I3bc91c5271fedc83b11ee5028980cfea99dd6732
Reviewed-on: https://gerrit.mot.com/1484754
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Add TX FOD write: write up to 6 bytes starting at register 0x00AC.
Configure tx parameters on mode change IRQ & bit 2 of mode reg set:
-write TX_FOD if configured
-write EPTRMPWRTGL to SYS_CMD (moved from p938x_set_tx_mode function)
Add handling for EPT modes. Reset after 3 POCP events, or 3 FOD
events. OTP will turn off on first event. All others will reset
the IC.
Additionally, if tx mode has recovered 10 times without being
turned off by the user, disable it.
Change-Id: I2e5d2b00e34d29225347964434f4a4dd0b898d6b
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1484737
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key