Commit Graph

18 Commits

Author SHA1 Message Date
Linux Build Service Account
a35c30a54f Merge "ASoC: sdm845: update MI2S supported sampling rates" 2017-12-16 03:09:29 -08:00
Linux Build Service Account
3a6d24603e Merge "asoc: sdm845: check sound card status before sending AFE config" 2017-12-16 03:09:25 -08:00
Banajit Goswami
9e31a8a6e3 asoc: sdm845: check sound card status before sending AFE config
WCD codec must be enumerated before AFE configuration for
some of the features can be sent to DSP. This is because
as part of setting up this configuration, DSP tries to
access some codec register. These register accesses will
fail if codec is not enumerated already.
Add a check for Sound Card online state to confirm that WCD
codec has already enumerated before sending AFE configs.

Change-Id: I0b7e5eb49e4f6c6aee9cb142054e57eae592602b
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
2017-12-11 21:05:19 -08:00
Preetam Singh Ranawat
ae532a03f1 asoc: add multiple sampling rates support for a2dp
Add support of 44.1Khz, 88.2Khz and 96Khz over split-a2dp path.

CRs-Fixed: 2143086
Change-Id: I05e7e947bec250c509f647718323bd208c46b2b2
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2017-12-11 20:57:18 -08:00
Xiaoyu Ye
38fdba57ef ASoC: sdm845: update MI2S supported sampling rates
Update MI2S supported sampling rates in machine driver
to match the CPU DAI driver.

Change-Id: If6145e9f18182ab4621ffcd14716039fcc1bef6f
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-11-29 22:58:20 -08:00
Linux Build Service Account
57a2dd58fe Merge "asoc: sdm845: update and affine qos value" 2017-11-16 17:37:26 -08:00
Haynes Mathew George
c3f9814e4f asoc: sdm845: update and affine qos value
Fix qos value to 300 micro seconds to prevent core
from going into low power mode when low latency
session is active. Also pin this qos to core 1
& core 2 where audio and glink threads are
running to let other cores to go to low power
modes if possible.

Change-Id: I46d356c384fd8d02a9a3b336a113200171bf25a0
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2017-11-16 02:52:18 -08:00
Xiaoyu Ye
f6853a2010 ASoC: sdm845: fix clock refcount for MI2S/AUXPCM shutdown
For MI2S and AUXPCM shutdown, if clock disable is failed,
do not bother to re-increment clock reference. Otherwise,
next time when startup is called, clock enable will not
be called again, so use case will not work.

Change-Id: I5ce4590d2a2030f9d00f1dba9577396f7685a87b
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-11-13 03:03:10 -08:00
Linux Build Service Account
3d0e2dec05 Merge "ASoC: sdm845: update TDM configurations for TX and RX" 2017-10-25 09:56:57 -07:00
Xiaoyu Ye
04d1931018 ASoC: sdm845: update TDM configurations for TX and RX
Update TDM configurations for primary, secondary, and
tertiary TDM interfaces.

Change-Id: I1729ad4d8563063802dfae9128e290d58ad43497
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-10-18 11:24:58 -07:00
Ben Romberger
8e4368d3dd ASoC: msm: qdsp6v2: Add S24_3LE support to DP driver
Add support for HDMI and DP for S24_3LE bit format.
This allows playback of 24bit audio on the external
device.

Change-Id: Ia6e1148b2e5d13cc0ff6f2372d61c83c3e704255
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2017-10-13 13:22:31 -07:00
Linux Build Service Account
7e0d1ab80a Merge "ASoC: sdm845: add support to enable QUAT TDM TX path" 2017-09-20 17:55:32 -07:00
Xiaoyu Ye
f48af4ff1f ASoC: sdm845: add support to update TDM CLK frequency at runtime
TDM CLK frequency needs to be updated at runtime to use the correct
CLK setup.

Change-Id: Ib42fedca3cbf41b85ca121ca04cc994bf8ad4d39
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-09-14 12:32:39 -07:00
Xiaoyu Ye
a6b2a53173 ASoC: sdm845: add support to enable QUAT TDM TX path
Add support to update QUAT TDM TX HW parameters and
back end DAI link ops to enable QUAT TDM recording
feature on SDM845.

Change-Id: If0fccafaf563f9453559a45a59300a5bec75f449
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2017-09-12 18:03:50 -07:00
Laxminath Kasam
8f7ccc2e6f audio-lnx: Add latest snapshot for audio drivers.
Propagate the changes based on latest snapshot
for audio kernel source tree at below cutoff of
kernel msm-4.9 -
(040750bfa78 -
 "Revert "ARM: dts: msm: Add DT node for aop-qmp
  clock controller on SDM845 v2"")

CRs-Fixed: 2104096
Change-Id: I0927c40b3a188dbf892e7ec4c1c7810953724929
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-09-04 20:12:56 +05:30
Laxminath Kasam
38070be30b audio-lnx: Add latest snapshot for audio drivers.
Propagate the changes based on latest snapshot
for audio kernel source tree at below cutoff of
kernel msm-4.9 -

(aed56b2df75 - "drm/msm/sde: update te vsync enable sequence change")

Change-Id: I7ed5102146986b81e5cb9ca55432360b3549b60c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-08-24 03:53:42 -07:00
Asish Bhattacharya
34504581a0 audio-lnx: Add snapshot of audio drivers from below commit.
(1996ec83a45: "ARM: dts: msm: Reduce CNOC bus voting for
        USB slave on SDM845")

This change is to migrate latest snapshot of kernel drivers.

Change-Id: I84669db544773d3ce9d2d5dff0ab6943bd7d8ff9
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2017-08-18 16:56:12 -06:00
Laxminath Kasam
605b42f92c audio-lnx: Rename folders to new flat structure.
Kernel audio drivers can be categorised into below folders.
asoc - ALSA based drivers,
asoc/codecs - codec drivers,
ipc - APR IPC communication drivers,
dsp - DSP low level drivers/Audio ION/ADSP Loader,
dsp/codecs - Native encoders and decoders,
soc - SoC based drivers(pinctrl/regmap/soundwire)

Restructure drivers to above folder format.
Include directories also follow above format.

Change-Id: I8fa0857baaacd47db126fb5c1f1f5ed7e886dbc0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-08-18 16:56:12 -06:00