Wykres commitów

2510 Commity

Autor SHA1 Wiadomość Data
Meng Wang
d6bde74f93 asoc: compress: update codec option wma to wma_dec
Update codec option wma to wma_dec.

Change-Id: I1e22c7d2793b2e58a4507e562b4a57ac0a29f418
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-16 17:53:22 +08:00
Linux Build Service Account
6744f565b2 Merge "ASoC: wsa883x: update supply and variant configuration" into audio-drivers.lnx.5.0 2020-01-10 16:43:42 -08:00
Vignesh Kulothungan
7697755430 ASoC: add lahaina machine driver
Add machine driver for lahaina.

Change-Id: I5a55e4a5f7ce853816fb822c41502c526edd88b7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-10 16:21:47 -08:00
Karthikeyan Mani
3f9c454715 config: Enable swr dmic config
Enable config to compile swr dmic driver.

Change-Id: I55a5d3d7d59ad350335fa9b55fbce58664fd8523
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2020-01-10 08:43:47 -08:00
Karthikeyan Mani
daef08854a asoc: codecs: Add swr dmic codec
Add initial changes for supporting swr dmic
where each codec can support single mic recording
over soundwire port.

Change-Id: I0319bfb5c850d48b563f46d5dd77f21d4a83f029
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2020-01-10 17:24:14 +05:30
Sudheer Papothi
e8b606b2b9 ASoC: wsa883x: update supply and variant configuration
Update supply and variant configuration for wsa883x speaker amplifer.

Change-Id: Ib3e1ae149cc4b9144229b5e2dfab9bb0cc8dab1c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-01-09 08:07:37 +05:30
Linux Build Service Account
f6b14a755d Merge "ASoC: wsa883x: Add support for VBAT monitor" into audio-drivers.lnx.5.0 2020-01-08 17:20:33 -08:00
Vignesh Kulothungan
fb3a1bd924 audio: enable audio compilation for lahaina
Include lahaina kernel config definitions to enable
audio drivers compilation.

Change-Id: I4f910c2ebe2d2839fe49f50fcf96d0e4dc227a81
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-08 13:42:21 -08:00
Vignesh Kulothungan
509b4d2883 config: add config definitions for lahaina
Add kernel configuration definitions for lahaina.

Change-Id: Id55db52d04b779b0e8b9e50ea1c27bfe387ae72b
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-08 13:41:55 -08:00
Vignesh Kulothungan
16a9d512d7 ASoC: codecs: use function if config is enabled
Use "wcd_mbhc_usbc_ana_event_handler" function only when
CONFIG_QCOM_FSA4480_I2C is enabled.

Change-Id: I5211a8ce09fb06021310e528b5815fdbcd3f2dab
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:59:45 -08:00
Vignesh Kulothungan
46c4e1f885 ASoC: remove unused functions
Remove unused function "wsa883x_regcache_sync" and
"wsa883x_resource_acquire".

Change-Id: Ic4dca68671673141be833926305116d8cd881d89
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:59:41 -08:00
Vignesh Kulothungan
050dd0ef56 ASoC: codecs: wsa883x: update wsa883x_reg_readable
Update wsa883x_reg_readable variable name to wsa883x_reg_access.

Change-Id: Icab949163f32fda7c5f6caf0dfe4641eb100a539
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-07 18:18:49 -08:00
Sudheer Papothi
eecf60dcb5 ASoC: wsa883x: Add support for VBAT monitor
Add support for VBAT monitor on WSA883x speaker amplifier
for signal profiling.

Change-Id: I1544b601ac9ee4e8ed6da3839cc46914bbae5d93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2020-01-07 14:39:09 -08:00
Vignesh Kulothungan
923be76f78 dsp: compile avtimer based on avtimer config
Enable compilation of avtimer only if CONFIG_MSM_AVTIMER
is enabled.

Change-Id: I64cc8c65dbe22fafee527da80d3615fb5201665f
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-06 23:47:16 -08:00
Linux Build Service Account
11c35ea451 Merge "asoc: kona: update dai-link definition for new kernel" into audio-drivers.lnx.5.0 2020-01-06 18:27:13 -08:00
Linux Build Service Account
be1c1b3408 Merge "asoc: kona: update aux codec APIs" into audio-drivers.lnx.5.0 2020-01-06 18:26:16 -08:00
Meng Wang
b2bdcaa776 asoc: codec: compile wcd dsp manager only for external codec
wcd dsp manager is not needed for bolero and wcd938x. Compile it
when CONFIG_WCD9XXX_CODEC_CORE is enabled

