Commit Graph

24 Commits

Author SHA1 Message Date
Alexy Joseph 367fab472d ASoC: qdsp6v2: Remove Eagle code
Eagle driver is not in use any more.
Remove the code and associated calls
to it.

CRs-Fixed: 1103106
Change-Id: Ice5333861beda9538f0783b70b3267523d16fd2b
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2017-04-11 19:13:47 +05:30
Haynes Mathew George db6966ecd4 ASoC: msm: qdsp6v2: pull mode playback and push mode record.
Implement platform drivers to support shared memory based
pcm playback and capture

Change-Id: I882c67ae1c3d950b98bd002ac384cc3a7e77874a
CRs-Fixed: 992798
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
2016-06-03 04:05:03 -07:00
Bhalchandra Gajare 03ee7d52fb ASoC: msm: Add CPU DAI driver for apps owned slimbus ports
It is possible to establish audio data path using slimbus between
application processor and codec. Add driver to support setup of slimbus
ports/channels for such data channels on the apps side. The codec driver
will be responsible of setting up the codec side ports/channels for the
data channel.

Change-Id: Ib2991bdb895bc0bdc5a6577c94f56a2d3215869d
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2014-10-02 12:33:36 -07:00
Krishnankutty Kolathappilly b4f04cc65a ASoC: msm: Makefile and Kconfig changes for DS2
Add makefile changes for Dolby DS2 audio processing and Kconfig
changes to enable DS2 for apq8084 and msm8994.

Conflicts:
	sound/soc/msm/Kconfig

Change-Id: I2c283213477c630dd708bf783fdd045fdf882646
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:22:32 -07:00
Krishnankutty Kolathappilly cbe241d9f8 ASoC: msm: qdsp6v2: Add device dependent nodes
Mixer controls to communicate data from userspace to kernel for
audio post processing features where tuning parameters range from
1 through 200kb depending on the end device is not efficient.
Device dependent nodes are added to exchange the huge data blocks
through IOCTL.

Change-Id: Ie6f598249c76929d52e00378e1446115999ebc62
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:21:27 -07:00
Darren 611fc3bbc1 ASoC: msm: Integrate Eagle framework to support HeadphoneX
Add support to integrate the Eagle framework for HeadphoneX
audio post processing feature

Initial K integration targeting mainlining

