summaryrefslogtreecommitdiff
path: root/include/uapi/sound (follow)
Commit message (Collapse)AuthorAge
* Kbuild : Use no-export-headers to avoid exporting headersNaitik Bharadiya2020-06-01
| | | | | | | | | | | | | Add header files under no-export-headers in Kbuild to avoid exporting specific headers files. Scan no-export-headers files in Kbuild and add it to exclude list in kernel_headers.py to avoid exporting header files. Change-Id: Ice052b5428ef1f7445c5ad2e68c7da8fa7e249ae Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* uapi: export all headers under uapi directoriesNicolas Dichtel2020-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regularly, when a new header is created in include/uapi/, the developer forgets to add it in the corresponding Kbuild file. This error is usually detected after the release is out. In fact, all headers under uapi directories should be exported, thus it's useless to have an exhaustive list. After this patch, the following files, which were not exported, are now exported (with make headers_install_all): asm-arc/kvm_para.h asm-arc/ucontext.h asm-blackfin/shmparam.h asm-blackfin/ucontext.h asm-c6x/shmparam.h asm-c6x/ucontext.h asm-cris/kvm_para.h asm-h8300/shmparam.h asm-h8300/ucontext.h asm-hexagon/shmparam.h asm-m32r/kvm_para.h asm-m68k/kvm_para.h asm-m68k/shmparam.h asm-metag/kvm_para.h asm-metag/shmparam.h asm-metag/ucontext.h asm-mips/hwcap.h asm-mips/reg.h asm-mips/ucontext.h asm-nios2/kvm_para.h asm-nios2/ucontext.h asm-openrisc/shmparam.h asm-parisc/kvm_para.h asm-powerpc/perf_regs.h asm-sh/kvm_para.h asm-sh/ucontext.h asm-tile/shmparam.h asm-unicore32/shmparam.h asm-unicore32/ucontext.h asm-x86/hwcap2.h asm-xtensa/kvm_para.h drm/armada_drm.h drm/etnaviv_drm.h drm/vgem_drm.h linux/aspeed-lpc-ctrl.h linux/auto_dev-ioctl.h linux/bcache.h linux/btrfs_tree.h linux/can/vxcan.h linux/cifs/cifs_mount.h linux/coresight-stm.h linux/cryptouser.h linux/fsmap.h linux/genwqe/genwqe_card.h linux/hash_info.h linux/kcm.h linux/kcov.h linux/kfd_ioctl.h linux/lightnvm.h linux/module.h linux/nbd-netlink.h linux/nilfs2_api.h linux/nilfs2_ondisk.h linux/nsfs.h linux/pr.h linux/qrtr.h linux/rpmsg.h linux/sched/types.h linux/sed-opal.h linux/smc.h linux/smc_diag.h linux/stm.h linux/switchtec_ioctl.h linux/vfio_ccw.h linux/wil6210_uapi.h rdma/bnxt_re-abi.h Note that I have removed from this list the files which are generated in every exported directories (like .install or .install.cmd). Thanks to Julien Floret <julien.floret@6wind.com> for the tip to get all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch/<arch>/include/uapi/asm/Kbuild; - arch/<arch>/include/asm/Kbuild. Change-Id: I132df74f736b8f35f77390eaa12804e74ef536ee Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Mark Salter <msalter@redhat.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Git-Commit: fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [bharad@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* uapi: sound: move necessary sound headers under uapiNaitik Bharadiya2020-06-01
| | | | | | | | | | | | Now all uapi header are exported as per ("uapi: export all headers under uapi directories") but some header files are under "include/sound" and its not exported so userspace build is failing. move necessary sound headers under uapi to avoid build failure and make it align with base. Change-Id: I08a465a6a3837c4bcf32c5d9983ba4837d603df2 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* msm: ASoC: enable aptX HD decoderHan Lu2018-12-12
| | | | | | | Enable decoder for media format aptX HD Change-Id: I5892dcdcf233f2c8c79b4f2c08d2d9014e05ed26 Signed-off-by: Han Lu <hanlu@codeaurora.org>
* ASoC: msm: qdsp6v2: Update audio effects driver to support Instance IDAditya Bavanari2017-12-21
| | | | | | | | | | | | | | Add support to set and get audio effects module params with Instance ID support. Maintain support for non Instance ID set and get param structures as well. Use common pack and set param functions to set and get parameters to DSP instead of handling them at an individual module level. CRs-Fixed: 2151551 Change-Id: I62342d434fc5bd58c06d22913683d7d0fd602da9 Signed-off-by: Siena Richard <sienar@codeaurora.org> Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
* ASoC: msm: qdsp6v2: latency mode support for transcode loopbackSiddartha Shaik2017-08-16
| | | | | | | | | | Add metadata to configure latency mode for DSP transcode loopback to set legacy or low latency path. Userspace API introduced to configure the same. CRs-Fixed: 2092562 Change-Id: I914c68a9e9d8647530b72c42548e571b7508c423 Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
* ASoC: msm: Add hwdep node for NOIRQ FEHaynes Mathew George2017-07-06
| | | | | | | | | | | | | ALSA lacks support to accept shared memory supplied from userspace. But some usecases need to get a shareable file descriptor for the dma buffer. As an alternate to adding custom ioctls to the ALSA framework, use a hwdep node to get a file descriptor to the underlying dma buffer. Maintain compat mode as well. CRs-Fixed: 2041151 Change-Id: Id783bb84e8ef59b28e42d982903971625577b9a3 Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
* ASoc: msm: qdspv2: Clock recovery support in compress driverManish Dewangan2017-05-03
| | | | | | | | | | | Support for clock recovery in compress driver. Userspace app can issue clock recovery command with a positive value to advance the clock or a negative value to delay the clock. CRs-Fixed: 2036899 Change-Id: Iacfc18afe6723edea84ed3382ac62810fcadb31a Signed-off-by: Manish Dewangan <manish@codeaurora.org>
* ASoC: msm: qdsp6v2: Add TrueHD HDMI compress pass-thoughBen Romberger2017-04-17
| | | | | | | Add TrueHD audio format for compressed HDMI pass-through Change-Id: Id8a0b8c3a01c881ae284f13c2c0a36959c2413ac Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* Merge "ASoC: msm: qdsp6v2: Support to set session start delay"Linux Build Service Account2017-03-07
|\
| * ASoC: msm: qdsp6v2: Support to set session start delayManish Dewangan2017-02-27
| | | | | | | | | | | | | | | | | | | | Update compress driver to support session start delay. Userspace can use this param to delay start of playback session. CRs-Fixed: 1112258 Change-Id: I0b31a4bae12f9f2b1f8a3e003909741529458772 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
| * ASoC: msm: qdsp6v2: Support to configure render windowManish Dewangan2017-02-27
| | | | | | | | | | | | | | | | | | | | Update compress driver to support configuration of DSP render window. Render window is used by DSP to take rendering decision. i.e whether input frame should be rendered, dropped or repeated. CRs-Fixed: 1112258 Change-Id: Ib1b9100ab87878d2e2da93e2b86ca68fb9dd97a9 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
| * ASoC: msm: qdsp6v2: Support to configure clk recovery modeManish Dewangan2017-02-27
| | | | | | | | | | | | | | | | | | | | | | Update compress driver to support configuration of DSP clock recovery mode. Supported modes are auto and none. In auto mode DSP does clock recovery based on avtimer and device drift otherwise it ignores drift. CRs-Fixed: 1112258 Change-Id: I4b6b37c08be422e38b7f0bf625712d5e2b0dc0f3 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
| * ASoC: msm: qdsp6v2: Support to configure render modeManish Dewangan2017-02-27
| | | | | | | | | | | | | | | | | | Update compress driver to support configuration of render mode. CRs-Fixed: 1112258 Change-Id: Iac8c3a3d2df6180c9982c352b1c00ce7a624c167 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
| * ASoC: msm: qdsp6v2: Get path delay support in compress pathManish Dewangan2017-02-27
| | | | | | | | | | | | | | | | Compress driver changes to query DSP path delay. CRs-Fixed: 1112258 Change-Id: I68d40daa0fa59c9a39d83ffc8517b0852a57ae05 Signed-off-by: Manish Dewangan <manish@codeaurora.org>
* | ALSA: compress: Replace usages of uint32/uint64 with u32/u64Preetam Singh Ranawat2017-02-20
|/ | | | | | | | | Use u64/u32 instead of uint32/uint64 to avoid build failures. Change-Id: I070b025fcad30d06295e9030fe314e66e0e128de CRs-Fixed: 2004642 Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
* uapi: lsm_params: Add timestamp support for lsm detection eventChaithanya Krishna Bacharaju2017-01-30
| | | | | | | | | Add interface to set lsm framework mode configuration and capture lsm detection event timestamp. Change-Id: Ib911ee44620799b02756f6e03b19d1408f7d816c Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
* uapi: lsm_params: Add interface to disable pollingChaithanya Krishna Bacharaju2017-01-30
| | | | | | | | | | Polling needs to be disabled when LSM connects to ADM. Add interface to enable or disable polling through set_params. Add support to set port. Change-Id: If027418a6d8a1ea48dcb6a0c146f68e7dd7a2664 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Revathi Uddaraju <revathiu@codeaurora.org>
* ALSA: compress: Add APTX format support in ALSADhanalakshmi Siddani2017-01-20
| | | | | | | | | Extend ALSA (Advanced Linux Sound Architecture) compress to support APTX format. CRs-Fixed: 1106128 Change-Id: I301c3fac1f0e267ca82f20a42437bae86a22413c Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
* ASoc: msm: qdsp6v2: Add timestamp support for compress captureSatish Babu Patakokila2016-12-01
| | | | | | | | | Add timestamp support for compress driver. Modify ASM driver to read the buffer from predefined offset. CRs-fixed: 1072067 Change-Id: I1c46befc223285495b3c0650e6c3eaae81f58771 Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
* uapi: sound: add new ready packet typeVidyakumar Athota2016-10-06
| | | | | | | | | | There is a chance that the user space can send commands to wdsp before transport layer is ready to use. Avoid this scenario by adding a new API which user space can invoke to check the status of the transport layer before sending any commands. Change-Id: Icf2af8ddac3925fe02b2c8b7b8767a2141922203 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* ALSA: compress: Add DSD format support for ALSAPreetam Singh Ranawat2016-08-19
| | | | | | | | | | WCD934X audio codec supports playback of DSD (Direct Stream Digital) format. Extend ALSA (Advanced Linux Sound Architecture) compress to support DSD format. CRs-Fixed: 1056422 Change-Id: Ifb06674c251335a1d8cec71931355dca4c0e012d Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
* uapi: sound: add wcd-dsp-glink header fileVidyakumar Athota2016-08-17
| | | | | | | | | | Add support for WCD-DSP audio codec communication over glink. This file defines all the required structures for the userspace component to communicate with the DSP in WCD audio codec. CRs-Fixed: 1053381 Change-Id: I141a72c879b4c15590ad94c852a2771a360b55f9 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* ALSA: compress: update struct snd_codec_desc for sample rateVinod Koul2016-03-23
| | | | | | | | | | | | | | | | | Now that we don't use SNDRV_PCM_RATE_xxx bit fields for sample rate, we need to change the description to an array for describing the sample rates supported by the sink/source Change-Id: I2dc6b4e48cccbc7a3da7207be42cf11502373572 Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Git-commit: b8bab04829ab190f71921d4180bda438ba6124ae Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: vivek mehta <mvivek@codeaurora.org> [fred@codeaurora.org: resolved context conflict in struct snd_codec_desc] [fred@codeaurora.org: added msm-compress-q6-v2.c to resolve compilation error] Signed-off-by: Fred Oh <fred@codeaurora.org>
* ASoC: msm: Add Audio drivers for MSM targetsSudheer Papothi2016-03-23
| | | | | | | | | | | Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* ASoC: msm: qdsp6v2: add support for ALAC and APE offloadSudheer Papothi2016-03-23
| | | | | | | | | Add ALAC and APE to supported offload formats and send media format block for both formats through compress driver. Change-Id: I22b7cf38684250d2f8d6f9aefcd43452bb18e7f9 Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* ASoC: msm: fix integer overflow for long duration offload playbackDhananjay Kumar2016-03-23
| | | | | | | | | | | 32 bit variable is used for storing number of bytes copied to DSP, which can overflow when playback duration goes beyond 24 hours. Change data type for this variable to uint64_t, to prevent overflow and related playback anomaly. CRs-Fixed: 877677 Change-Id: Ie4dfa630cf89559bb784d4712c52526665baeca6 Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
* ASoC: msm-compr: Fix possible array out of boundsBhalchandra Gajare2016-03-23
| | | | | | | | | Add check to avoid possible array out of bounds in function msm_compr_send_ddp_cfg. CRs-fixed: 925138 Change-Id: If3915565bdea998404854bd73ff7dafb8a2b23b0 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
* ALSA: compress: Add support to send codec specific dataAlexy Joseph2016-03-23
| | | | | | | | | | | | | | | Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless using set_next_track_param. Change-Id: Ieec6b2afedec156e47873efcad9b3571160b0a29 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: include/sound/compress_driver.h
* ASoC: msm: qdsp6v2: Handle additional codec specific metadataAlexy Joseph2016-03-23
| | | | | | | | | | | | | | | | | Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless. Add bit rate to wma codec data structure as it can vary between streams in gapless. Change-Id: I39f34ea1addff720612fe3e06257e7d75889e574 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c
* ALSA: audio_codec: add hwdep interfaceSudheer Papothi2016-03-23
| | | | | | | | | | | | | This commit adds hwdep interface 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 dependent data using hwdep nodes. Codec will use aforementioned nodes to get calibration data from userspace. Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* ASoC: msm: qdsp6v2: Handles additional flac metadataSudheer Papothi2016-03-23
| | | | | | | | | | | | Currently, metadata such as min/max block size is sent only for first stream in FLAC gapless playback. This causes incorrect configuration and, subsequently, framedrops in decoding of second stream and onwards By sending these additional flac metadata, dsp receives stream-wise metadata and decodes without dropping Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* ASoC: msm: qdsp6v2: Add support for HDMI passthroughBanajit Goswami2016-03-23
| | | | | | | | | | Add support for compressed bitstream passthrough over HDMI for DD/DDP contents. Use compressed driver to support passthrough. Change-Id: I01f9e4fa984a1f45d1f4de5250bed8f95d2a2dd0 Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: qdsp6v2: Fix bit alignment in snd_codec paramsBanajit Goswami2016-03-23
| | | | | | | | | | | | Pointer member variables in snd_codec params break bit alignment and causes data corruption. By changing these pointers to fixed size array variables, the bit alignment is rectified. The size has been set to max possible size. Also, remove params which are not required anymore. Change-Id: Ib87bbeb07b0df1ce8a81166b319976fe54c0f013 Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* revert: ALSA: compress: update struct snd_codec_desc for sample rateBanajit Goswami2016-03-23
| | | | | | | | | | This gerrit reverts the gerrit with the commit number- b8bab04829ab190f71921d4180bda438ba6124ae Now that we don't use SNDRV_PCM_RATE_xxx bit fields for sample rate, we need to change the description to an array for describing the sample rates supported by the sink/source Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Add compressed TX supportSudheer Papothi2016-03-23
| | | | | | | | | | There is use case that the HDMI input goes through MI2S TX interface to ADSP. Add compressed TX support for this use case. Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* ASoC: msm: qdsp6v2: Add FLAC in compress offload pathBanajit Goswami2016-03-23
| | | | | | | | | Add FLAC format in compress offload driver, and asm module Change-Id: I818ace8397e761b1acff7f9b2eab6e0103ed78c8 Signed-off-by: Apurupa Pattapu <apurupa@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Add support for WMA DSP decodeBanajit Goswami2016-03-23
| | | | | | | | | | | WMA V9 and WMA Pro tunnel-mode supports are added to compressed driver. It allows user-space application to decode WMA V9 and WMA Pro audio stream through QDSP6. Change-Id: I99407d00b618a627e6d762be9abea4abd2410b8b Signed-off-by: Manish Dewangan <manish@codeaurora.org> Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ALSA: compress: Update compress audio paramsBanajit Goswami2016-03-23
| | | | | | | | | Add timestamp field to compress structure which indicates when audio sample has been captured or needs to be rendered. Change-Id: Ie61170c6645c71207e7df1c7176e0750e47590f8 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Add support for AC3 and EC3 playback in tunnel modeBanajit Goswami2016-03-23
| | | | | | | | | | | Dolby surround1-DS1 module supports both Dolby Audio processing - post processing and Dolby digital plus decoder in DSP. Add support for AC3 and EC3 playback in tunnel mode so that DS1 is integrated and functional end to end. Change-Id: Iacb46cdfded16c9a5a9227a6ff4e072c61df2be8 Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Implementation of transcode from MP3, WMA to DTS compressedBanajit Goswami2016-03-23
| | | | | | | | | | | | | Set the output path of the decoder output of the compressed format to input of the pseudo port. Output of the pseudo port is connected to the input of DTS encoder. Output of the DTS encoder is connected to the selected output ports SPDIF, HDMI. Change-Id: I3945e53fdfd57de47fb2209ddc81ba4623999028 Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: DTS_LBR Passthrough SupportBanajit Goswami2016-03-23
| | | | | | | | | | - Added DTS_LBR for Passthrough case in Compress Driver - Added Graceful Error Handling for Unsupported Codec IDs in case of open_write_compressed. Change-Id: Ifbecb02832a2599be0e3c73cc69381f87969d78a Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Add the support for the MP2 decoderBanajit Goswami2016-03-23
| | | | | | | | | Support the MP2 as a format for the tunnel mode. MP2 format to be decoded in the DSP. Change-Id: I0d268a6ddb57b1470ee2c43449ac31520176232f Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm : DTS security implementationBanajit Goswami2016-03-23
| | | | | | | | | Receive DTS security modelId from userspace, and supply to Q6 core service. Change-Id: Ib50f3a81da60c92ceb5b521134cd3d1b6fb8e5cb Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Enable PCM capture in compressed driverBanajit Goswami2016-03-23
| | | | | | | | | | | | In the use case of HDMI input PCM capture, timestamp received from DSP is required in userspace to propogate it on the playback path. Timestamp mode propagation is availble through the meta data mode in compressed driver. Add support for PCM capture in compressed driver to address the usecase Change-Id: I1221b8e99628dadc136df681619ed960ff7c5c1a Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* SoC: msm: Add support for meta data in compressed TXBanajit Goswami2016-03-23
| | | | | | | | | | | There is a usecase where compressed data is sent over HDMI IN to ADSP. The format of compressed is detected in ADSP and sent through the meta data to compressed driver. Add support for meta data in compressed TX for this use case. Change-Id: Idbb18fe4a0ad828e9c2e9d7beec048b3cedf002d Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: DTS playback supportBanajit Goswami2016-03-23
| | | | | | | | Compressed driver changes for the DTS support Change-Id: I595e638da78cced02142f4ee430afb7357eb336c Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* ASoC: msm: Update the encode option and sample rate.Banajit Goswami2016-03-23
| | | | | | | | | Populate the sample rate, encode option in wma config params. CRs-Fixed: 367243, 367242 Change-Id: Ieeb9d302454d3935faa51cac77021e7c1d77012c Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* soc: Add audio backend to hwdep interfaceSudheer Papothi2016-03-23
| | | | | | | | | | Add audio backend to hwdep interface. This is to provide ioctl interface to communicate to routing driver. Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* Merge tag 'asoc-v4.3-rc6' of ↵Takashi Iwai2015-10-26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next ASoC: Updates for v4.4 Not much core work here, a few small tweaks to interfaces but mainly the changes here are driver ones. Highlights include: - Updates to the topology userspace interface - Big updates to the Renesas support from Morimoto-san - Most of the support for Intel Sky Lake systems. - New drivers for Asahi Kasei Microdevices AK4613, Allwinnner A10, Cirrus Logic WM8998, Dialog DA7219, Nuvoton NAU8825 and Rockchip S/PDIF. - A new driver for the Atmel Class D speaker drivers