Change-Id: Ia341e6893520769eb1f973a5df74ad9bb2b57063
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-07 08:51:57 +08:00
Meng Wang
53155fe958 asoc: kona: update aux codec APIs
update aux codec APIs for new kernel.

Change-Id: If2c2aecbd2379ece5f47c7d9be35911f929dbae9
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-02 17:32:14 -08:00
Linux Build Service Account
1599fbce86 Merge changes I3c3e0f41,I1dc09c32 into audio-drivers.lnx.5.0
* changes:
  ASoC: update uapi header location
  dsp: update ion alloc header file
2020-01-02 15:20:35 -08:00
Linux Build Service Account
46462c81dd Merge "soc: swr: update SWRM_MCP_FRAME_CTRL_BANK_ADDR" into audio-drivers.lnx.5.0 2020-01-02 15:20:34 -08:00
Linux Build Service Account
a762b09064 Merge "ASoC: update cpu_dai_name references" into audio-drivers.lnx.5.0 2020-01-02 14:19:43 -08:00
Linux Build Service Account
77f50499d9 Merge "asoc: lsm: update access_ok api for msm_lsm_client" into audio-drivers.lnx.5.0 2020-01-02 14:19:33 -08:00
Linux Build Service Account
411161e61b Merge "ipc: apr: update scm header file" into audio-drivers.lnx.5.0 2020-01-02 09:59:04 -08:00
Meng Wang
11d85c7ace asoc: kona: update dai-link definition for new kernel
cpu_dai_name, platform_name, codec_name, codec_dai_name are
removed in kernel-5.4 version of ASoC. Update dai-link definition
to reflect the same.

Change-Id: Ife0072a65e6e554bad20cea9844f30245108fd95
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-02 14:12:14 +08:00
Linux Build Service Account
2370220aff Merge "dsp: update kernel version and uapi path" into audio-drivers.lnx.5.0 2019-12-31 15:27:06 -08:00
Linux Build Service Account
d7e8e70263 Merge "dsp: afe: update wakeup APIs" into audio-drivers.lnx.5.0 2019-12-31 15:27:04 -08:00
Linux Build Service Account
c6e429778b Merge "ASoC: codec: Change micbias widgets to supply widgets" into audio-drivers.lnx.5.0 2019-12-31 15:26:06 -08:00
Linux Build Service Account
b8ebaa7745 Merge "asoc: codec: add io header file" into audio-drivers.lnx.5.0 2019-12-31 15:26:03 -08:00
Vignesh Kulothungan
e10da09823 ASoC: update uapi header location
Update uapi header location from uapi/
to uapi/audio.

Change-Id: I3c3e0f413dbb4bcd2aa8c9891bfb0a5806c80ad8
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 11:26:10 -08:00
Vignesh Kulothungan
76d80b53ac dsp: update ion alloc header file
Update the header file which defines ion allocation
in kernel 5.4.

Change-Id: I1dc09c32bf5ea611ba0e49c670d4dd32206dc1b3
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 11:20:57 -08:00
Vignesh Kulothungan
61b2ca830f soc: swr: update SWRM_MCP_FRAME_CTRL_BANK_ADDR
Update SWRM_MCP_FRAME_CTRL_BANK_ADDR to SWRM_MCP_FRAME_CTRL_BANK.

Change-Id: I092effc8f620aa29cc4e2b48fe977991caae13e6
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 11:19:06 -08:00
Sudheer Papothi
bb13c65f24 soc: soundwire: update regmap support for soundwire
Update regmap support for soundwire interface. This change
adds init function to initialize soundwire register map.

Change-Id: I9a6eee5c0ca507cafdf6416a4adea4e60b714eba
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:17:58 -08:00
Sudheer Papothi
2e7fc986d2 ASoC: bolero: Add codec DAI to support PCM interface
Add codec DAI to support PCM interface to soundwire master on
RX macro in bolero codec driver.

Change-Id: Iaf5a9d9cf78ec9dc29b60ebd7736504ec6470e57
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:17:19 -08:00
Sudheer Papothi
7f9dfd57cc ASoC: wsa883x: Enable WSA883x codec driver
Enable WSA883x codec driver to support WSA883x smart speaker
amplifier.

