Commit graph

68 commits

Author SHA1 Message Date
LuK1337
fc9499e55a Import latest Samsung release
* Package version: T713XXU2BQCO

Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
2017-04-18 03:43:52 +02:00
Dhanalakshmi Siddani
5aa461e5c8 ASoC: soc: msm: Enable HPX for 8952
Enable HPX pre and post processing support for 8952.

Change-Id: Ic58b7269849842c46605ac19fdf0a6baafd95d9d
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
2015-05-05 22:35:54 +05:30
Laxminath Kasam
30a6e77d2d ARM: dts: msm8952: add support for wsa881x dtsi changes
For WSA881x on 8952, add i2c slave device entries
and required GPIOs to dtsi files. Update kconfig
and machine driver to support accordingly.

Change-Id: Ic58ba9f69d63ee79391da4bc5c790a24f86de926
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2015-03-25 19:25:11 +05:30
Aravind Kumar
09fdf383ee ASoC: qcom: qdsp6v2: configure apr using the device tree
APR services can be implemented on the adsp block which may be present
on modem/lpass depending on the msm architecture.
This change will enable the apr driver to read from device tree,
the hardware block on which APR services are implemented and expose them
to other modules

Change-Id: I967c29a6c60df600b0b5c9e0de58a5491c31a478
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
2015-03-16 11:47:47 -07:00
Ashish Jain
4266a8ae93 ASoC: Kconfig: Enable DS2 for msm8909
Kconfig change to enable DS2 for msm8909

Change-Id: If11a26780e27a64409abb7ddefd36d144cec1513
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2015-02-05 15:19:17 -08:00
Jitendra Naruka
2b822911df ASoC: msm: Integrate Eagle framework to support HeadphoneX 1.1
Add support to integrate the Eagle framework for DTS Headphone:X
audio post processing feature v1.1. Include DTS_EAGLE config for
8994 target to build the feature. It uses hwdep node to receive
required processing parameters from userspace.

Change-Id: I07cea22aa0324b0042353174a7c96e2b98a37b4b
Signed-off-by: Jitendra Naruka <jitendra.naruka@dts.com>
[alexyj@codeaurora.org: fix inclusion of header file
 msm-dts-eagle.h in msm-dts-srs-tm-config.c, resolving
 trivial merge conflicts]
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-11-30 01:03:59 -08:00
Alexy Joseph
db9937fb85 ASoC: Kconfig: add support for DTS TM on 8994
Update Kconfig to add support for DTS Trumedia
on 8994.

Change-Id: Ie2d6f857d57f670434755cdb00bf8d8728d23684
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-11-28 20:42:35 -08:00
Ashish Jain
9dfd8ae8f0 ASoC: msm: qdsp6v2: Update support for dolby license validation
Add support for dolby license validation for DS2 using ioctl approach.
Also enable new DS2 driver for MSM8916 platform.

CRs-Fixed: 761339
Change-Id: I0bdf50de59690433a0b14641762000bd91614e2d
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2014-11-26 18:26:54 -08:00
Joonwoo Park
4944cd99d2 mdm9640: rename msmzirc to mdm9640
Introduce mdm9640 as the official name for msmzirc.

Update msm-tsens and clock-a7 bindings to make checkpatch happy along with
renaming.

Change-Id: I364cc0feab4cf4a1bac03dc08eec0214e09f40f7
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2014-11-24 18:27:32 -08:00
Anish Kumar
8050797727 ASoC: wcd9306: use hwdep nodes to get calibration
Use hwdep node to use calibration and at the same
time keep the code backward compatible. Codec
driver can still use request_firmware to get the
calibration if hwdep is not available.

Change-Id: Iea2cf1ff753a5750919b201ded63cd8840a40baf
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2014-10-30 23:19:48 +05:30
Yeleswarapu Nagaradhesh
fb76781d91 ASoC: wcd: add calibration data for tombak
Implement calibration data for tombak.
Use hwdep node to use calibration and at the same
time keep the code backward compatible. MBHC
driver can still use request_firmware to get the
calibration if hwdep is not available.

