/linux/Documentation/devicetree/bindings/sound/ |
H A D | realtek,rt5645.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 16 * DMIC L1 17 * DMIC R1 18 * DMIC L2 19 * DMIC R2 35 - $ref: dai-common.yaml# 40 - realtek,rt5645 [all …]
|
/linux/sound/soc/codecs/ |
H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
H A D | mt6358.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6358.c -- mt6358 ALSA SoC audio codec driver 54 /* Supply widget subseq */ 107 priv->mtkaif_protocol = mtkaif_protocol; in mt6358_set_mtkaif_protocol() 115 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set() 117 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set() 119 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set() 130 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset() 132 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset() 134 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset() [all …]
|
H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
H A D | tlv320aic3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * --------------------------------------- 17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A 18 * | IN1L -> LINE1L 19 * | IN1R -> LINE1R 20 * | IN2L -> LINE2L 21 * | IN2R -> LINE2R 22 * | MIC3L/R -> N/A 25 * --------------------------------------- 89 /* Output Common-Mode Voltage */ [all …]
|
H A D | rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5645.c -- RT5645 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 41 static unsigned int quirk = -1; 438 /* Some (package) variants have the headset-mic pin not-connecte [all...] |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 # setting - SPI can't be modular so that case doesn't need to be covered. 489 tristate "Analog Devices AU1761 CODEC - I2C" 495 tristate "Analog Devices AU1761 CODEC - SPI" 532 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter" 538 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode" 541 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM 547 will be called snd-soc-adau7118-hw. 550 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C" 555 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM [all …]
|
H A D | wcd939x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 26 #include <sound/soc-dapm.h> 31 #include "wcd-clsh-v2.h" 32 #include "wcd-mbhc-v2.h" 60 #define WCD_VOUT_CTL_TO_MICB(v) (1000 + (v) * 50) argument 217 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800); 421 port_num = ch_info->port_num; in wcd939x_sdw_connect_port() 422 ch_mask = ch_info->ch_mask; in wcd939x_sdw_connect_port() [all …]
|
H A D | wcd938x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 21 #include <sound/soc-dapm.h> 24 #include "wcd-clsh-v2.h" 25 #include "wcd-mbhc-v2.h" 193 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800); 194 static const DECLARE_TLV_DB_SCALE(line_gain, -3000, 150, 0); 350 struct regmap *rm = wcd938x->regmap; in wcd938x_io_init() 409 port_num = ch_info->port_num; in wcd938x_sdw_connect_port() 410 ch_mask = ch_info->ch_mask; in wcd938x_sdw_connect_port() [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a779g0-white-hawk-ard-audio-da7212.dtso | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the White Hawk board with ARD-AUDIO-DA7212 Board 5 * You can find and buy "ARD-AUDIO-DA7212" at Digi-Key 7 * https://www.digikey.jp/en/products/detail/ARD-AUDIO-DA7212/1564-1021-ND/5456357 14 * White Hawk ARD-AUDIO-DA7212 15 * +----------------------------+ 19 * | AUDIO_CLKIN_V pin1 |<--\ +---------------+ 20 * |(*) GP1_25/SL_SW2_V pin2 |<--/ |J2 | 21 * | AUDIO_CLKOUT_V pin5 |<----->| pin7 MCLK | 22 * | SSI_SCK_V pin9 |<----->| pin1 BCLK | [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-ab8500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/clock/ste-ab8500.h> 10 iio-hwmon { 11 compatible = "iio-hwmon"; 12 io-channels = <&gpadc 0x02>, /* Battery temperature */ 27 interrupt-parent = <&intc>; 29 interrupt-controller; 30 #interrupt-cells = <2>; 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
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 | imx8mm-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 dmic_codec: dmic-codec { 11 compatible = "dmic-codec"; 12 num-channels = <1>; 13 #sound-dai-cells = <0>; 17 compatible = "gpio-leds"; 22 default-state = "off"; 28 default-state = "off"; 34 default-state = "off"; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-pompom.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor.dtsi" 9 #include "sc7180-trogdor-clamshell.dtsi" 10 #include "sc7180-trogdor-rt5682i-sku.dtsi" 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi" 14 thermal-zones { 15 5v-choke-thermal { 16 thermal-sensors = <&pm6150_adc_tm 1>; 19 5v-choke-crit { 30 realtek,dmic-clk-driving-high; [all …]
|
H A D | x1e80100-crd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 #include "x1e80100-pmics.dtsi" 19 compatible = "qcom,x1e80100-crd", "qcom,x1e80100"; 25 wcd938x: audio-codec { [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
H A D | mt8186-corsola.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/regulator/mediatek,mt6397-regulator.h> 26 stdout-path = "serial0:115200n8"; 35 backlight_lcd0: backlight-lcd0 { 36 compatible = "pwm-backlight"; [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-odroidx.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel's Exynos4412 based ODROID-X board device tree source 7 * Device tree source file for Hardkernel's ODROID-X board which is based 11 /dts-v1/; 12 #include <dt-bindings/leds/common.h> 13 #include "exynos4412-odroid-common.dtsi" 16 model = "Hardkernel ODROID-X board based on Exynos4412"; 17 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4"; 29 compatible = "gpio-leds"; 34 default-state = "on"; [all …]
|
/linux/Documentation/devicetree/bindings/soc/tegra/ |
H A D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc 19 - nvidia,tegra124-pmc [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
H A D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
H A D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2371-2180.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra210-p2180.dtsi" 5 #include "tegra210-p2597.dtsi" 9 compatible = "nvidia,p2371-2180", "nvidia,tegra210"; 14 hvddio-pex-supply = <&vdd_1v8>; 15 dvddio-pex-supply = <&vdd_pex_1v05>; 16 vddio-pex-ctl-supply = <&vdd_1v8>; 19 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, 20 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>, [all …]
|
H A D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 hvddio-pex-supply = <&vdd_1v8>; 34 dvddio-pex-supply = <&vdd_pex_1v05>; 35 vddio-pex-ctl-supply = <&vdd_1v8>; [all …]
|