| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | fsl-sai.txt | 1 Freescale Synchronous Audio Interface (SAI). 3 The SAI is based on I2S module that used communicating with audio codecs, 10 - compatible : Compatible list, contains "fsl,vf610-sai", 11 "fsl,imx6sx-sai", "fsl,imx6ul-sai", 12 "fsl,imx7ulp-sai", "fsl,imx8mq-sai" or 13 "fsl,imx8qm-sai". 15 - reg : Offset and length of the register set for the device. 17 - clocks : Must contain an entry for each entry in clock-names. 19 - clock-names : Must include the "bus" for register access and 22 - dmas : Generic dma devicetree binding as described in [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | fsl,sai.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,sai.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Synchronous Audio Interface (SAI). 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 The SAI is based on I2S module that used communicating with audio codecs, 21 - items: 22 - enum: 23 - fsl,imx6ul-sai [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | fsl_sai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Freescale ALSA SoC Digital Audio Interface (SAI) driver. 5 // Copyright 2012-2015 Freescale Semiconductor, Inc. 21 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 24 #include "imx-pcm.h" 41 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream 43 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's 47 * @sai: SAI context 48 * @dir: stream direction 50 static inline bool fsl_sai_dir_is_synced(struct fsl_sai *sai, int dir) in fsl_sai_dir_is_synced() argument [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mp-verdin-dahlia.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 8 compatible = "simple-audio-card"; 9 simple-audio-card,bitclock-master = <&codec_dai>; 10 simple-audio-card,format = "i2s"; 11 simple-audio-card,frame-master = <&codec_dai>; 12 simple-audio-card,mclk-fs = <256>; 13 simple-audio-card,name = "imx8mp-wm8904"; 14 simple-audio-card,routing = 21 simple-audio-card,widgets = 26 codec_dai: simple-audio-card,codec { [all …]
|
| D | imx8mn-bsh-smm-s2pro.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 7 /dts-v1/; 9 #include "imx8mn-bsh-smm-s2-common.dtsi" 10 #include <dt-bindings/sound/tlv320aic31xx.h> 14 compatible = "bsh,imx8mn-bsh-smm-s2pro", "fsl,imx8mn"; 21 sound-tlv320aic31xx { 22 compatible = "fsl,imx-audio-tlv320aic31xx"; 23 model = "tlv320aic31xx-hifi"; 24 audio-cpu = <&sai3>; 25 audio-codec = <&tlv320dac3101>; [all …]
|
| D | imx8mn-beacon-kit.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include "imx8mn-beacon-som.dtsi" 10 #include "imx8mn-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn"; 17 stdout-path = &uart2; 21 compatible = "hdmi-connector"; 26 remote-endpoint = <&adv7535_out>; 31 reg_hdmi: regulator-hdmi-dvdd { 32 compatible = "regulator-fixed"; [all …]
|
| D | imx8mm-beacon-kit.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include "imx8mm-beacon-som.dtsi" 10 #include "imx8mm-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm"; 17 stdout-path = &uart2; 21 compatible = "hdmi-connector"; 26 remote-endpoint = <&adv7535_out>; 31 reg_hdmi: regulator-hdmi-dvdd { 32 compatible = "regulator-fixed"; [all …]
|
| D | imx8mm-prt8mm.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 17 stdout-path = &uart4; 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pinctrl_gpio_leds>; 30 debug-led0 { 33 linux,default-trigger = "heartbeat"; 36 debug-led1 { [all …]
|
| D | imx8mp-verdin-dev.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 reg_eth2phy: regulator-eth2phy { 8 compatible = "regulator-fixed"; 9 enable-active-high; 11 off-on-delay-us = <500000>; 12 regulator-max-microvolt = <3300000>; 13 regulator-min-microvolt = <3300000>; 14 regulator-name = "+V3.3_ETH"; 15 startup-delay-us = <200000>; 16 vin-supply = <®_3p3v>; [all …]
|
| D | imx8mq-mnt-reform2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright 2019-2021 MNT Research GmbH 8 /dts-v1/; 10 #include "imx8mq-nitrogen-som.dtsi" 14 compatible = "mntre,reform2", "boundary,imx8mq-nitrogen8m-som", "fsl,imx8mq"; 15 chassis-type = "laptop"; 18 compatible = "pwm-backlight"; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&pinctrl_backlight>; 22 power-supply = <®_main_usb>; [all …]
|
| D | imx8mp-msc-sm2s-ep1.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include "imx8mp-msc-sm2s-14N0600E.dtsi" 9 #include <dt-bindings/clock/imx8mp-clock.h> 10 #include <dt-bindings/gpio/gpio.h> 13 model = "MSC SM2-MB-EP1 Carrier Board with SM2S-IMX8PLUS-QC6-14N0600E SoM"; 14 compatible = "avnet,sm2s-imx8mp-14N0600E-ep1", 15 "avnet,sm2s-imx8mp-14N0600E", "avnet,sm2s-imx8mp", 18 reg_vcc_3v3_audio: 3v3-audio-regulator { 19 compatible = "regulator-fixed"; [all …]
|
| D | imx8mp-dhcom-pdk2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2 7 * DHCOM PCB number: 660-100 or newer 8 * PDK2 PCB number: 516-400 or newer 11 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/phy/phy-imx8-pcie.h> 15 #include "imx8mp-dhcom-som.dtsi" 19 compatible = "dh,imx8mp-dhcom-pdk2", "dh,imx8mp-dhcom-som", 23 stdout-path = &uart1; [all …]
|
| D | imx8mn-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 compatible = "gpio-leds"; 10 led-0 { 13 default-state = "off"; 16 led-1 { 19 default-state = "off"; 22 led-2 { 25 default-state = "off"; 28 led-3 { 29 pinctrl-names = "default"; [all …]
|
| D | imx8mp-dhcom-pdk3.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2 7 * DHCOM PCB number: 660-100 or newer 8 * PDK3 PCB number: 669-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/phy/phy-imx8-pcie.h> 15 #include "imx8mp-dhcom-som.dtsi" 19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som", 23 stdout-path = &uart1; [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | fsl_sai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Freescale ALSA SoC Digital Audio Interface (SAI) driver. 5 // Copyright 2012-2015 Freescale Semiconductor, Inc. 23 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 27 #include "imx-pcm.h" 45 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream 47 * SAI supports synchronous mode using bit/frame clocks of either Transmitter's 51 * @sai: SAI context 52 * @dir: stream direction 54 static inline bool fsl_sai_dir_is_synced(struct fsl_sai *sai, int dir) in fsl_sai_dir_is_synced() argument [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 u32 mclk; member 43 u32 mclk; member 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 u32 mclk; member 43 u32 mclk; member 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
| D | 0009_linux_sound.patch | 7 Change-Id: Ic34341fbcce5e6d02fefc2acad4ea1058da94b66 9 diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c 11 --- a/sound/core/pcm_dmaengine.c 13 @@ -125,6 +125,8 @@ void snd_dmaengine_pcm_set_config_from_dai_data( 16 slave_config->slave_id = dma_data->slave_id; 17 + slave_config->peripheral_config = dma_data->peripheral_config; 18 + slave_config->peripheral_size = dma_data->peripheral_size; 22 diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c 24 --- a/sound/soc/codecs/hdmi-codec.c 25 +++ b/sound/soc/codecs/hdmi-codec.c [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 compatible = "gpio-leds"; 13 default-state = "off"; 19 default-state = "off"; 25 default-state = "off"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_led3>; 33 linux,default-trigger = "heartbeat"; 37 reg_audio: regulator-audio { 38 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6ul-phytec-segin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite"; 9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul"; 16 reg_sound_1v8: regulator-1v8 { 17 compatible = "regulator-fixed"; 18 regulator-name = "i2s-audio-1v8"; 19 regulator-min-microvolt = <1800000>; 20 regulator-max-microvolt = <1800000>; 24 reg_sound_3v3: regulator-3v3 { 25 compatible = "regulator-fixed"; [all …]
|
| D | imx6ul-14x14-evk.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/media/video-interfaces.h> 9 stdout-path = &uart1; 17 backlight_display: backlight-display { 18 compatible = "pwm-backlight"; 20 brightness-levels = <0 4 8 16 32 64 128 255>; 21 default-brightness-level = <6>; 26 reg_sd1_vmmc: regulator-sd1-vmmc { 27 compatible = "regulator-fixed"; 28 regulator-name = "VSD_3V3"; [all …]
|
| D | mba6ulx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2018-2022 TQ-Systems GmbH 4 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 8 model = "TQ-Systems MBA6ULx Baseboard"; 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 23 power-supply = <®_mba6ul_3v3>; 24 enable-gpios = <&expander_out0 4 GPIO_ACTIVE_HIGH>; 29 compatible = "gpio-beeper"; 33 gpio_buttons: gpio-keys { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6ul-phytec-segin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite"; 9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul"; 16 reg_sound_1v8: regulator-1v8 { 17 compatible = "regulator-fixed"; 18 regulator-name = "i2s-audio-1v8"; 19 regulator-min-microvolt = <1800000>; 20 regulator-max-microvolt = <1800000>; 24 reg_sound_3v3: regulator-3v3 { 25 compatible = "regulator-fixed"; [all …]
|
| D | imx6ul-14x14-evk.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 stdout-path = &uart1; 15 backlight_display: backlight-display { 16 compatible = "pwm-backlight"; 18 brightness-levels = <0 4 8 16 32 64 128 255>; 19 default-brightness-level = <6>; 24 reg_sd1_vmmc: regulator-sd1-vmmc { 25 compatible = "regulator-fixed"; 26 regulator-name = "VSD_3V3"; 27 regulator-min-microvolt = <3300000>; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sof/ |
| D | topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 19 #include "sof-priv.h" 20 #include "sof-audio.h" 26 * from dB gain 20th root of 10 in Q1.16 fixed-point notation 29 /* 40th root of 10 in Q1.16 fixed-point notation*/ 61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params() 71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params() 73 dev_err(scomp->dev, "error: cannot find PCM for %s\n", in ipc_pcm_params() 74 swidget->widget->name); in ipc_pcm_params() 75 return -EINVAL; in ipc_pcm_params() [all …]
|