Home
last modified time | relevance | path

Searched +full:codec +full:- +full:mclk1 (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dtscs454.txt1 TSCS454 Audio CODEC
5 - compatible : "tempo,tscs454"
7 - reg : <0x69>
9 - clock-names: Must one of the following "xtal", "mclk1", "mclk2"
11 - clocks: phandle of the clock that provides the codec sysclk
17 redwood: codec@69 {
18 #sound-dai-cells = <1>;
21 clock-names = "mclk1";
Dtscs42xx.txt1 TSCS42XX Audio CODEC
5 - compatible : "tempo,tscs42A1" for analog mic
8 - reg : <0x71> for analog mic
11 - clock-names: Must one of the following "mclk1", "xtal", "mclk2"
13 - clocks: phandle of the clock that provides the codec sysclk
17 wookie: codec@69 {
20 clock-names = "xtal";
Dfsl-sai.txt6 codec/DSP interfaces.
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
20 "mclk1", "mclk2", "mclk3" for bit clock and frame
22 - dmas : Generic dma devicetree binding as described in
[all …]
Dwm8994.txt1 WM1811/WM8994/WM8958 audio CODEC
8 - compatible : One of "wlf,wm1811", "wlf,wm8994" or "wlf,wm8958".
10 - reg : the I2C address of the device for I2C, the chip select
13 - gpio-controller : Indicates this device is a GPIO controller.
14 - #gpio-cells : Must be 2. The first cell is the pin number and the
17 - power supplies for the device, as covered in
20 - for wlf,wm1811 and wlf,wm8958:
21 AVDD1-supply, AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply,
22 DCVDD-supply, CPVDD-supply, SPKVDD1-supply, SPKVDD2-supply
23 - for wlf,wm8994:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
17 - $ref: /schemas/sound/wlf,arizona.yaml#
18 - $ref: /schemas/regulator/wlf,arizona.yaml#
19 - $ref: /schemas/extcon/wlf,arizona.yaml#
20 - if:
25 - cirrus,cs47l24
26 - wlf,wm1831
[all …]
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus Logic Madera class audio CODECs Multi-Functional Device
10 - patches@opensource.cirrus.com
23 - $ref: /schemas/pinctrl/cirrus,madera.yaml#
24 - $ref: /schemas/regulator/wlf,arizona.yaml#
25 - $ref: /schemas/sound/cirrus,madera.yaml#
26 - if:
31 - cirrus,cs47l85
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dcirrus,lochnagar.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
14 Smart CODEC and Amp devices. It allows the connection of most Cirrus
15 Logic devices on mini-cards, as well as allowing connection of various
25 [1] Clock : ../clock/clock-bindings.txt
28 [2] include/dt-bindings/clock/lochnagar.h
36 - cirrus,lochnagar1-clk
37 - cirrus,lochnagar2-clk
[all …]
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
Dq6afe.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <dt-bindings/sound/qcom,q6afe.h>
121 /* Clock ID for MCLK1 */
129 /* Clock ID for Internal Digital Codec Core */
133 /* Clock ID for INT MCLK1 */
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos4412-itop-elite.dts1 // SPDX-License-Identifier: GPL-2.0
13 /dts-v1/;
14 #include <dt-bindings/pwm/pwm.h>
15 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos4412-itop-scp-core.dtsi"
20 compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4";
24 stdout-path = "serial2:115200n8";
28 compatible = "gpio-leds";
33 default-state = "off";
34 linux,default-trigger = "heartbeat";
[all …]
Dexynos5250-smdk5250.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/clock/maxim,max77686.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
29 stdout-path = "serial2:115200n8";
32 vdd: fixed-regulator-vdd {
33 compatible = "regulator-fixed";
34 regulator-name = "vdd-supply";
35 regulator-min-microvolt = <1800000>;
[all …]
Dexynos5250-arndale.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/sound/samsung-i2s.h>
27 stdout-path = "serial2:115200n8";
31 compatible = "gpio-keys";
34 label = "SW-TACT2";
[all …]
Dtegra124-apalis-v1.2.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2018 Toradex AG
7 #include "tegra124-apalis-emc.dtsi"
21 avddio-pex-supply = <&reg_1v05_vdd>;
22 avdd-pex-pll-supply = <&reg_1v05_vdd>;
23 avdd-pll-erefe-supply = <&reg_1v05_avdd>;
24 dvddio-pex-supply = <&reg_1v05_vdd>;
25 hvdd-pex-pll-e-supply = <&reg_module_3v3>;
26 hvdd-pex-supply = <&reg_module_3v3>;
27 vddio-pex-ctl-supply = <&reg_module_3v3>;
[all …]
Dtegra124-apalis.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
7 #include "tegra124-apalis-emc.dtsi"
20 avddio-pex-supply = <&reg_1v05_vdd>;
21 avdd-pex-pll-supply = <&reg_1v05_vdd>;
22 avdd-pll-erefe-supply = <&reg_1v05_avdd>;
23 dvddio-pex-supply = <&reg_1v05_vdd>;
24 hvdd-pex-pll-e-supply = <&reg_module_3v3>;
25 hvdd-pex-supply = <&reg_module_3v3>;
26 vddio-pex-ctl-supply = <&reg_module_3v3>;
[all …]
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Darndale.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <sound/soc-dapm.h>
75 * samsung/clk-exynos5250.c for list of available EPLL rates). in arndale_wm1811_hw_params()
76 * The CODEC uses clk API and the value will be rounded hence the MCLK1 in arndale_wm1811_hw_params()
89 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5631-aif1")),
106 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
141 of_node_put(dai_link->cpus->of_node); in arndale_put_of_nodes()
142 of_node_put(dai_link->codecs->of_node); in arndale_put_of_nodes()
148 struct device_node *np = pdev->dev.of_node; in arndale_audio_probe()
153 card = (struct snd_soc_card *)of_device_get_match_data(&pdev->dev); in arndale_audio_probe()
[all …]
Dmidas_wm1811.c1 // SPDX-License-Identifier: GPL-2.0+
17 #include <sound/soc-dapm.h>
23 * The MCLK1 clock source is XCLKOUT with its mux set to the external fixed rate
42 struct snd_soc_card *card = rtd->card; in midas_start_fll1()
49 rate = priv->fll1_rate; in midas_start_fll1()
57 if (rate != priv->fll1_rate && priv->fll1_rate) { in midas_start_fll1()
62 dev_err(card->dev, "Unable to switch to MCLK2: %d\n", ret); in midas_start_fll1()
70 dev_err(card->dev, "Failed to set FLL1 rate: %d\n", ret); in midas_start_fll1()
73 priv->fll1_rate = rate; in midas_start_fll1()
76 priv->fll1_rate, SND_SOC_CLOCK_IN); in midas_start_fll1()
[all …]
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
100 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
103 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
107 time_left_ms -= 20; in headset_det_irq_thread()
111 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
115 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
117 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
129 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
135 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and
21 #include <linux/pinctrl/pinconf-generic.h>
27 #include <dt-bindings/pinctrl/lochnagar.h>
29 #include "../pinctrl-utils.h"
33 #define LN_CDC_AIF1_STR "codec-aif1"
34 #define LN_CDC_AIF2_STR "codec-aif2"
35 #define LN_CDC_AIF3_STR "codec-aif3"
36 #define LN_DSP_AIF1_STR "dsp-aif1"
37 #define LN_DSP_AIF2_STR "dsp-aif2"
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-audmix.c1 // SPDX-License-Identifier: GPL-2.0
9 * https://www.opensource.org/licenses/gpl-license.html
17 #include <sound/soc-dapm.h>
48 struct imx_audmix *priv = snd_soc_card_get_drvdata(rtd->card); in imx_audmix_fe_startup()
49 struct snd_pcm_runtime *runtime = substream->runtime; in imx_audmix_fe_startup()
50 struct device *dev = rtd->card->dev; in imx_audmix_fe_startup()
51 unsigned long clk_rate = clk_get_rate(priv->cpu_mclk); in imx_audmix_fe_startup()
77 struct device *dev = rtd->card->dev; in imx_audmix_fe_hw_params()
78 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in imx_audmix_fe_hw_params()
104 ret = snd_soc_dai_set_tdm_slot(asoc_rtd_to_cpu(rtd, 0), BIT(channels) - 1, in imx_audmix_fe_hw_params()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcs42l73.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ALSA SoC CS42L73 codec driver
15 /* I2C Address: 1001010[R/W] - 10010100 = 0x94(Write); 10010101 = 0x95(Read) */
172 /* CS42L73 MCLK derived from MCLK1 or MCLK2 */
203 /* Misc defines for codec */
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8mq.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
7 #include <dt-bindings/clock/imx8mq-clock.h>
8 #include <dt-bindings/power/imx8mq-power.h>
9 #include <dt-bindings/reset/imx8mq-reset.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include "dt-bindings/input/input.h"
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/thermal/thermal.h>
14 #include "imx8mq-pinfunc.h"
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dmadera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2018 Cirrus Logic
48 .name = "madera-ldo1",
60 { .name = "madera-pinctrl", },
61 { .name = "madera-irq", },
62 { .name = "madera-gpio", },
64 .name = "madera-extcon",
69 .name = "cs47l15-codec",
84 { .name = "madera-pinctrl", },
85 { .name = "madera-irq", },
[all …]
Darizona-core.c1 // SPDX-License-Identifier: GPL-2.0-only
41 mutex_lock(&arizona->clk_lock); in arizona_clk32k_enable()
43 arizona->clk32k_ref++; in arizona_clk32k_enable()
45 if (arizona->clk32k_ref == 1) { in arizona_clk32k_enable()
46 switch (arizona->pdata.clk32k_src) { in arizona_clk32k_enable()
48 ret = pm_runtime_get_sync(arizona->dev); in arizona_clk32k_enable()
51 ret = clk_prepare_enable(arizona->mclk[ARIZONA_MCLK1]); in arizona_clk32k_enable()
53 pm_runtime_put_sync(arizona->dev); in arizona_clk32k_enable()
58 ret = clk_prepare_enable(arizona->mclk[ARIZONA_MCLK2]); in arizona_clk32k_enable()
64 ret = regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_clk32k_enable()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/
Dexynos5433-tm2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/sound/samsung-i2s.h>
48 stdout-path = &serial_1;
56 gpio-keys {
57 compatible = "gpio-keys";
[all …]

12