Change-Id: I1c5c5723827da911f8eaa5e5490757d329ec0b45
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2014-10-29 13:56:38 +05:30
Anish Kumar
6dc48d191b ASoC: wcd9xxx: use hwdep node for codec calibration
currently codec driver uses request_firmware to get
calibration data but as this firmware file is also written by
userspace process after bootup, it is not recommended to
use request_firmware. ALSA core provides mechanism to get
hardware dependant data using hwdep nodes. Tomtom codec will
use aforementioned nodes to get calibration data from userspace.

Change-Id: Iace6e239029c7b0d93a5d61a0025ee551acf952f
Signed-off-by: Anish Kumar <kanish@codeaurora.org>
2014-10-09 23:02:51 -07:00
Linux Build Service Account
65bfe53351 Merge "ASoC: msm: Add msmzirc machine driver" 2014-09-27 06:31:35 -07:00
Helen Zeng
2ca9d75bb1 ASoC: msm: Add msmzirc machine driver
Machine driver holds target specific information for
msmzirc. DAI links and sound card for msmzirc
are registered in machine driver. Machine driver handles
clocks and pinctrl for MI2S interface.

Change-Id: I2a13d01377c1335dad3e5f626957928d863f197f
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
2014-09-24 09:38:19 -07:00
Kishan Kumar
01033d20d5 ARM: dts: msm: Rename msmferrum to msm8909
Rename all device tree files and usages of msmferrum
to its official name msm8909.

Change-Id: Ie17e62046ed8b9626a59e393076a3ff00934c0fe
Signed-off-by: Kishan Kumar <kishank@codeaurora.org>
2014-09-24 20:49:38 +05:30
Laxminath Kasam
77813bcd49 ASoC: audio: fix compile error for ferrum
As ferrum uses same machine driver of 8916,
enable wcd9306 for compile.

Change-Id: I61a656795540dd0bce1d6186ef89daf9834bc1eb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-09-18 11:46:28 +05:30
Laxminath Kasam
bb22c4022b ASoC: kconfig: add audio support for ferrum
Update kconfig to support audio on ferrum.

Change-Id: Ie18e63b8d5be293ab3a38a0488642a1dc87b6c06
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-09-13 03:22:18 -07:00
Krishnankutty Kolathappilly
e947794371 ASoC: msm: qdsp6v2: Enable device dependent nodes
Add changes to enable device dependent nodes on apq8084 and
msm8994.

Change-Id: I05c7f583cae2539c487f920848d9f726f38ec37a
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2014-08-25 13:24:03 -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
Linux Build Service Account
4edbcd186b Merge "msm8994: ultrasound: enable ultrasound support for msm8994" 2014-08-22 00:27:00 -07:00
Lior Barenboim
ef5532c43e msm8994: ultrasound: enable ultrasound support for msm8994
Add ultrasound compilation flag and small fix to
struct used in compat mode

Change-Id: I0f0f4f841f034159d81e7498db22fff76f975d49
Acked-by: Hadar Sivan <hsivan@qti.qualcomm.com>
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
2014-08-18 13:39:28 +03:00
Aviral Gupta
bf072e59db ASoC: Kconfig: enable the cpe for the 8916 based devices.
Enable the cpe for the 8916 devices which supports tomtom
as an external codec.

Change-Id: Ibd1929c1a666f3cec77c6f358e530ff24cc39058
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
2014-08-12 17:37:44 +05:30
Bhalchandra Gajare
5c6fa66b45 ASoC: msm8994: Add support for listen using CPE
Add support to enable CPE (Codec Processing Engine) based listen
feature.

Change-Id: Ic31a0ba3737a37718012c4efa3eab46abcd3c513
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2014-08-08 16:57:35 -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
Sudheer Papothi
6e9a163d58 ASoC: msm: qdsp6v2: Add volume for Primary MI2S
Add support for loopback volume control for primary MI2S.

