summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/alsa-state
Commit message (Collapse)AuthorAgeFilesLines
* alsa-state: Update asound.conf for linux-imx 5.15Tom Hochstein2023-01-092-0/+271
| | | | | | | The multi-fifo script is integrated in linux-imx 5.15, and the channel mapping is handled by the kernel, so some pcm devices can be removed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-state: Fix commentTom Hochstein2022-08-151-1/+1
| | | | | | | The comment for FILESEXTRAPATHS had migrated away. Improve the content as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Rework recipes to use imx-generic-bsp more extensivelyOtavio Salvador2022-02-213-9/+3
| | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-generic-bsp override; it has been applied to: - alsa-state - firmware-imx - imx-kobs - imx-test - imx-uuc - linux-fslc - linux-fslc-lts - packagegroup-fsl-mfgtool - u-boot-fslc - uuu Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-213-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer: Convert to new override syntaxKhem Raj2021-08-121-8/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* alsa-state: Rename sound card to imxcs4288Tom Hochstein2021-02-171-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-state: Add support for SOF with wm8960 codecTom Hochstein2021-02-171-0/+689
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* asound.state: add support for wm8960 codecAndrey Zhizhikin2020-09-231-0/+2067
| | | | | | | | | NXP release imx_5.4.24_2.1.0 includes support for wm8960 codec, which could be found on various EVKs of i.MX8 derivatives. Update file to include support for the codec. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* alsa-state: Add i.MX 8 series supportTom Hochstein2018-09-081-0/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-state: Add new codecs for i.MX 8MTom Hochstein2018-09-081-0/+1546
| | | | | | Add support for AK4458, AK5558, and AK4497. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-state: Fix HDMI for i.MX 8MTom Hochstein2018-09-081-0/+30
| | | | | | | Channel mapping on HDMI was incorrect for 4 and 8 channels. Create a PCM device so alsa-lib will remap in user space. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-state: Fix channel swap issuesTom Hochstein2018-08-301-0/+158
| | | | | | | | Fix channel swap issues seen for ak4458 and ak5558 codecs on audio board for i.MX 8MQ. Changes applicable to all platforms. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* alsa-state: Add support for splitting ESAI deviceTom Hochstein2018-08-301-0/+27
| | | | | | | | Split one ESAI device into two virtual devices, one 6 channel and one 2 channel. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* alsa-state: Fix buffer size issueTom Hochstein2018-08-301-18/+0
| | | | | | | | Fix incorrect buffer size by removing buffer_time from dmix configuration settings. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* alsa-state: Add override to use with use-mainline-bspFabio Berton2017-10-041-0/+2
| | | | | | | | | Add use-mainline-bsp override to install asound.conf file to machines that use mainline bsp. Change-Id: I13e61bbabb163eeb3e3408ba47e8cd4954b41ba6 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* alsa-state: Remove i.MX 6UL specific metadataOtavio Salvador2017-01-271-2/+0
| | | | | | | The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* asound.state: Update to 4.1.15-1.1.0Yuqing Zhu2016-05-161-44/+62
| | | | | | | | | | | | | | --Update wm8960audio configuration for mx6ul/mx7 1."Capture Switch" has been enabled, and 'Capture Volume' will make sense. The current 'Capture Volume' value is the max value 63. So need to modify the capture volume. 2.Add ADC data output select. 3.Remove amixer control 'Headset Jack' as mx7d-sdb doesn't have it. --Adding sii902xaudio configuration for mx7 Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* asound.conf: Update asound.conf to set default ctrl for kernel 4.1Yuqing Zhu2016-05-161-0/+5
| | | | | | | | | The default ctrl is missing from /etc/asound.conf. If don't using “-Dhw:0”, the sound will rout from alsa to pulseaudio, then to the sound device. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* alsa-state: Using one unified version to set configuration values for ↵Yuqing Zhu2016-04-195-1800/+618
| | | | | | | | | | | | | | | mx6/mx6ul/mx7 As i.MX6UL uses the SOC Family name as "mx6ul", need to add configuration for mx6ul separately. Unify the configuration files to be easy to maintain. For asound.conf, there is no change. For asound.state, wm8962/cs42888 audio configuration for mx6. wm8958/wm8960 audio configuration for mx6ul/mx7. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador2016-04-195-906/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel provided by Freescale for i.MX28 and i.MX5 is too old (2.6.35.3) and there are no plans to upgrade it, as the OE-Core is going to use GCC 5.2 as default compiler soon and it is not possible to compile this kernel with the new toolchain, thus the removal. The metadata related to the i.MX23, i.MX28 and i.MX5 SoC family, which is dependant of this Linux kernel support, has been removed in this commit so if someone ever wants to bring it back it is easy to find out all the necessary changes. The recipes affected are: - alsa-state - amd-gpu-x11-bin - gtk+3 - imx-lib - imx-test - imx-vpu - libfslcodec - linux-imx - mesa - qt4-embedded-free - qt4-x11-free - qtbase - xf86-video-imxfb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
* alsa-state: Add mx7 support with wm8960 audioLauren Post2015-07-283-1/+5340
| | | | | | | | | | Include the i.MX 7Dual alsa-state configurations. The mx7 is a new i.MX SoC family provided in the 3.14.28-7D_alpha release and upstreamed with the 3.14.38-6QP_Beta release. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-167-0/+2542
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>