提交線圖

28 次程式碼提交

作者 SHA1 備註 日期
qctecmdr
b8e5bd2fc8 Merge "ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B" 2020-03-30 01:20:37 -07:00
Derek Chen
7fcb671a3d ASoC: msm: update QUAT/QUIN TDM slot mappings for A2B
Update QUAT and QUIN TDM slot mappings for extended
usecases over A2B codec.

  QUAT TDM RX 0 -> DAC1 (8 CH)
  QUAT TDM RX 1 -> DAC2 (8 CH)
  QUAT TDM TX 0 -> ADC1 and ADC2 (16 CH)

  QUIN TDM RX 0 -> DAC1 and DAC2 (16 CH)
  QUIN TDM TX 0 -> ADC1 and ADC2 (16 CH)

Change-Id: I0d13ab3d44a05716a043189e6eb6c809dfff6d9d
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2020-03-26 22:50:49 -07:00
Jia Jin
369503a9ff asoc: Add asm loopback MultiMedia24 and MultiMedia25
Add asm loopback channel to support dual hfp

Change-Id: I43265fd0da04a1481784e5ed3ed7b3a5bad9ac2c
Signed-off-by: Jia Jin <jinjia@codeaurora.org>
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-03-24 18:05:56 -07:00
Viraja Kommaraju
3eae385cd2 ASoC: msm: Add support for MultiMedia23
Add MultiMedia23 fe dai

Change-Id: I504889f1edb8298609d94a1350d81436bb874b22
2020-02-04 18:47:40 -08:00
Derek Chen
bbce3836f1 ASoC: msm: set pinctrl if available on auto machine
Set pinctrl only if available for respective TDM
or MI2S interface on auto machine driver.

Change-Id: I2b9a43f4958a6ad9ed086a77a65cb6dc67cc36a3
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-11-27 15:28:07 -08:00
Derek Chen
6c052da6c1 ASoC: msm: add multimedia22 frontend in dai link
Add Multimedia22 frontend in DAI link for
automotive machine driver.

Change-Id: I1d07c92f330f2c2a2b7dc4708021a5b6b0aa046e
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-08-05 16:51:09 -07:00
qctecmdr
8ad6e7a710 Merge "ASoC: msm: add boot marker for sa8155 automotive" 2019-08-02 07:00:26 -07:00
qctecmdr
81aa372c0b Merge "ASoC: msm: print dev info msg when snd card status change" 2019-08-02 06:57:30 -07:00
qctecmdr
ed64c35b4e Merge "ASoC: sa8155: add quin tdm tx_7 to rx_7 loopback" 2019-08-02 06:53:53 -07:00
Han Lu
1b99e47834 ASoC: sa8155: add quin tdm tx_7 to rx_7 loopback
Add Quinary TDM TX 7 to RX 7 AFE loopback routing
support for SA8155.

Change-Id: I1e1858c9069277101ed6d826d0fca988dc4b276b
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2019-07-22 14:08:37 -07:00
Derek Chen
f691f80fe8 ASoC: msm: print dev info msg when snd card status change
Print device info message when sound card status change.

Change-Id: I0be73755f1ec0f71abf1fd5f99f129998ef79806
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-07-19 14:41:22 -07:00
Xianbin Zhu
a79ba90bd8 ASoC: msm: add boot marker for sa8155 automotive
add marker in audio driver for start-up time measurement.

Change-Id: Ibb63f6b40651646a8f16ef0cf391899f37e67eaf
Signed-off-by: Xianbin Zhu <xianzhu@codeaurora.org>
2019-07-19 14:41:05 -07:00
Derek Chen
c8940293bf ASoC: msm: use snd event fwk for ssr on auto platform
Switch to use SND event FWK for SSR handling
instead of audio notifier on automotive platform.

Change-Id: I8d0b1ac8f09417a8b33a8e8141f7ae06e1195f54
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-07-19 14:36:00 -07:00
qctecmdr
25955d588f Merge "asoc: sa8155: Add Quinary TDM backend DAI link" 2019-06-28 22:53:43 -07:00
qctecmdr
5a2bcfb472 Merge "audio-driver: Update build files for LA automotive" 2019-06-25 07:38:18 -07:00
Han Lu
8e1a34cacd asoc: sa8155: Add Quinary TDM backend DAI link
Add backend DAI to support basic playback and record via Quinary
TDM port.

Change-Id: Ia23411fc57da011f9d9c12db17bd64d1a24a06b8
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2019-06-20 14:21:41 -07:00
Cong Tang
1fa4e0449c audio-driver: Update build files for LA automotive
enable conditional build for audio driver modules for LA
automotive.

Change-Id: Ifb18ea6f8af531a99e29904c2245424657b42df7
Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-06-20 13:50:31 -07:00
Derek Chen
6208d04bd4 ASoC: msm: enable tdm pinctrl config on 8155 machine
Enable dynamic TDM pinctrl configuration based
on CPU DAI activity on auto 8155 machine drv.

Change-Id: I31ada624f043653018624cdae0542c76dcc1a9a1
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-06-19 14:26:55 -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
qctecmdr
98d38379ae Merge "ASoC: msm: add machine drv as apr child node" 2019-05-07 22:35:09 -07:00
Derek Chen
b9048cb1dd ASoC: msm: add quat tdm tx_7 to rx_7 loopback
Add Quaternary TDM TX 7 to RX 7 AFE loopback
routing support.

Signed-off-by: Derek Chen <chenche@codeaurora.org>
Change-Id: I0f6cf7cff1a0250f85f73f4ad63641b7364d4f7d
2019-04-24 18:41:18 -07:00
Derek Chen
609be4509a ASoC: msm: add machine drv as apr child node
Automotive machine driver is a child node of apr
so it will be re-probed upon ADSP UP event received
in APR driver during boot up.
Remove the dummy machine driver solution.

Change-Id: I9ac3e26366a5b01869183e8b83e47049ec770c7c
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-03-12 22:37:26 -07:00
Rahul Sharma
3c95e9c53b asoc: sa8155: support SSR handling for snd card status
Add support for handling snd card status upon
SERVICE_DOWN and SERVICE_UP callback for ADSP SSR.

Change-Id: Ie753a0edc59ca10da8d9c23f9e6c7c6244a8e8a6
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-03-12 22:31:35 -07:00
Derek Chen
0fc1535782 ASoC: msm: update quat/quin tdm slot config/mapping
Update QUAT and QUIN TDM slot configuration
and mapping information for A2B support.

Change-Id: I17a4019f961846477f880cb2a59bc4c8f4c2fe28
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-01-02 00:58:04 -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
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
Derek Chen
85599d7787 ASoC: add dai links for tert tdm tx7 and sec rx7
Add hostless FE and TDM BE DAI links for
TERT TDM TX7 and SEC TDM RX7 ports.

Change-Id: I57fed1162c5dc175475e7990f57d4a010a9057f2
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-10-12 17:11:34 -07:00
Derek Chen
39955471cd asoc: add machine driver for sa8155 based automotive platform
Add machine driver for SA8155 based automotive platform,
which is based on mobile machine driver with addition of
extended support for TDM interfaces which is used for data
transfer between SA8155 SoC and the automotive COODEC H/W.
Changes include TDM backend and refactored automotive
frontend DAI links as well as kcontrol functions to
configure TDM slot and offset configuration.

Add 815x machine driver init wrapper to allow registration
of multiple machine driver in single module init call.

CRs-fixed: 2268293
Change-Id: I30eb22a7c5d6b2d963a5ea621b5a00e8dbc27fed
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2018-08-01 21:54:59 -07:00