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
If first MICD key range max is configured too high then
impedence will fall into the first MICD range and MICBIAS
will not be changed for polarity check.
Before skipping the polarity change, make sure the first range max
is low enough to put a wrong polarity headset in the second range.
Change-Id: I42e56172ec6d49ec66290a8ad1e531014908a8d8
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@motorola.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Change-Id: Ic8db2e8da71b98b3b1da09d515ad0a25fa08df16
Reviewed-on: https://gerrit.mot.com/1209640
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
Remove the stack pointer reference from the stackframe
struct as it has been removed from the kernel.
Change-Id: Ib0c55d1e84854e7a61e70f347b8d4171c61ca130
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1209023
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Add hwid to muc_uart bootinfo. Export the hwrev
function from the bootinfo driver to make this
information available.
Also update when bootinfo is sent, it may be
requested by the muc. With this, a change has
been made to cover the whole request processing
by a mutex to try to prevent sending a message
from the queue when the muc is expecting a
response instead.
Change-Id: I5087b69c9fd89fac5fcaba16f095c2c8e0c4f8ad
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1209493
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Add the support to run factory interfaces and other parts of the
driver based on PMIC version. This will allow this module to be
used in a cross platform fashion.
Change-Id: I0544fd0cbdd4f1ccdcf2596356d36b88d8fc00fd
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208956
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Reviewed-by: Curtis Porter <porterc@motorola.com>
Submit-Approved: Jira Key
To simplify the vibrating for both timed_output and leds, make
vibrator_enable() and aw869x_activate_store() call the same function
aw869x_vibrate().
Change-Id: Ideea1302d041d61c8a0a9c78586c38801077ea9b
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1209308
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Update firmware when version of bin and touch module is not equal
in order to follow moto tradition, also can do flexible firmware update.
Change-Id: I448fc6b82785731046ec2ea4fcdab4be0a715e26
Signed-off-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206766
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Set 12K for rtp mode playing and 48K for ram playing
Change-Id: I1485589cddf2f9dd2a220017b220cf214ed18d82
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1208742
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Moon also requires a delay before reading the boot done bit and clearing
the boot done interrupt. Otherwise the interrupt line gets pulled low
forever.
Change-Id: Ie4fbdd36d13e5ac2c75bf2171fbd44690773c1f4
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Change-Id: Ie4fbdd36d13e5ac2c75bf2171fbd44690773c1f4
Reviewed-on: https://gerrit.mot.com/1209117
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
Not all platforms are same imem address.
Change-Id: I570ea34c96d928de6f0cf83b13a5d02757693d30
Reviewed-on: https://gerrit.mot.com/1207825
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Factory Kill was being tripped when USB is suspended.
Fix this by checking USBIN Voltage when in suspend rather
then the online status.
Change-Id: I138db13c0e14b29d887a0dda0dbfdb1d4deffaef
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206691
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
The CSPL_CMD address may change depending on the firmware/chip revision.
This is now handled by assigning the correct address in probe based
on the chip's revision ID.
Mot-CRs-Fixed: (CR)
Change-Id: I4d0e4cb80dabe7cc98475b444471c42df96566fc
Signed-off-by: Adam Brickman <Adam.Brickman@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1204800
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1206183
In order to ensure that dynamic drive.ko can be output
/vendor/lib/modules, define a new macro DLKM_INSTALL_TO_VENDOR_OUT
Change-Id: I0aad283865f5831e577c388a214174db645ed63e
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1204366
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Use the smem.c modules to access shared memory,
qcom has removed the msm_smem.c api.
Also delete socinfo. It requires too many exports in the
kernel and l(CR) won't be missed.
Change-Id: Icd31bf4862b45758ced4c98f7fe35112a092b56e
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1201411
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Remove DAPM routes for ASP TX widgets when zero-fill
is selected as the source. "Zero" should be selected
for the ASP TX source whenever that channel is inactive.
For example, when capturing one channel of data from
each amp in a stereo setup, ASP TX2, TX3, and TX4 should
all have source set to "Zero".
Change-Id: I2d1c81307f8d88c4676f458fcfdbfa6a0bcbf750
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202255
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
If a control is written between preload and core enable, the value
doesn't currently get synced on the bus when we start the DSP.
SQA-991
Change-Id: Ie41c83150a40eae870b529fe319bf03bc20630c1
Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202254
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
Wait for OTP_BOOT_DONE as the first operation
out of reset. This is to facilitate B0 parts that
may have DEVID programmed by OTP.
SQA-856
Change-Id: I43484188c74aa0ae3bebcfdafe6f87e5cbe8bd25
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202252
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key