summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2011-07-12arm: tegra: disable HDA clocks while not in useSumit Bhattacharya
Disable HDA related clocks when device is not connected to HDMI. HDA clocks will be enabled from HDMI driver when HDMI device is hot plugged. Also register a reboot notifier so that HDA clocks can be enabled during device reboot since HDA driver needs to stop the azx chip during reboot. Bug 820213 Change-Id: Ib962ac418edf25c5681f108b9a80577dc55c42af Reviewed-on: http://git-master/r/40543 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08ASOC: tegra: Correct DAPM routes for Headset and Int micViraj Karandikar
Split Headset to Headset Out and Headset In Use IN1L for Int mic and Headset (for WM8903) Remove unused variables and warning Bug 846205 Reviewed-on: http://git-master/r/30142 Tested-by: Viraj Karandikar <vkarandikar@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Manjula Gupta <magupta@nvidia.com> Tested-by: Anssi Kalliolahti <akalliolahti@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> (cherry picked from commit 170ccc20d6227faaf196a920e7812792c305e2ff) Change-Id: Iccf1736c4ba0d273c3c832d563374fc0afc63616 Reviewed-on: http://git-master/r/39374 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-07-08Revert "arm: tegra: disable HDA clocks while not in use"Sumit Bhattacharya
This reverts commit c242bcd738fa47f833822f618eff4dbff092bde7. Bug 820213 Bug 839572 Change-Id: I268a8c099ef75cd38b84aa31e35ab6417745cc10 Reviewed-on: http://git-master/r/40031 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-07arm: tegra: use DAM for playback pathVinod G
DAM rx1 is used for playback path. DAM is added as default so for voicecall no need to teardown the existing connection that is being used. Needed for bug 804696 Change-Id: Iba4cec350595a32dfd71ede9e224620ebe84b1ba Reviewed-on: http://git-master/r/38676 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-06ASOC: tegra: use continuous single DMA modeSumit Bhattacharya
Use continuous single DMA mode instead of continuous double to reduce the number of CPU interrupts during audio playback. bug 840372 Change-Id: Id15dac5e2b29c612f4851b6b1d2e675b79ca047c Reviewed-on: http://git-master/r/39855 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-06-15arm: tegra: disable HDA clocks while not in useSumit Bhattacharya
Disable HDA related clocks when device is not connected to HDMI. HDA clocks will be enabled from HDMI driver when HDMI device is hot plugged. Bug 820213 Change-Id: I4e6839aab0dc5277b11c415cbb495766f72442b8 Reviewed-on: http://git-master/r/36517 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-14Revert "arm: tegra: DAM is added to default path."Ravindra Lokhande
This reverts commit ba038f38e6c0edd77dc65c28324ddd18185389fb. It caused regression in camcoder usecase. fixes bug 835818 Change-Id: I008a27d70b4e7066ec12f7d66d9d60e66ace0447 Reviewed-on: http://git-master/r/35434 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Zhijun He <zhhe@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-03arm: tegra: DAM is added to default path.Vinod G
bug 804696 DAM ch1 is added to default playback and record path. DAM is added as default so for voicecall no need to teardown the existing connection that is being used. Change-Id: Iecfa01a8d55d13928ee2ae6bd490eb3d28b679c3 Reviewed-on: http://git-master/r/32479 Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-06-01sound: soc: tegra: add dai for i2s_device0Tom Cherry
Change-Id: Ib0662de97f4f98461f1003747340bb9e16f96ebb Reviewed-on: http://git-master/r/34258 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
2011-06-01sound: soc: tegra: maxim 98088 codec integrationTom Cherry
Change-Id: Ie8c616482017c869cd46b8100f0428c1f92a3bcf Reviewed-on: http://git-master/r/34238 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com>
2011-05-18arm: tegra: Fix suspend/resume hangVinod G
Spdif driver resume was causing issue on resume stage. Change-Id: I25c0d52889c4ff1b029053f744bee32023cf1a8f Reviewed-on: http://git-master/r/32070 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-05-17arm: tegra: Add audio manager common interfaces.Vinod G
Audio manager common interfaces are defined to be called from SOC code. Audio manager will make the decision which all modules to be controlled based on use case connection. Correction added to the speaker amp and i2c gpio is provided for controlling the speaker amplification. Removed the speakersetting call. Change-Id: Id2c7f953fc78f66bee2e1d4773e03548de0ba5b4 Reviewed-on: http://git-master/r/30891 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-13arm: tegra: Exposing more i2s port for Baseband.Vinod G
Exposed the baseband i2s port for cardhu. Added separate audio init function. Change-Id: I9ff38f101c5540ad6e2365ed93a8c88373164ea3 Reviewed-on: http://git-master/r/30087 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
2011-05-05arm: tegra: Add support for I2S LoopbackDara Ramesh
Added the control code to enable/disable I2S Loopback accordingly. Bug 725009 Change-Id: I3f172ef303dd4c6ac5bc41277e13e5405234a77e Reviewed-on: http://git-master/r/30221 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-05-05tegra: alsa: enable speakerRavindra Lokhande
fixes bug 822278 Change-Id: I4444e3786660ab1402469543c0bc04020d4c5021 Reviewed-on: http://git-master/r/30234 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-05-05ASoC: Add max98088 codec driverJin Park
Add max98088 codec driver what backported from 2.6.38 kernel. Bug 816789 Change-Id: I5a0f6cfa0b29bd1f469ceb1e1d1d9e6634f7bed5 Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/30337 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-05-03tegra alsa: Audio BT SCO supportRavindra Lokhande
added support for audio BT sco usecase. For BT sco, i2s is programmed in pcm mode. Change-Id: Iffcfb707cd2c025b78b82e70ba35f89d47a21263 Reviewed-on: http://git-master/r/30042 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-29arm: tegra: fix audio issueVinod G
bug 820773 Fix the audio issue resulted from code merge. Change-Id: I37999fabec7de077eac337db33eb2b01939349fc Reviewed-on: http://git-master/r/29684 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-04-28fixup: arm: tegra: Fix suspend/resume issue for spdifDan Willemsen
Original: http://git-master/r/28520 Change-Id: Ic6258c9a745e83595510789a6ed4c71c317ce1ba Reviewed-on: http://git-master/r/29577 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-26sound: Changes for Tegra3Dan Willemsen
Change-Id: I25391126c593bd4738800c03bf3a65a0aa62ba92
2011-04-26sound: tegra: remove i2s resourcesDan Willemsen
Change-Id: Ieaa90cf40a7a5e190b73f83b6a17f43908377af4
2011-04-26arm: tegra: dma: Adding client name with dma allocation.Laxman Dewangan
By changing the dma allocation API to take the client name, it is easy to track who is allocated the DMA channels when we run out of the DMA channels. Original-Change-Id: I016011cfd74089fed0da1bc0f121800017ce124a Reviewed-on: http://git-master/r/28031 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Change-Id: I048bcb87f95ee6d8ad2fdce993a1758dc5071666
2011-04-26arm: tegra: Fix suspend/resume issue for spdif.Vinod G
bug 793875 bug 818490 Merge spdif soc code from dev_hc. Add clock and power mode calls to spdif Fix the system suspend/resume issue caused by audio modules. Original-Change-Id: Ie6d9c1e52596fa744dff893fd7340c1fa2f0f058 Reviewed-on: http://git-master/r/28520 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I367a048727b5fbe1a8db70a140b6ed1d752cd3a5
2011-04-26arm: tegra: correct the i2s clockingVinod G
Rearrange the i2s clock code so that it will be handled properly using the audio_manager code. Mclk code is moved to audio_manager from soc. bug 804696 Original-Change-Id: Icf9e823154cf3b5a63426944c4864a413df82213 Reviewed-on: http://git-master/r/27255 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Change-Id: I8acd9c5d5389b3d4ca574bd62a392c56fdfa35b7
2011-04-26ARM: tegra: hda_eld :fix dmesg output of HDMI infoDara Ramesh
Fixed suspicious sizeof() in call to snd_print_pcm_bits() Bug 806009 Original-Change-Id: If8b0736b63a424329572e98c888f6e0ad71ea210 Reviewed-on: http://git-master/r/27479 Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: Ic9a657c91c1b0c7f60466770aab3eb4e7b5eb53a
2011-04-26arm: tegra: Increase DMIC volumeVinod G
Increased the DMIC volume from 0db to 9db. bug 811570 Original-Change-Id: I866d18d96f4d540c8512e9fc948600a2dd895332 Reviewed-on: http://git-master/r/26936 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: Ic2db12a9c41ea0391a3398c57eff10313c7164f6
2011-04-26sound: tegra: Fix makefileScott Williams
Change-Id: I0a5f0bab3fb559158403c5bb51780cd26baa5291
2011-04-26arm: tegra: Clock cleanupVinod G
Code cleanup to remove unused clock Add the base frame to support audio manager. Original-Change-Id: I5d241402d003370ea5f23202647d9a0a0619cfdd Reviewed-on: http://git-master/r/26656 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: Idd960fa3942fcde79f1a1b9949b6cbe5140c4f38
2011-04-26arm: tegra: Add Dynamic apbif channel allocationVinod G
Big 804696 Added the dynamic apbif channel allocation to be used among various controller. Support added to more apbif function calls Original-Change-Id: I5420751037eebb07e4c9a3be339ce5c72174d1be Reviewed-on: http://git-master/r/24774 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: If38be7a842ed7684978a8853106dcadf04e6520d
2011-04-26arm: tegra: Fix the gpio error for HP detection.Vinod G
Fix the gpio error happened with merge code. Original-Change-Id: I25daf913bacdb9502f89e3838903f6206cf10402 Reviewed-on: http://git-master/r/24613 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I885cd23c7d9673ea9285a4f34b09f35b8f265b47
2011-04-26arm: tegra: hda: support for suspend resumeDara Ramesh
adding support for suspend resume in hda driver Bug 808190 Bug 808132 Original-Change-Id: I6f142312cffb990ce5dd724b93ecacfc9543e8ae Reviewed-on: http://git-master/r/24617 Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: Ibefd60e840c1bc7e3f646143434f071401f0b15d
2011-04-26arm: tegra: Fifo attention level correctionVinod G
Enabling the code to set the fifo attention level based on buffersize. Original-Change-Id: Iceac2add8f19e1dff014e0c0955f3a84cb98810b Reviewed-on: http://git-master/r/22903 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I977c28c6837d7c209d358f509ac335f9c776ec7c
2011-04-26arm: tegra: hda: audio sample rate and source selectionDara Ramesh
Dynamically set audio sample rate and source selection to hdmi from hda driver. Original-Change-Id: I982137560d7d506d9f1cc680f7c39ee89112eb0f Reviewed-on: http://git-master/r/22817 Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I0505fc4c5b994d72f463bfe63dd7f49bad321ff0
2011-04-26arm: tegra: Correct the fifo attetion levelVinod G
Adding the infrastructure to set the fifo attention level based on the buffersize as the dma code is using the same for setting the dma burst size. Original-Change-Id: I54bf673d032ebf6edd534fb6a2e946db0db07402 Reviewed-on: http://git-master/r/22897 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I3172582aa60978f4320e274fa9c9f9e765b0d947
2011-04-26arm: tegra: Fix the noise issue in recordingVinod G
Bug 796487 Remove the side tone for Digital Mic and it introduced sharp tones in the background. Original-Change-Id: I0819dcde53d83a427df64cf1bb0cc78c81d1da35 Reviewed-on: http://git-master/r/22873 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I12dbabd2d32aff353fd6831323f91cf3ef4b3a06
2011-04-26arm: tegra: Adding macro to support multiple daisVinod G
Macros are added to support multiple dais in the code Original-Change-Id: I2cf39faec57af5dd0170311773f77b1fa4f984d4 Reviewed-on: http://git-master/r/22465 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: I4e04ef5bfe9ace31445ebaa94efa4aab02fd74cd
2011-04-26arm: tegra: Merge changes from main branchVinod G
Changes specific to separate the codecs based on board are integrated from rel-2010-11 branch Original-Change-Id: I9fe2e05d5347f02cd3047f453d03437b735e2c4b Reviewed-on: http://git-master/r/21562 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Scott Peterson <speterson@nvidia.com> Change-Id: I06473d906c1043a8fcc511cd66cfb57e311afdae
2011-04-26arm: tegra: Cleanup the pcm dma codeVinod G
Integrate the changes from main branch and latest code from alsa. Original-Change-Id: Ifcfd19bfaa3897a0faed28b0b5357792b0b21a9f Reviewed-on: http://git-master/r/21192 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Change-Id: Ibc1bb27032e92da651ec356d6391d0ee0204c881
2011-04-26arm: tegra: Support for headset/headphone jack detectionVinod G
Added the support to do jack detection through gpio. Original-Change-Id: I324234e5c87a7d3f660a1e33f5d4ddbb287f62e1 Reviewed-on: http://git-master/r/20605 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Change-Id: Ie579d2dfad980fe417e1a03564228ea4ae7d5e80
2011-04-26arm: tegra: Enable digital mic for recordingVinod G
Setting the Digital mic as default source for recording. Original-Change-Id: I92037183731cc53fbc7e05b97ca4266c20740571 Reviewed-on: http://git-master/r/18827 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: Ic37b122948c376b3949965b42ee56429f5221385
2011-04-26arm: tegra: Clean up the clock for audio.Vinod G
Removed the direct pmc register write, using clk_out_1 for pmc Moved the apbif/ahub clock to audio_switch code. Original-Change-Id: I1ee2b7d84dbf5707894834928d0fdc4ff8bc3b96 Reviewed-on: http://git-master/r/18369 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I8b55a30db47f2a5b18a5eecadf2d19f4eb7b1a44
2011-04-26arm: tegra: nvhdmi codec driver supportDara Ramesh
Adding nvhdmi codec driver support for tegra Original-Change-Id: If4a71b74850c8684b62f059d24c28dd2f433789a Reviewed-on: http://git-master/r/18187 Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I27b51b0c88c2e173f42798a39d8c6eb8bbae89de
2011-04-26arm: tegra: HDA driver supportDara Ramesh
Adding HDA audio driver support for tegra Original-Change-Id: I484177b4c8464d7e0084f60a2c51caa388ecae98 Reviewed-on: http://git-master/r/17871 Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Change-Id: I737871669443db731987675f5cb89c377b272f2f
2011-04-26[arm/tegra] Initial version of T30 audio driverVinod G
Add driver support to ahub, dam & i2s Original-Change-Id: I7281f787f1dd747c780a2dd55e53412a229ed6c0 Reviewed-on: http://git-master/r/15902 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I146604556290f3f72f7efc95f32541d667fb0d00
2011-04-26[ARM/tegra] HDA Driver supportDara Ramesh
Adding HDA audio driver support for Tegra3 Original-Change-Id: I81a76a54f6ce5390051d96dbeadf447682f9ff0e Reviewed-on: http://git-master/r/15405 Tested-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I8525ef7317606b895818e73ec92ca174dddf609e
2011-04-26[ARM/tegra] Add initial Tegra3 driver supportScott Williams
Bug 764354 Original-Change-Id: I807433ff825bed1fe91ce0cf50a2b3691c64ef0a Reviewed-on: http://git-master/r/12227 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I3da91a438f98f2f51618446ce024f3fefd726a19
2011-04-19ASOC: tegra: Fix BT_SCO capture device maskingSumit Bhattacharya
bug 816348 Change-Id: I6551a867fdfcddc6689d6fcc1daaee11d8879e7f Reviewed-on: http://git-master/r/28182 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-04-19ASOC: tegra: Disable Sidetone.Manjula Gupta
Removes the Sidetone enable code, sidetone should not be enabled for normal capture. For Bug: 808731 Change-Id: I7159c023624c9d3f759cf52510e8a48551454db1 Reviewed-on: http://git-master/r/28013 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-13ASOC: TEGRA: Make alsa more configurableSumit Bhattacharya
This change mainly takes care of following things: 1) Codec_dai code will use dap apis to query the board specific dap tables to find the codec configuration needed for a particular routing and will configure codec accordingly. So long we were configuring codec hardcodedly. 2) Moved all codec and board specific routing codes to codec specific files from tegra_soc_controls.c. 3) Modifying the codec routing logic to make it simpler and robust. 4) Except DAP Mclk we will turn off all other audio related clocks when not in use. 5) I2s and SPDIF bit clock frequencies will be dynamically calculated based on the stream properties. 6) DAS power management and DAP MCLK related codes are moved to codec dai since they are more closely related to codec than i2s. Change-Id: I531558bec108af5828c8ff2ed932f4d25e00afdb Reviewed-on: http://git-master/r/24683 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-04-12ASOC: tegra: Check HP and mic jack status at initSumit Bhattacharya
Adding code to scan headphone and mix gpios during alsa init to check if headphone/mic jacks are connected during bootup or not. Also removing registering of headphone/mic DAPM pins with jack detection mechanism. We should not enable DAPM paths just depending on which jacks are connected. DAPM paths should be enabled/disabled only when libaudio change alsa routing paths. Change-Id: I2176176f71b35eaa0ad5405052a83b834cdca17e Reviewed-on: http://git-master/r/27176 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>