/linux/Documentation/devicetree/bindings/sound/ |
H A D | tscs454.txt | 1 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 D | tscs42xx.txt | 1 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 D | fsl,sai.yaml | 1 # 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 D | wlf,wm8994.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | wlf,arizona.yaml | 1 # 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 D | cirrus,madera.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | cirrus,lochnagar.yaml | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | cirrus,lochnagar.yaml | 1 # 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 …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 119 /* Clock ID for MCLK1 */ 127 /* Clock ID for Internal Digital Codec Core */ 131 /* Clock ID for INT MCLK1 */
|
/linux/sound/soc/samsung/ |
H A D | arndale.c | 1 // 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 D | midas_wm1811.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input-event-codes.h> 17 #include <sound/soc-dapm.h> 23 * The MCLK1 clock source is XCLKOUT with its mux set to the external fixed rate 75 struct snd_soc_component *codec = data; in headset_jack_check() local 76 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(codec); in headset_jack_check() 77 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_jack_check() 81 if (!gpiod_get_value_cansleep(priv->gpio_headset_detect)) in headset_jack_check() 85 ret = snd_soc_dapm_force_enable_pin(dapm, "headset-mic-bias"); in headset_jack_check() 96 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_jack_check() [all …]
|
H A D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/input-event-codes.h> 98 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread() 101 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() 105 time_left_ms -= 20; in headset_det_irq_thread() 109 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread() 113 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread() 115 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread() 127 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread() 133 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos850-pinctrl.dtsi | 1 // 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 …]
|
/linux/drivers/pinctrl/cirrus/ |
H A D | pinctrl-lochnagar.c | 1 // 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 …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-libretech-cottonwood.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/g12a-clkc.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 28 stdout-path = "serial0:115200n8"; 31 dioo2133: audio-amplifier-0 { [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-smdk5250.dts | 1 // 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 D | exynos5250-arndale.dts | 1 // 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 D | s5pv210-aries.dtsi | 1 // 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 …]
|
/linux/sound/soc/codecs/ |
H A D | cs42l73.h | 1 /* 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 */
|
/linux/drivers/mfd/ |
H A D | madera-core.c | 1 // 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 D | arizona-core.c | 1 // 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 …]
|
/linux/sound/soc/fsl/ |
H A D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #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 …]
|
/linux/arch/arm64/boot/dts/freescale/ |
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/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-apalis-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2018 Toradex AG 7 #include "tegra124-apalis-emc.dtsi" 21 avddio-pex-supply = <®_1v05_vdd>; 22 avdd-pex-pll-supply = <®_1v05_vdd>; 23 avdd-pll-erefe-supply = <®_1v05_avdd>; 24 dvddio-pex-supply = <®_1v05_vdd>; 25 hvdd-pex-pll-e-supply = <®_module_3v3>; 26 hvdd-pex-supply = <®_module_3v3>; 27 vddio-pex-ctl-supply = <®_module_3v3>; [all …]
|
H A D | tegra124-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Copyright 2016-2019 Toradex AG 7 #include "tegra124-apalis-emc.dtsi" 20 avddio-pex-supply = <®_1v05_vdd>; 21 avdd-pex-pll-supply = <®_1v05_vdd>; 22 avdd-pll-erefe-supply = <®_1v05_avdd>; 23 dvddio-pex-supply = <®_1v05_vdd>; 24 hvdd-pex-pll-e-supply = <®_module_3v3>; 25 hvdd-pex-supply = <®_module_3v3>; 26 vddio-pex-ctl-supply = <®_module_3v3>; [all …]
|