Change-Id: I0a773459c28ca2afc7232ec33001351152a7249a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:17:02 -08:00
Meng Wang
4a03bd5171 asoc: update snd info api
Update snd info API and userspace and get codec info.

Change-Id: Ic9cfc89365cf6263a9b1c02403d68e7740bebbeb
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-27 11:15:55 -08:00
Sudheer Papothi
11d5299f26 soc: soundwire: Add support for PCM data type
Add support to enable PCM data transfer through soundwire interface.

Change-Id: I9b162beb7fcdc6bbb90303acb77c350dbcf8c490
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:15:20 -08:00
Sudheer Papothi
9d6350f7f0 soc: swr: update soundwire master and slave registers
Update soundwire master and slave registers based on the hardware
version.

Change-Id: I8a27bdfbbff133569a7391af8adddadd804bd50f
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:14:40 -08:00
Sudheer Papothi
087a9f7661 soc:soundwire: soundwire master updates
Set the number of auto enumeration slaves to six.
Handle auto enumeration failed status.

Change-Id: I322e228ccee57c87840b585ab40947a0afd1b554
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-27 11:14:16 -08:00
Vignesh Kulothungan
14f50ed4f2 include: soc: Add swr device definition
Add definition for sound wire device id

Change-Id: I2b599d96abdb880bdeb60153e03e6123e337bfe9
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 11:12:35 -08:00
Vignesh Kulothungan
cc21b44264 dsp: update kernel version and uapi path
Update kernel version from 4.19 to 5.4.
Update uapi location from uapi to uapi/audio.

Change-Id: I684ce441244464a43aa641c0762e86bda2258522
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-27 10:58:18 -08:00
Meng Wang
b01eb21a49 dsp: afe: update wakeup APIs
wakeup_source_init and wakeup_source_trash are removed in new kernel.
Update these two APIs to wakeup_source_register and wakeup_source_unregister.

Change-Id: I2415fac50d6370f205450d001e45696916f3c78c
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 16:57:14 +08:00
Meng Wang
efd560a70b ipc: apr: update scm header file
Update scm header file folder.

Change-Id: I535f133f9da1553daf7ee37049b26e6cdf2d71dd
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:32:33 +08:00
Meng Wang
aa41c96dcb asoc: lsm: update access_ok api for msm_lsm_client
Update access_ok API based on new kernel.

Change-Id: I2bf7cf838c52cb24b882ebea5c3a5a5873f9a485
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:21:09 +08:00
Vignesh Kulothungan
0db3d6b206 ASoC: update cpu_dai_name references
From 5.4 kernel, cpu_dai_name is replaced by a
pointer to snd_soc_dai_link_component which holds the
dai name, update such references.

Change-Id: I5ddda0232b75cee7c0f2dc937102e1342a50276a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-25 15:17:46 +08:00
Meng Wang
c0c263db97 asoc: codec: add io header file
Add IO header file to call iowrite32 and ioremap.

Change-Id: I742266b7653c2731fa232fa7d2ebeb916a57a129
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-25 15:04:25 +08:00
Sudheer Papothi
2732740dd2 ASoC: codec: Change micbias widgets to supply widgets
Upstream kernel deprecated micbias widgets. So, replace micbias
widgets with supply widgets.

Change-Id: Ie7d369d887c85f85ee477877425516caae4d7e33
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2019-12-25 14:50:54 +08:00
Vignesh Kulothungan
d71ec81bb0 audio: update kernel version reference
Update kernel version references from 4.19 to 5.4.
Update symbolic links to new kernel version files.

Change-Id: I38baa52218b16e0b0c86ad898912d29ec4d3d516
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 17:04:52 -08:00
Vignesh Kulothungan
231edb7422 include: uapi: Modify headerfiles copyright format
Update copyright format to comply with guidelines.

Change-Id: I79a02149b2238ac53523fc3966f3620e51ec1045
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:59:44 -08:00
Vignesh Kulothungan
a97bd5f855 msm: audio: change uapi include header files directory
Change the directory structure of uapi headers. The existing
directory structure overwrites kernel headers in /usr/include/sound
and /usr/include/linux. Hence move audio uapi headers to
/usr/include/audio folder.

Change-Id: I14ef211a65605e798174087a3f322c64768fbfc7
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:58:59 -08:00
Vignesh Kulothungan
92187a5038 audio: Remove android make files
Remove android make files from audio tech package.

Change-Id: I21770bf64cef2bc767cdc81b0b864efff135bf84
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19 16:55:09 -08:00