Commit Graph

19 Commits

Author SHA1 Message Date
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
11a25cf657 asoc: update relative header files
Move all relative header files to include folder.

Change-Id: Ic61a61a88823b4749dbe8c1f680d08201a3b4a48
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-18 10:50:27 +08:00
Linux Build Service Account
0044694430 Merge "asoc: Update file header to GPL-2.0-only" 2018-12-10 03:08:52 -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
56a0f8f748 ASoC: update machine driver for kernel-4.19
snd_soc_codec is removed from kernel-4.19.
Update machine driver to fix compile error.

Change-Id: I1bdfda07c0d150d008c434c361142b655de1e9db
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10 12:38:10 +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
773b1d1ad0 asoc: sm8150: use locked version of soc_find_component
Use soc_find_component locked version to ensure proper
access of component list while trying to find wsa
components from the list.

Change-Id: I1960d5b023c3d59f5c97ca0f616b4d9e39c15c50
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-11-20 10:34:09 -08:00
Linux Build Service Account
0541c17a9b Merge "asoc: add machine driver for sa8155 based automotive platform" 2018-08-11 23:11:48 -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
Sudheer Papothi
68fa135810 ASoC: sm8150: change of_property_read_bool to type u32
of_property_read_bool prevents an overlay to set it false
as /delete-property/ is not supported in device tree overlay.
Use of_property_read_u32 to read property to allow it to
be changed in overlay device tree.

Change-Id: Ic1ae38d99999b3ff7e268a6360d55fc2624c0b6f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-07-27 01:04:50 +05:30
Ramprasad Katkam
e38aed40db Asoc: swr: Bus Driver changes to support new master driver
soundwire bus driver changes to support new soundwire
master driver for Talos/vipertooth.

Change-Id: I70e52a72edd80abc72ccb99b29b1a642debec257
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2018-06-14 00:39:50 +05:30
Vikram Panduranga
3f030f19f9 asoc: sm8150: Add MultiMedia17 FE with capture support
Add MultiMedia17 FE to support compress capture usecase.
This can be used to enable recording on compress offload path.

Change-Id: I2a570ec9f4950128aba77a257e98569c714c778c
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-06-05 12:57:49 -07:00
Karthikeyan Mani
743a507eb0 asoc: msm: add workqueue to handle SSR/PDR UP notification
Use workqueue in machine driver to handle sending AFE
configuration to DSP during SSR/PDR UP notification,
so that the response to the notification is not delayed
because of AVS not up or sound card not up.

Change-Id: If537d214cfbbe7f85b66425cbd6a762f383c05ab
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-06-01 10:45:30 -07:00
Karthikeyan Mani
29dfffc4b2 asoc: sm8150: add dai link for dp audio multi stream transport
Add dai link with the newly added BE codec dai and
the same AFE CPU dai to support another stream for
dp audio.

Change-Id: I747107441a310e5e768dc9757093c7bba424a0d7
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-05-17 11:46:26 -07:00
Aniket Kumar Lata
4da5250568 asoc: msmnile: add configuration for adaptive bitrate
Add hostless front end DAI to trigger backend
configuration of BT backend dai required for
configuring BT ABR statistics. Add mixer ctrls
to independently configure TX and RX sample
rates to allow BT RX and TX backends.

Change-Id: Iba274253bca510e3899658306787e2ba15324bf2
Signed-off-by: Aniket Kumar Lata <alata@codeaurora.org>
2018-05-02 11:46:01 -07:00
Linux Build Service Account
dce5ddbc21 Merge "asoc: msm: remove machine driver trivial boot up logs" 2018-04-29 08:44:14 -07:00
Karthikeyan Mani
ca1c181f99 asoc: msm: update names of MI2S and TDM pinctrl states
The current names of MI2S and TDM pinctrl states are too similar to
the actual pinctrl names. Update names of pinctrl states to avoid
confusion.

Change-Id: I1c775a29a32dad38dcc13ae395bd2557ec3a87c9
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-25 13:56:54 -07:00
Karthikeyan Mani
502766a828 asoc: msm: remove machine driver trivial boot up logs
Change info logs to debug logs for all trivial
machine driver logs that appear in boot up.

Change-Id: I37fb24fb758a81af9ae4be0e735cd9b467f88e70
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-04-25 13:54:12 -07:00
Xiaoyu Ye
60c105d5c9 audio-kernel: update chipset name
Update all audio drivers to use updated chipset name in
files, functions, architecture specific configurations
and the device tree compatible strings.

Change-Id: I507948866213ddb8806edea71a57c1f29ce7e71b
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-04-18 10:34:42 -07:00