arm/dt: msm8974-liquid: Add vreg, chip_pwd  data to AR3002 node

Add the vreg data required to power on AR3002 bluetooth chipset.

Add gpio-regulator node, to control chip level reset gpio which
is common between wlan and bt combo chip.

Change-Id: I58eca40da84117ece53f0413ba570f53d11aa069
Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org>
USB: Allow udc_probe to return success when registering trace fails

mdm9x15 currently does not support tracepoints so trying to
register a tracepoint would result in udc_probe failure.
This fix allows udc_probe to return success even if registering
the trace fails.

Change-Id: I8a616fc79de5c34c19fc9d19b66a0cdde76db990
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
EHCI: HSIC: Abort system suspend if controller is outside LPM

98089c0d commit (USB: Prevent system suspend when HSIC device
is active) ensures that USB devices are auto suspended before
system suspend begins.  Apply the same policy to HSIC controller
platform device.  This will cover the corner case where controller
and root hub are resumed after root hub system suspend routine
returns success.

CRs-Fixed: 482498
Change-Id: I604b24775e1c2f52020161c236c44c20d579d5e0
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
ASoC: wcd9320: set bitwidth only on ports belonging to given DAI

Existing implementation sets all SLIMBUS RX ports to same bitwidth
setting. For concurrency use case, this logic will interfere with
configuration of all RX DAIs. Enhance the logic to only set bitwidth
for ports associated with given DAI.

Change-Id: I4284bc97858115bf3bd4baff91193b400d2a6d12
Signed-off-by: Patrick Lai <plai@codeaurora.org>
ASoC: msm: qdsp6v2: Enable speaker protection with default values

Feedback Speaker protection feature should be enabled
even if speaker calibration is pending for playback
usecases via speaker.
DSP will pick the default values from acdb params
for speaker protection.

Change-Id: I9f77d35e4406a656560415a43669264111c9c6f5
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
ASoC: msm: qdsp6v2: Set correct default channel map on adm

The default channel map set on adm is not correct. LFE and FC is
interchanged. Correct this entry for multichannel playback on wifi
display.

CRs-Fixed: 482570
Change-Id: Ie82aa33c59d33efd02ca3f8d4507d5ef6744d857
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
usb: bam: Allow apps to wakeup using BAM IRQ

To allow VDD min, we need to put the APPs core into suspend
power collapse.  At the moment, the BAM IRQ is not labeled as
wakeable, so it will not be able to wake the apps. This fix will
allow the core exit VDD min.

Change-Id: I6ef4a53ce5b553ce98bc7537aa2076a511ffb87d
CRs-Fixed: 467747
Signed-off-by: Bar Weiner <bweiner@codeaurora.org>
msm: ASoC: add empty element to device matching table

Voip platform driver registers twice instead of once because
of the missing empty array element in device tree matching
table.

Change-Id: Ib1b7cf395c35cb92dfbfbb6465589fe9f136f6d3
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
arm/dt: msm8226: Add ADC_TM node

ADC_TM is used by clients to set recurring measurements
and set temperature threshold and receive notification
when thresholds are crossed. Clients include pa_therm,
batt_therm, die_temp and vbatt.

Change-Id: I9ff66c57b421cf7fc3d1145b06b34ac784fbb01e
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
arm/dt: msm8974: increase audio heap size by 3MB

To support multiple(upto 4) instances of tunnel audio playback
sessions we need more memory

Change-Id: I9ea2ba38f7228e45e8edf71831d8c0762dcff7dd
Signed-off-by: Jitendra Singh Naruka <jnaruk@codeaurora.org>
ASoC: msm: Set default topology for voice call recording

Observed silence in in-call voice recording with dual mic when fluence
enabled. Fluence topology is applied even on audio recording path.
Default topology is set for in-call voice recording

Change-Id: I845a653fdbf45a8c297c6a9310e60c23a49d34f8
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
ASoC: msm: q6: Support multiple tunnel instances

There is a need of supporting more than 1 instance of TunnelPlayer.
When one tunnel playback is run and if we try to play a video
having audio format supported in tunnel mode only, that can not be
played due to this limitation, so implement upto 4 tunnel instances
support

Change-Id: I5e0a1b94db69e2d0302394633c6db0e586bcc50f
Signed-off-by: Jitendra Singh Naruka <jnaruk@codeaurora.org>
qseecom: enable ce1 clock when setting PIPE key

When setting PIPE key, TZ need to read key store from ssd partition
again and re-authenticate it. Authenticating this requires accessing
crypto HW. Hence the CE clks needs to be enabled by qseecom prior to
issuing the request to set/clear pipe key.

Change-Id: I3472e62416c24563b429801fa0d218b0df5e7149
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
msm: socinfo: Support additional MSM8226 IDs

Update the SoC ID mapping table to support additional
MSM8226 chip IDs.

Change-Id: I3fdc8ad827e9a66119e604650f77cd917474d794
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
arm/dt: msm8226: Update MSM ID properties

Update the qcom,msm-id property in MSM8226 device tree
files to indicate support for additional MSM8226 SoC IDs.

Change-Id: I59ce1d954e1f51e8acdda9c681a111c27d27008f
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
msm: socinfo: Add support for MSMSAMARIUM

Add socinfo and dummy socinfo for MSMSAMARIUM.

Change-Id: I33d211894087ffd7e51ac13dad9a012bb48751ad
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
msm: iomap: Add MSMSAMARIUM support

Add the I/O map macro definitions and associated functions
needed to create the early I/O mappings on MSMSAMARIUM.

Change-Id: I839d5225e2017212fdb092f585e111e53a0f32a5
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
msm: board: Add initial board files for MSMSAMARIUM

Add an initial board file and the initial gpiomux
configuration file for the MSMSAMARIUM target.

Change-Id: I4dd8c3a696cabb2a1c285f681a056ba1e2d09095
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
ASoC: msm: qdsp6v2: Fix for EVRC-B/WB vocoder rate

Rate set in userspace for EVRC-B/WB vocoders are not
propagated to DSP. Fix the issue by sending rate command to DSP

Change-Id: Id606211ddfacc23c3a02f6861d9d0be6ed340ac9
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
ASoC: msm: qdsp6: Fix for EVRC-B/WB vocoder rate

Rate set in userspace for EVRC-B/WB vocoders are not
propagated to DSP. Fix the issue by sending rate command to DSP

Change-Id: I449297404c4a0f826c23dedd2aeebaeef408106b
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
CRs-Fixed: 488084