Change-Id: Ic08537426301d59402b2ce4b240be476dff8eb73
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2014-07-16 08:07:01 +05:30
Linux Build Service Account
f08356273d Merge "ASoC: msm: 8994: enable hdmi audio feature" 2014-07-15 01:51:28 -07:00
Laxminath Kasam
84abfaf362 ASoC: msm8939: add support for external codec over slimbus
With new sound cards possible to connect over SLIMBUS,
add SLIMBUS as primary BE dai.

Change-Id: I6ebb3744a539f3409caad0565f7a80e6f531cc07
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-06-25 14:56:45 +05:30
Gopikrishnaiah Anandan
06d949e091 ASoC: msm: 8994: enable hdmi audio feature
8994 target supports HDMI audio playback. This change enables the HDMI
audio playback feature for 8994.

Change-Id: I7a964ec3644108fccef9dcad0e0c96377451aecb
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2014-06-16 17:09:43 -07:00
Aravind Kumar
2c28ca7a16 ASoC: support external codec for 8916
8916 supports external audio codec (tapan) over I2C\I2S.
Add suport for tapan audio codec and also add pinctrl support
for codec reset GPIO.

Change-Id: I3f2820139c644bd993c17e12e27f7a54f58f692e
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
2014-05-26 19:31:41 +05:30
Sudheer Papothi
3e98a550f9 ASoC: msm: Add machine driver support for 8994
Machine driver registers the board specific dailinks
with ASoC framework which is required for sound card
registration. Change adds dailinks to 8994 machine driver.

Change-Id: I67e35bcd3b6f0901f6d1f10f90ec79c79efaf86c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2014-05-20 23:20:45 +05:30
Dhananjay Kumar
aef98e98d6 ASoC: msm: 8x16: Enable DAP for 8x16
Enabling DAP post proc support for 8x16.

Change-Id: I9186734fd5f49f95de0255620a80d74848a5ebf6
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2014-05-02 15:22:35 +05:30
Osvaldo Banuelos
fb18cc9c60 ARM: msm: remove support for MSMSAMARIUM and MPQ8092
Remove the support for MSMSAMARIUM and MPQ8092 targets.

Change-Id: I63f81ba5fe8fe65ecfc8bf4114834715f7431295
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2014-04-25 16:54:47 -07:00
Linux Build Service Account
0852d175a8 Merge "ASoC: msm: Enable QDSP6V2 codec drivers for 64bit" 2014-04-24 10:54:30 -07:00
Bhalchandra Gajare
23faf0f943 ASoC: msm: Add lsm driver for CPE
LSM (Listen Service Manager) driver enable the listen feature. Add lsm
driver to enable lsm feature using the CPE (codec processing engine)
hardware block on the codec.

Change-Id: Ic54ecfec02c02f8294594679bcb462eaf76b3bcd
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2014-04-21 17:14:25 -07:00
Aravind Kumar
db758d2cb8 ASoC: msm: Enable QDSP6V2 codec drivers for 64bit
Select APRV3 and QDSP6V2 codecs to enable native
audio encoder and decoder drivers

Change-Id: I8114a41956a30f3f78a8baaa49e364e304edd861
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
2014-04-17 00:39:52 -07:00
Rohit Vaswani
4e29bc3ff7 msm8994: Rename plutonium to 8994
Introduce msm8994 as the official name for msmplutonium.

Change-Id: I9e87c8c8356becb1841cf476c4c2bcfa2c5d58b2
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2014-04-11 11:07:22 -07:00
Sharad Sangle
6bf9d68803 ASoC: soc: msm: add SRS support for msm8916
Add entry in Kconfig file for SRS
Add the Mixer control SRS TruMedia
MI2S

Change-Id: Ib4fbe36dd781704714605696948ee4cb99c1c334
Signed-off-by: Sharad Sangle <assangle@codeaurora.org>
2014-04-07 13:48:00 +05:30
Linux Build Service Account
6690ad432a Merge "ASoC: msm: Add support for default QTI post processing on 8916" 2014-04-01 13:51:42 -07:00
Preetam Singh Ranawat
ff80709ba7 ASoC: msm: Add support for default QTI post processing on 8916
FM volume control is not working
Internal FM RX Volume control is not set
 because of QTI post processing is not included for 8916.
