Commit Graph

11 Commits

Author SHA1 Message Date
Karthikeyan Mani
f0e329cb51 asoc: codecs: wcd9360: add stub functions for codec APIs
If wcd9360 config is removed, need to stub out the
APIs to load any dependent audio modules and enumerate
sound card.

Change-Id: I821938c68849984ee04565167488abe5fe15af40
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-05-21 12:03:28 -07:00
Linux Build Service Account
d370eb7911 Merge "asoc: codecs: probe defer till mclk is available for wcd9360" 2018-03-30 18:20:42 -07:00
Vidyakumar Athota
c3b3df985d asoc: codecs: probe defer till mclk is available for wcd9360
Sometimes codec enumerates before APPS APR communication happens
with ADSP. Since wcd9360 MCLK request goes through APR, defer the
codec probe till mclk is available.

Change-Id: Ief5bb80f4c62fcf58a8cc93f11a9b4536f883d1e
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-29 18:46:32 -07:00
Vidyakumar Athota
e6c80a9d09 asoc: codecs: update wcd routing to fix warnings
WCD9360 audio routing map is updated to avoid boot up
warning logs. Also updated on-demand supply name.

Change-Id: I66b8a4e28ec31a5337bfe2aede9b347edb94b291
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-21 18:30:03 -07:00
Sudheer Papothi
e882fea9cd ASoC: wcd9360: Fix re-definition errors due to dynamic detection
Enablement of WCD934x and WCD9360 codecs for dynamic detection
results in redefinition errors due to same enums and API definition
in WCD934x and WCD9360 codec drivers. Resolve the same.

Change-Id: Ifed50dc1df0562ba62b14187597cad2bed6c1115
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-03-05 10:54:23 +05:30
Linux Build Service Account
30b55459e3 Merge "asoc: codecs: wcd9360: add delay after LDO_RXTX enable" 2018-03-02 23:16:21 -08:00
Linux Build Service Account
2ee562b5ee Merge "asoc: codecs: change mic bias enum names" 2018-03-02 00:51:03 -08:00
Vidyakumar Athota
a3030c162c asoc: codecs: wcd9360: add delay after LDO_RXTX enable
Add delay after LDO_RXTX supply is enabled as per
hardware register sequence.

Change-Id: I588d36c6c13ae8f545aba2b2cf6d1c73fde08d0a
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-03-01 16:28:05 -08:00
Karthikeyan Mani
95668549c8 asoc: codecs: change mic bias enum names
Change mic bias enum names to be specific to codec
to avoid conflict with mbhc mic bias enum.

Change-Id: I7bae83aafd72753eaedebd533364ec404a54977a
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-02-26 15:38:25 -08:00
Sudheer Papothi
e788b89d8b codecs: wcd9360: Add AQT based dais in WCD9360 codec driver
WCD9360 codec acts as an interface between AQT codec and
msmnile CPU DAI. Add AQT based playback and capture dais in
WCD9360 codec driver.

Change-Id: Ic780dd336a775dbb48a1d3ada90029763ac7a657
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-02-17 10:58:45 +05:30
Vidyakumar Athota
9cbeb97832 codecs: add wcd9360 audio codec driver
Initial commit to add wcd9360 audio codec driver.

Change-Id: Ib4e5e41ce7e540e4426c9ca26db8e834edc3d4da
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2018-02-02 17:24:19 -08:00