/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,imx-asrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,imx-asrc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Asynchronous Sample Rate Converter (ASRC) Controller 10 The Asynchronous Sample Rate Converter (ASRC) converts the sampling rate of 17 - Shawn Guo <shawnguo@kernel.org> 18 - Sascha Hauer <s.hauer@pengutronix.de> 23 - enum: 24 - fsl,imx35-asrc [all …]
|
H A D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 29 link-name: 30 description: Indicates dai-link name and PCM stream name. [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale ASRC ALSA SoC Platform (DMA) driver 9 #include <linux/dma-mapping.h> 11 #include <linux/dma/imx-dma.h> 37 chan->private = param; in filter() 45 struct snd_pcm_runtime *runtime = substream->runtime; in fsl_asrc_dma_complete() 46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() 48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete() 49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete() 50 pair->pos = 0; in fsl_asrc_dma_complete() [all …]
|
H A D | fsl_asrc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Freescale ASRC ALSA SoC Digital Audio Interface (DAI) driver 11 #include <linux/dma-mapping.h> 14 #include <linux/dma/imx-dma.h> 26 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) 29 dev_dbg(&asrc 217 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_request_pair() local 260 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_release_pair() local 285 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_watermarks() local 326 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_set_ideal_ratio() local 381 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_config_pair() local 584 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_start_pair() local 618 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_stop_pair() local 634 struct fsl_asrc *asrc = pair->asrc; fsl_asrc_get_dma_channel() local 646 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_startup() local 701 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_hw_params() local 785 struct fsl_asrc *asrc = snd_soc_dai_get_drvdata(dai); fsl_asrc_dai_probe() local 975 fsl_asrc_init(struct fsl_asrc * asrc) fsl_asrc_init() argument 1013 struct fsl_asrc *asrc = (struct fsl_asrc *)dev_id; fsl_asrc_isr() local 1073 struct fsl_asrc *asrc; fsl_asrc_probe() local 1080 u32 width; fsl_asrc_probe() local 1264 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_resume() local 1339 struct fsl_asrc *asrc = dev_get_drvdata(dev); fsl_asrc_runtime_suspend() local [all...] |
H A D | fsl_easrc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/dma/imx-dma.h> 16 /* ASRC Input Write FIFO */ 18 /* ASRC Output Read FIFO */ 20 /* ASRC Context Control */ 22 /* ASRC Context Control Extended 1 */ 24 /* ASRC Context Control Extended 2 */ 26 /* ASRC Contro 556 unsigned int width : 2; global() member [all...] |
H A D | fsl_asrc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * fsl_asrc.h - Freescale ASRC ALSA SoC header file 124 #define ASRCNCR_ANCi_MASK(i, b) (((1 << b) - 1) << ASRCNCR_ANCi_SHIFT(i, b)) 138 #define ASRCFG_POSTMODi_MASK(i) (((1 << ASRCFG_POSTMODi_WIDTH) - 1) << ASRCFG_POSTMODi_SHIFT(i)) 146 #define ASRCFG_PREMODi_MASK(i) (((1 << ASRCFG_PREMODi_WIDTH) - 1) << ASRCFG_PREMODi_SHIFT(i)) 156 #define ASRCSR_AxCSi_MASK ((1 << ASRCSR_AxCSi_WIDTH) - 1) 158 #define ASRCSR_AOCSi_MASK(i) (((1 << ASRCSR_AxCSi_WIDTH) - [all...] |
/linux/arch/arm64/boot/dts/freescale/ |
H A 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 …]
|
H A D | imx8-ss-audio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-clock.h> 8 #include <dt-bindings/clock/imx8-lpcg.h> 9 #include <dt-bindings/dma/fsl-edma.h> 10 #include <dt-bindings/firmware/imx/rsrc.h> 12 audio_ipg_clk: clock-audio-ipg { 13 compatible = "fixed-clock"; 14 #clock-cells = <0>; 15 clock-frequency = <120000000>; [all …]
|
H A D | imx8mn-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/usb/pd.h> 11 stdout-path = &uart2; 14 gpio-leds { 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led>; 22 default-state = "on"; 26 hdmi-connector { 27 compatible = "hdmi-connector"; [all …]
|
H A D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 24 stdout-path = &lpuart0; 27 imx8dxl-cm4 { 28 compatible = "fsl,imx8qxp-cm4"; 30 mbox-names = "tx", "rx", "rxdb"; 32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, 34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; 35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>; [all …]
|
H A D | imx8mn-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 dmic_codec: dmic-codec { 8 compatible = "dmic-codec"; 9 num-channels = <1>; 10 #sound-dai-cells = <0>; 14 compatible = "gpio-leds"; 16 led-0 { 19 default-state = "off"; 22 led-1 { 25 default-state = "off"; [all …]
|
H A D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|
H A D | imx8mn.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mn-clock.h> 7 #include <dt-bindings/power/imx8mn-power.h> 8 #include <dt-bindings/reset/imx8mq-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 14 #include "imx8mn-pinfunc.h" 17 interrupt-parent = <&gic>; [all …]
|
H A D | imx8mp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mp-clock.h> 7 #include <dt-bindings/power/imx8mp-power.h> 8 #include <dt-bindings/reset/imx8mp-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interconnect/fsl,imx8mp.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 15 #include "imx8mp-pinfunc.h" [all …]
|
/linux/sound/soc/sof/ |
H A D | ipc3-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 #include "sof-priv.h" 13 #include "sof-audio.h" 14 #include "ipc3-priv.h" 138 /* ASRC */ 334 [SOF_ASRC_TOKENS] = {"ASRC tokens", asrc_tokens, ARRAY_SIZE(asrc_tokens)}, 354 * sof_comp_alloc - allocate and initialize buffer for a new component 367 size_t ext_size = sizeof(swidget->uuid); in sof_comp_alloc() 369 /* only non-zero UUID is valid */ in sof_comp_alloc() 370 if (!guid_is_null(&swidget->uuid)) in sof_comp_alloc() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6sx-sabreauto.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 11 compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx"; 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_led>; 23 led-user { 26 linux,default-trigger = "heartbeat"; 30 vcc_sd3: regulator-vcc-sd3 { 31 compatible = "regulator-fixed"; [all …]
|
H A D | imx6qdl-sabreauto.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 11 stdout-path = &uart4; 20 compatible = "gpio-leds"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_gpio_leds>; 24 led-user { 30 gpio-keys { 31 compatible = "gpio-keys"; [all …]
|
H A 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 …]
|
/linux/sound/soc/codecs/ |
H A D | tscs454.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs454.c -- TSCS454 ALSA SoC Audio driver 21 #include <sound/soc-dapm.h> 50 pll->id = id; in pll_init() 51 mutex_init(&pll->lock); in pll_init() 66 aif->id = id; in aif_init() 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 91 mutex_init(&ram->lock); in coeff_ram_init() 103 status->streams |= mask; in set_aif_status_active() [all …]
|
H A D | tlv320dac33.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <sound/tlv320dac33-plat.h> 49 (((samples)*5000) / (((burstrate)*5000) / ((burstrate) - (playrate)))) 115 0x00, 0x00, 0x00, 0x00, /* 0x00 - 0x03 */ 116 0x00, 0x00, 0x00, 0x00, /* 0x04 - 0x07 */ 117 0x00, 0x00, 0x00, 0x00, /* 0x08 - 0x0b */ 118 0x00, 0x00, 0x00, 0x00, /* 0x0c - 0x0f */ 119 0x00, 0x00, 0x00, 0x00, /* 0x10 - 0x13 */ 120 0x00, 0x00, 0x00, 0x00, /* 0x14 - 0x17 */ 121 0x00, 0x00, 0x00, 0x00, /* 0x18 - 0x1b */ [all …]
|
/linux/drivers/clk/imx/ |
H A D | clk-imx8mp-audiomix.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/clk-provider.h> 19 #include <dt-bindings/clock/imx8mp-clock.h> 175 u8 width; member 180 CLK_GATE("asrc", ASRC_IPG), 254 if (!of_property_present(dev->of_node, "#reset-cells")) in clk_imx8mp_audiomix_reset_controller_register() 259 return -ENOMEM; in clk_imx8mp_audiomix_reset_controller_register() 261 adev->name = "reset"; in clk_imx8mp_audiomix_reset_controller_register() 262 adev->dev.parent = dev; in clk_imx8mp_audiomix_reset_controller_register() 263 adev->dev.release = clk_imx8mp_audiomix_reset_adev_release; in clk_imx8mp_audiomix_reset_controller_register() [all …]
|
H A D | clk-imx6q.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011-2013 Freescale Semiconductor, Inc. 12 #include <linux/clk-provider.h> 15 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 20 #include <dt-bindings/clock/imx6qdl-clock.h> 75 "uart_serial", "spdif", "asrc", "hsi_tx", 154 return -ENOENT; in ldb_di_sel_by_clock_id() 165 return -ENOENT; in ldb_di_sel_by_clock_id() 177 num_parents = of_count_phandle_with_args(node, "assigned-clock-parents", in of_assigned_ldb_sels() 178 "#clock-cells"); in of_assigned_ldb_sels() [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra194-p3509-0000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/gpio/tegra194-gpio.h> 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 19 #address-cells = <1>; 20 #size-cells = <0>; 26 remote-endpoint = <&xbar_i2s3_ep>; 34 dai-format = "i2s"; 45 #address-cells = <1>; 46 #size-cells = <0>; [all …]
|
H A D | tegra194-p2972-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 7 #include "tegra194-p2888.dtsi" 11 compatible = "nvidia,p2972-0000", "nvidia,tegra194"; 24 #address-cells = <1>; 25 #size-cells = <0>; 31 remote-endpoint = <&xbar_i2s1_ep>; 39 dai-format = "i2s"; [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun20i-d1.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 26 #include "ccu-sun20i-d1.h" 43 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-cpux", osc24M, 59 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-ddr0", osc24M, 73 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-periph0-4x", osc24M, 82 static SUNXI_CCU_M_HWS(pll_periph0_2x_clk, "pll-periph0-2x", 84 static SUNXI_CCU_M_HWS(pll_periph0_800M_clk, "pll-periph0-800M", 90 static CLK_FIXED_FACTOR_HWS(pll_periph0_clk, "pll-periph0", 94 static CLK_FIXED_FACTOR_HWS(pll_periph0_div3_clk, "pll-periph0-div3", [all …]
|