Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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";
H A 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";
H A Dfsl,sai.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
16 codec/DSP interfaces.
21 - items:
22 - enum:
23 - fsl,imx6ul-sai
24 - fsl,imx7d-sai
25 - const: fsl,imx6sx-sai
[all …]
H A Dwlf,wm8994.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - patches@opensource.cirrus.com
25 - wlf,wm1811
26 - wlf,wm8994
27 - wlf,wm8958
36 clock-names:
39 - const: MCLK1
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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/spi/spi-peripheral-props.yaml
18 - $ref: /schemas/sound/wlf,arizona.yaml#
19 - $ref: /schemas/regulator/wlf,arizona.yaml#
20 - $ref: /schemas/extcon/wlf,arizona.yaml#
21 - if:
26 - cirrus,cs47l24
[all …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A 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 …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A 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 */
/openbmc/linux/sound/soc/samsung/
H A 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 …]
H A Dmidas_wm1811.c1 // SPDX-License-Identifier: GPL-2.0+
18 #include <sound/soc-dapm.h>
24 * The MCLK1 clock source is XCLKOUT with its mux set to the external fixed rate
54 struct snd_soc_card *card = rtd->card; in midas_start_fll1()
61 rate = priv->fll1_rate; in midas_start_fll1()
69 if (rate != priv->fll1_rate && priv->fll1_rate) { in midas_start_fll1()
74 dev_err(card->dev, "Unable to switch to MCLK2: %d\n", ret); in midas_start_fll1()
82 dev_err(card->dev, "Failed to set FLL1 rate: %d\n", ret); in midas_start_fll1()
85 priv->fll1_rate = rate; in midas_start_fll1()
88 priv->fll1_rate, SND_SOC_CLOCK_IN); in midas_start_fll1()
[all …]
H A Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
4 #include <linux/input-event-codes.h>
99 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
102 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
106 time_left_ms -= 20; in headset_det_irq_thread()
110 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
114 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
116 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
128 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread()
134 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dsamsung,spi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
19 - enum:
20 - samsung,s3c2443-spi # for S3C2443, S3C2416 and S3C2450
21 - samsung,s3c6410-spi
22 - samsung,s5pv210-spi # for S5PV210 and S5PC110
23 - samsung,exynos4210-spi
24 - samsung,exynos5433-spi
[all …]
/openbmc/linux/arch/arm64/boot/dts/exynos/
H A Dexynos850-pinctrl.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos850 SoC pin-mux and pin-config device tree source
8 * Samsung's Exynos850 SoC pin-mux and pin-config options are listed as device
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include "exynos-pinctrl.h"
16 gpa0: gpa0-gpio-bank {
17 gpio-controller;
18 #gpio-cells = <2>;
20 interrupt-controller;
21 #interrupt-cells = <2>;
[all …]
/openbmc/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and
20 #include <linux/pinctrl/pinconf-generic.h>
29 #include <dt-bindings/pinctrl/lochnagar.h>
31 #include "../pinctrl-utils.h"
35 #define LN_CDC_AIF1_STR "codec-aif1"
36 #define LN_CDC_AIF2_STR "codec-aif2"
37 #define LN_CDC_AIF3_STR "codec-aif3"
38 #define LN_DSP_AIF1_STR "dsp-aif1"
39 #define LN_DSP_AIF2_STR "dsp-aif2"
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A 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>
31 stdout-path = "serial2:115200n8";
34 vdd: fixed-regulator-vdd {
35 compatible = "regulator-fixed";
36 regulator-name = "vdd-supply";
37 regulator-min-microvolt = <1800000>;
[all …]
H A 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>
32 stdout-path = "serial2:115200n8";
35 gpio-keys {
36 compatible = "gpio-keys";
[all …]
H A 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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 */
/openbmc/linux/sound/soc/fsl/
H A Dimx-card.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2021 NXP
15 #include <sound/soc-dapm.h>
55 * struct imx_card_plat_data - specific info for codecs
69 * @type: codec type
89 * struct dai_link_data - specific info for dai link
104 * struct imx_card_data - platform device data
143 * Table 13 - Audio Interface Format
154 * Table 7 - mapping multiplier and speed mode
155 * Tables 8 & 9 - mapping speed mode and LRCK fs
[all …]
/openbmc/linux/drivers/mfd/
H A Dmadera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2018 Cirrus Logic
50 .name = "madera-ldo1",
62 { .name = "madera-pinctrl", },
63 { .name = "madera-irq", },
64 { .name = "madera-gpio", },
66 .name = "madera-extcon",
71 .name = "cs47l15-codec",
86 { .name = "madera-pinctrl", },
87 { .name = "madera-irq", },
[all …]
H A Darizona-core.c1 // SPDX-License-Identifier: GPL-2.0-only
40 mutex_lock(&arizona->clk_lock); in arizona_clk32k_enable()
42 arizona->clk32k_ref++; in arizona_clk32k_enable()
44 if (arizona->clk32k_ref == 1) { in arizona_clk32k_enable()
45 switch (arizona->pdata.clk32k_src) { in arizona_clk32k_enable()
47 ret = pm_runtime_resume_and_get(arizona->dev); in arizona_clk32k_enable()
50 ret = clk_prepare_enable(arizona->mclk[ARIZONA_MCLK1]); in arizona_clk32k_enable()
52 pm_runtime_put_sync(arizona->dev); in arizona_clk32k_enable()
57 ret = clk_prepare_enable(arizona->mclk[ARIZONA_MCLK2]); in arizona_clk32k_enable()
63 ret = regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_clk32k_enable()
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/imx8mm-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/power/imx8mm-power.h>
11 #include <dt-bindings/reset/imx8mq-reset.h>
12 #include <dt-bindings/thermal/thermal.h>
14 #include "imx8mm-pinfunc.h"
17 interrupt-parent = <&gic>;
[all …]
H A 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 <dt-bindings/interconnect/imx8mq.h>
[all …]
H A Dimx8mp.dtsi1 // 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 …]

12