Commit Graph

19 次程式碼提交

作者 SHA1 備註 提交日期
Phani Kumar Uppalapati
ec17358caf asoc: set hwparams for dummy platform for hdmi backend
Set runtime hwparams for dummy platform components used
for hdmi backend.

Change-Id: Ide66c43d715d2db2599918275139dea5bbe7c7f1
2022-12-15 18:53:55 -08:00
Harold Tan
f5226cf462 msm_hdmi_codec_rx: add two supported sample rates
Added 88.2kHz and 176.4kHz for DP DAI sample
rates. Or some DP certification tests would fail.

Change-Id: I6dbb89aeabc9c4fee41483a1500b87b6e596042f
2022-06-27 22:38:18 -07:00
Shazmaan Ali
a20e11e0c3 asoc: codecs: Replace dev_err/info with ratelimit prints
replace all dev(pr)_err/info logs
that could potentially flood kernel logs with
ratelimit functions dev_err_ratelimited and
dev_info_ratelimited

Change-Id: I32dc6002dead1a07622978c4de63d541c01982fd
Signed-off-by: Shazmaan Ali <quic_shazmaan@quicinc.com>
2022-04-13 12:43:20 -07:00
Harold Tan
4ace4a9197 msm_hdmi_codec_rx: lower min sample rate for DP_DAI1
Lower rate_min to 32kHz to support more clips of
different sample rate for DP use case.

Change-Id: Idab284ac0cfe9248ae417ba9c25e5154f0658d69
2021-09-05 23:23:48 -07:00
Harold Tan
5f4dbcb2f5 asoc: msm_hdmi_codec_rx: add 44.1kHz support for DP playback
Change-Id: Iaf45d62b8250c7e54e86018822805ca52a9d5941
2021-04-26 11:50:04 -07:00
Zhao, Yuan
de8fb6d094 asoc: change msm ext display include file location
Since msm_ext_display.h was moved to a new place, so using the
new place to include it.

Change-Id: Ia506263996c0f5c088a43d46a1541f75489dd5e3
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2021-02-03 02:02:33 -08:00
Vignesh Kulothungan
7589be3605 ASoC: codecs: rate limit error msg in hdmi codec
During bootup, hdmi mixer control get functions are called
multiple times and if there is no active hdmi/dp connection,
multiple non-fatal errors messages are logged. These non-fatal
errors messages are triaged as fatal, to avoid this scenario
rate limit the error message.

Change-Id: Ie31382d1758fe3907597adda1eb78aae596a24c4
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-07-24 08:14:20 -07:00
Sanjana B
7f953e1270 asoc: support for audio over hdmi tx
Add support for audio over hdmi tx.

Change-Id: I4f2108fd14eb22ec4e226220787e0defe512bb5f
Signed-off-by: Sanjana B <sanjb@codeaurora.org>
2020-05-29 10:47:10 -07:00
Harshal Ahire
42adadc24f asoc: codecs: avoid crash after diconnecting DP cable
Fix the null pointer access of DP callback
functions.

Change-Id: If4cc48a2471c2cbd1c46ea49cffaa01315673bde
Signed-off-by: Harshal Ahire <hahire@codeaurora.org>
2019-11-18 17:05:44 +05:30
Meng Wang
b5cf458326 asoc: hdmi: return 0 when get_audio_edid_blk is NULL
when get_audio_edid_blk is NULL, msm_ext_disp_edid_ctl_info
returns error value. And it would cause tinymix doesn't have
full mix cmd list. Return 0 instead to avoid such issue.

Change-Id: Ic13067483b373fa4a81b663ece3d3e4a18ea8a87
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-09-04 09:22:07 +08:00
Vignesh Kulothungan
f86a355548 asoc: add multi stream support for display port
Add support to share a common display afe port between
two pcm streams.
Add mixer controls to set/get format, channels, sample rate
and configure controller/stream for display port 1.

Change-Id: Ie8fb95d57fba129e623c7513ec92dd800b5ea80b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-07-29 11:58:02 -07:00
Karthikeyan Mani
311bd67be0 asoc: codecs: Add multi input support for display audio mixers
Add multi input support such that display audio
mixer controls can update both control ID and
stream ID to support display audio multi streaming.

Change-Id: Ief8fe852585a31fbe5871ce8ecc1057d6891e2b7
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-07-18 18:51:02 -07:00
Xiaojun Sang
53cd13a1ab ASoC: hide bind/unbind in sysfs
Exposure of driver bind/unbind to userspace via sysfs may
lead to unexpected behavior.
Hide bind and unbind by driver attribute.

Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-05-17 15:00:33 +08:00
Meng Wang
43bbb87652 asoc: Update file header to GPL-2.0-only
Update file header to GPL-2.0-only.

Change-Id: Ic1542a3209a5fe73c937a5b36491ede4a451936d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 14:49:34 +08:00
Meng Wang
15c825d077 ASoC: codec: Update codec driver to component driver
Some alsa API are removed in kernel-4.19 which would cause
codec driver compile failure. Update codec driver to fix it.

Change-Id: Ie358ec1863082166958059c179300b453d2a03ad
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-08 03:15:55 -08:00
Meng Wang
61af6849e9 ASoC: switch audio drivers to SPDX identifier
Switch audio drivers to SPDX identifier on msm-4.19.

Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-07 15:47:32 +08:00
Karthikeyan Mani
fc1e972139 asoc: codecs: add MST support for dp audio driver
Add DP codec DAIs to support multiple streams that
audio can be routed to dp controllers with
multiple streams in them.

Change-Id: Id28e6b8cc2989797dd07252cdc8913bc3b403f19
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-05-17 11:45:12 -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
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