Change-Id: I7825605a44f58709beb960a25ab3784c4953c6f4
Git-commit: ec82dc50e620494f2f4022e439c9f000ed67566e
Git-repo: https://github.com/dtsinc/DTS-Eagle-Integration_CAF-Android-kernel
[snariped@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
2014-07-21 10:41:13 -07:00
Ben Romberger cb9b89a9b9 ASoC: msm: qdsp6v2: Update clients to use new audio cal driver
Update all kernel driver calibration clients to use
new msm_audio_cal audio calibration driver. Remove
old msm_audio_acdb calibration driver.

Change-Id: Ie38c566c5c39546972042257b083cdcf55f08e85
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2014-05-20 14:48:33 -07:00
Anish Kumar 57321c27a3 ASoC: msm: qdsp6v2: removing multi-pcm driver
Remove this driver as it is not used in B-family.

Change-Id: Ic2a06caa51a2cfbaeaf4076302f37c2549aad33d
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-05-19 17:10:00 -07:00
Subhash Chandra Bose Naripeddy 0f50be392d ASoC: msm: qdsp6v2: Refactor audio post processing features
Refactor audio post processing features so that they can be
included based on the need.

Change-Id: Id1926dd6c6e2fabb4e07f97c47b5d191070ee199
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
2014-02-20 10:47:17 -08:00
Vidyakumar Athota ded5e2472c ASoC: msm: Add new slimbus slave driver
With the new slimbus handover feature in 8084, ADSP can go to sleep
if no audio activity other than voice call. MDM AFE port open/close
failures are observed because of slimbus master unavailability due
to APQ ADSP power collapse. Fix by create a new slimbus slave driver
which handles IOCTL vote/unvote requests from csd client to wake up
slimbus master on ADSP.

Change-Id: I0a574e6fa78d9c37de6f651c2a82c1f1cb3b3600
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2013-12-18 13:52:15 -08:00
Damir Didjusto 6f952d5924 ASoC: msm: Add support for ASM loopback
Add ASM loopback driver. When audio path wants to use filters in DSP,
it will do a loopback in ASM.  The new ASM loopback driver enables
the loopback.

Change-Id: I84b81cab6c3b2e57855dd4b3bb5e7ed01618e4ec
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
Signed-off-by: Vimal Puthanveed <vimalp@codeaurora.org>
2013-12-16 11:52:00 -08:00
Mingming Yin b3ca15c1fd ASoc: msm: Add check for compressed capture format
- Only AMRWB format is supported in compress capture
  path, use default codec.id(SND_AUDIOCODEC_AMRWB) if
  request codec id is invalid.
- Use fixed band mode and dtx mode since these are the
  only supported parameters for AMRWB format

Change-Id: I45a48952a5833c3e85588b515d38d311064cd7fb
Signed-off-by: Mingming Yin <mingming@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2013-12-12 15:55:26 -08:00
Subhash Chandra Bose Naripeddy a10f89a088 ASoC: msm: Add support to enable audio post processing in DSP
Add interface to support configuring equlaizer, bass boost,
virtualizer and reverb effects in DSP for tunnel mode of
playback.

Change-Id: I5ed578df1e1cb860734d2205c0895e82cfbdfbfc
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Ravi Kumar Alamanda <ralama@codeaurora.org>
2013-12-02 10:14:05 -08:00
Haynes Mathew George b9886742ed ASoC: msm: change to enable audio
Use the soc-compress platform driver for all compress FEs.
Update the device tree to include the new platform driver.

Change-Id: I08a3d77c0fc03d97fbf045cd67821ef4c56fd2bc
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2013-11-29 22:00:56 -08:00
Dhananjay Kumar 7fc39ad64a ASoC: msm: Implement platform driver for compress audio playback
Compress platform driver implementation as per compress offload,
ALSA framework.
Update the FE DAI link with the new platform name.
Update the device tree to include the new platform driver.

Change-Id: I611238b9dda6d591512736f238d45b43a4d911af
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2013-11-28 15:27:46 +05:30
Prashanth Reddy 06dab5ca34 ASoC: msm: qdsp6v2: Add Voice Host PCM feature
Voice host pcm feature allows userspace to tap out and inject
PCM samples into the voice topology using shared memory.
Add Front end driver to read and write voice data from voice
module in DSP.

Change-Id: Ie27e4e7799f9633bd0c918c613f073ea5cb4435d
Signed-off-by: Prashanth Reddy <pgreddy@codeaurora.org>
2013-09-04 17:17:44 -07:00
Subhash Chandra Bose Naripeddy e01ce7c53e ASoC: msm: Support DS1 processing controls
Add support to send parameters to enable DS1 processing in LPASS

Change-Id: I22d3f8a4618b69dbc86077acb436f90fc1431c5c
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
2013-09-04 16:17:18 -07:00
Joonwoo Park f5b08298bc ASoC: msm: qdsp6v2: Add listen service manager and client
The listen service is Q6 DSP's capability which wakes up application
processor upon the cognitive sound recognition so application processor
can execute configured action for the sound.
The Listen Service Manager(LSM) configures this listen service with various
parameters from userspace while LSM client provides interface between
userspace and kernel space.

Change-Id: I94b6bd63be060ff4cfb15c3d6a465082ce5b42bd
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2013-09-04 16:09:48 -07:00
Venkat Sudhir e9052c0997 ASoC: msm: Add support DTMF generation and detection
Add support to generate and detect DTMF tones using DSP's
audio front end(AFE). Add DTMF platform driver, update the
routing table to enable routing of DTMF FE to the BEs in
ASoC. This driver is added to support version 2 of CPU
and AFE driver.

Change-Id: I389287f58182493a714336436561a401c5c6c6e7
Signed-off-by: Venkat Sudhir <vsudhir@codeaurora.org>
2013-09-04 15:51:33 -07:00
Ben Romberger 7524a65833 ASoC: msm8974: Split ACDB driver for 8974
Create a new ACDB driver for 8974. The new driver
is based off the 8960 driver. Support needed for
8974 was also removed from the 8960 version.

Change-Id: Iddf61ce5eb0b1f81209dd6d8e5069878437f77b2
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2013-09-04 15:49:17 -07:00
Harmandeep Singh aa26fd4207 ASoC: msm: 8974: Add support for backend dai for HDMI on 8974.
Add support for backend dai for HDMI use cases related to audio.
This will open the afe ports on HDMI, set hdmi configuration.

Change-Id: Iae1f8bb5312d961aad6ef227cbd546b41b480e88
Signed-off-by: Harmandeep Singh <hsingh@codeaurora.org>
2013-09-04 15:27:47 -07:00
Phani Kumar Uppalapati 595e887d3a kernel/msm: 8974: Add audio OCMEM driver support
Add audio OCMEM driver support to exercise On-Chip
Memory (OCMEM) for low power audio and voice. The
driver is implemented as standalone and it gets
exercised based on the usecase. Also, this design
reduces the latency associated with OCMEM handshaking
protocol. The audio OCMEM driver is enabled by default
with a Kconfig option using select. Add device tree node
for audio OCMEM to retrieve platform data.

Change-Id: Iba46ce675fc03843d88cd7cf2aa9bc92fe70a955
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
2013-09-04 15:04:57 -07:00
Phani Kumar Uppalapati 574f24de43 ASOC: msm: Add voip/voice driver support for copper
Adding voip and voice driver support for copper target.

Change-Id: Ib64f08b79819895bea0507ee7a89748cd4c43016
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
2013-09-04 14:58:42 -07:00
Patrick Lai c43676b7da sound: Add MSM sound drivers
Signed-off-by: Patrick Lai <plai@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-09-04 14:53:52 -07:00