Enable the default QTI post processing for 8916

Change-Id: Ic7fc2e1d5f6bb98b6f30fa76014b3e87dd6d1f15
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2014-03-27 19:00:54 +05:30
Linux Build Service Account
df85eeadbc Merge "ASoC: msm: Add machine driver support for plutonium" 2014-03-26 20:16:59 -07:00
Phani Kumar Uppalapati
ac26dadd94 ASoC: msm: Add support for run-time detection of codec
Add support for run-time detection of wcd9320/wcd9330 audio
codec and accordingly update the dai links for sound card
enumeration.

Change-Id: Ibc1e15fe37ee7f6b9b17397b111fdeb4513f41ad
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2014-03-18 21:13:56 -07:00
Gopikrishnaiah Anandan
1a9d42e5b7 ASoC: msm: Add machine driver support for plutonium
Machine driver registers the board specific dailinks
with ASoC framework which is required for sound card
installation. Change adds dailinks to plutonium machine driver

Change-Id: I6c1d3b7b15afe4c189881a9dfd48e6b895ec5b25
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2014-03-17 14:05:32 -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
Laxminath Kasam
a0c1f4bf5c ASoC: msm: 8916 machine driver
Changes for 8916 machine driver with
basic DAI links and snd_soc controls.

Change-Id: I1caf87243984c12305901cca6d6addc770267839
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-02-05 09:34:16 -08:00
Dhananjay Kumar
1178c4a0e0 sound: add HDMI codec Kconfig
Add Kconfig entry and dependency for HDMI codec
on mpq8092.

Change-Id: I7aaa9d923fbb8abe3d936e5d16ff1c435cf15f9b
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2014-01-17 01:18:18 +05:30
Pradnya Chaphekar
e3b56f3f26 mdm9630: Enable audio
Enable Audio on mdm9630. Audio configs enable features
required for sound card to be enumerated. This enables
audio playback, record and voice calls.

Change-Id: I63f5b44e6c89e527ade9bfa1708e048407308991
Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
2014-01-15 17:15:21 -08:00
Aviral Gupta
73a84b682a Kconfig: 8092: Remove the audio ocmem.
It is conflicting with the video OCMEM region and currently there is
no use case of the audio using the OCMEM interface.

Change-Id: I79f9f88f4f99a4ed070386b6eed409f23b372471
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
2013-12-20 12:08:03 -08:00
Aviral Gupta
8c78e6bce8 ASoC: msm: Update the mpq8092 machine driver with the FE and BE
Add the mpq8092 machine driver and add sound card FE and BE

Change-Id: If08ada4a0b7d88761b3f040983f883f670e288bf
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
2013-12-19 21:35:55 -08:00
Ian Maund
f06163e6d0 msm: reap unused kernel files
This change removes source files from the kernel tree that
were not being used during make. The list of used files
was generated using an annotated make log and was then
compared with new files added since the public release of
kernel version 3.10.00. New files which were added but
not used have been removed from the tree.

A diff was also run to determine the list of files that had
been modified since the release of kernel version 3.10.00.
These files were then scrubbed based on the current kernel
configuration, removing invalid and unused conditionals.

Some files which support planned functionality or are
useful in debugging have been excluded from this reap.

Change-Id: Ia44a224d3cea7bc78dd45e8a8279860d35d4b008
Signed-off-by: Ian Maund <imaund@codeaurora.org>
2013-11-21 17:45:28 -08:00
Damir Didjusto
b1fd6bb342 ASoC: msmsamarium: Add machine driver for msmsamarium
Add ALSA based machine driver for supporting audio sound card
on msmsamarium platform.

Change-Id: I1253478f1649129d5aa2c4eaff336b55dd6a277b
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
2013-09-24 14:32:09 -07:00