/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra20-ac97.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <treding@nvidia.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 const: nvidia,tegra20-ac97 23 reset-names: 35 dma-names: 37 - const: rx [all …]
|
H A D | cirrus,cs4271.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 CS4271 audio CODEC 10 - Alexander Sverdlin <alexander.sverdlin@gmail.com> 11 - Nikita Shubin <nikita.shubin@maquefel.me> 14 The CS4271 is a stereo audio codec. This device supports both the I2C 18 - $ref: dai-common.yaml# 19 - $ref: /schemas/spi/spi-peripheral-props.yaml# 28 spi-cpha: true [all …]
|
H A D | infineon,peb2466.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: Infineon PEB2466 codec 10 - Herve Codina <herve.codina@bootlin.com> 13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes 19 that involve the codec. The codec uses one 8bit time-slot per channel. [all …]
|
H A D | ti,tlv320aic3x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320AIC3x Codec 11 TLV320AIC3x are a series of low-power stereo audio codecs with stereo 13 single-ended or fully differential configurations. 16 data bus is programmable for I2S, left/right-justified, DSP, or TDM modes. 20 CODEC output pins: 29 CODEC input pins for TLV320AIC3104: 35 CODEC input pins for other compatible codecs: [all …]
|
H A D | rockchip,rk3308-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3308-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip RK3308 Internal Codec 10 This is the audio codec embedded in the Rockchip RK3308 11 SoC. It has 8 24-bit ADCs and 2 24-bit DACs. The maximum supported 17 The RK3308 audio codec has 8 independent capture channels, but some 19 * grp 0 -- MIC1 / MIC2 20 * grp 1 -- MIC3 / MIC4 [all …]
|
H A D | cs42l52.txt | 1 CS42L52 audio CODEC 5 - compatible : "cirrus,cs42l52" 7 - reg : the I2C address of the device for I2C 11 - cirrus,reset-gpio : GPIO controller's phandle and the number 12 of the GPIO used to reset the codec. 14 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 21 - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured 23 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 25 - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured 27 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. [all …]
|
H A D | qcom,wcd9335.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: Qualcomm WCD9335 Audio Codec 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built 27 clock-names: 29 - const: mclk 30 - const: slimbus 35 interrupt-names: [all …]
|
H A D | ti,tlv320adc3xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ricard Wanderlof <ricardw@axis.com> 18 - $ref: dai-common.yaml# 23 - ti,tlv320adc3001 24 - ti,tlv320adc3101 30 '#sound-dai-cells': 33 '#gpio-cells': 36 gpio-controller: true [all …]
|
H A D | ti,tlv320dac3100.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: Texas Instruments - tlv320aic31xx Codec module 10 - Shenghao Ding <shenghao-ding@ti.com> 13 CODEC output pins: 21 CODEC input pins: 28 The pins can be used in referring sound node's audio-routing property. 33 - ti,tlv320aic310x # - Generic TLV320AIC31xx with mono speaker amp 34 - ti,tlv320aic311x # - Generic TLV320AIC31xx with stereo speaker amp [all …]
|
H A D | cs35l32.txt | 1 CS35L32 audio CODEC 5 - compatible : "cirrus,cs35l32" 7 - reg : the I2C address of the device for I2C. Address is determined by the level 10 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 16 deasserted before communication to the codec starts. 18 - cirrus,boost-manager : Boost voltage control. 19 0 = Automatically managed. Boost-converter output voltage is the higher 21 1 = Automatically managed irrespective of audio, adapting for low-power 22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode [all …]
|
H A D | realtek,rt5677.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: RT5677 audio CODEC 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 30 - $ref: dai-common.yaml# 42 gpio-controller: true 44 '#gpio-cells': 47 realtek,pow-ldo2-gpio: 49 description: CODEC's POW_LDO2 pin. [all …]
|
H A D | st,sta32x.txt | 1 STA32X audio CODEC 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 10 deasserted before communication to the codec starts. 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 13 it will be deasserted before communication to the codec 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | qcom,lcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm LPASS Clock & Reset Controller 10 - Bjorn Andersson <andersson@kernel.org> 15 - qcom,lcc-apq8064 16 - qcom,lcc-ipq8064 17 - qcom,lcc-mdm9615 18 - qcom,lcc-msm8960 23 clock-names: [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | lantiq,pef2256.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 20 - const: lantiq,pef2256 27 - description: Master Clock 28 - description: System Clock Receive 29 - description: System Clock Transmit 31 clock-names: 33 - const: mclk [all …]
|
/linux/include/linux/mfd/madera/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2015-2018 Cirrus Logic 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 15 #include <sound/madera-pdata.h> 26 * struct madera_pdata - Configuration data for Madera devices 28 * @reset: GPIO controlling /RESET (NULL = none) 34 * Documentation/driver-api/pin-control.rst) 38 * in the datasheet for the available values for your codec) 39 * @codec: Substruct of pdata for the ASoC codec driver [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | allwinner,sun8i-a23-prcm.yaml | 1 # SPDX-License-Identifier: GPL-2.0+ 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun8i-a23-prcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 17 const: allwinner,sun8i-a23-prcm 23 "^.*(clk|rst|codec).*$": 30 - fixed-factor-clock 31 - allwinner,sun8i-a23-apb0-clk [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hantro VPU codec driver 6 * Jeffy Chen <jeffy.chen@rock-chips.com> 431 clk_set_rate(vpu->clocks[0].clk, RK3066_ACLK_MAX_FREQ); in rk3036_vpu_hw_init() 438 clk_set_rate(vpu->clocks[0].clk, RK3066_ACLK_MAX_FREQ); in rk3066_vpu_hw_init() 439 clk_set_rate(vpu->clocks[2].clk, RK3066_ACLK_MAX_FREQ); in rk3066_vpu_hw_init() 446 clk_set_rate(vpu->clocks[0].clk, RK3588_ACLK_MAX_FREQ); in rk3588_vpu981_hw_init() 453 clk_set_rate(vpu->clocks[0].clk, RK3288_ACLK_MAX_FREQ); in rockchip_vpu_hw_init() 459 struct hantro_dev *vpu = ctx->dev; in rk3066_vpu_dec_reset() 467 struct hantro_dev *vpu = ctx->dev; in rockchip_vpu1_enc_reset() [all …]
|
/linux/sound/soc/codecs/ |
H A D | cs4271.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * CS4271 ASoC codec driver 7 * This driver support CS4271 codec being master or slave, working 9 * The data format accepted is I2S or left-justified. 130 * Default CS4271 power-up configuration 131 * Array contains non-existing in hw register at address 0 132 * Array do not include Chip ID, as codec driver does not use 159 /* Current sample rate for de-emphasis control */ 161 /* GPIO driving Reset pin, if any */ 162 struct gpio_desc *reset; member [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/sound/hda/ |
H A D | hdac_controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio controller helpers 19 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 25 dev_err(bus->dev, "CORB reset timeout#1, CORBRP = %d\n", in azx_clear_corbrp() 29 for (timeout = 1000; timeout > 0; timeout--) { in azx_clear_corbrp() 35 dev_err(bus->dev, "CORB reset timeout#2, CORBRP = %d\n", in azx_clear_corbrp() 40 * snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers 41 * @bus: HD-audio core bus 45 WARN_ON_ONCE(!bus->rb.area); in snd_hdac_bus_init_cmd_io() 47 spin_lock_irq(&bus->reg_lock); in snd_hdac_bus_init_cmd_io() [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb-p20x.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "videostrong,kii-pro", "amlogic,meson-gxbb"; 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; [all …]
|
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 …]
|
/linux/sound/soc/tegra/ |
H A D | tegra20_ac97.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra20_ac97.c - Tegra20 AC97 platform driver 22 #include <linux/reset.h> 32 #define DRV_NAME "tegra20-ac97" 42 * The reset line is not driven by DAC pad group, have to toggle GPIO. in tegra20_ac97_codec_reset() 43 * The RESET line is active low but this is abstracted by the GPIO in tegra20_ac97_codec_reset() 46 gpiod_set_value(workdata->reset_gpio, 1); in tegra20_ac97_codec_reset() 49 gpiod_set_value(workdata->reset_gpio, 0); in tegra20_ac97_codec_reset() 55 regmap_read(workdata->regmap, TEGRA20_AC97_STATUS1, &readback); in tegra20_ac97_codec_reset() 68 * although sync line is driven by the DAC pad group warm reset using in tegra20_ac97_codec_warm_reset() [all …]
|
/linux/include/sound/ |
H A D | hda_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Universal Interface for Intel High Definition Audio Codec 32 * codec bus 51 unsigned int allow_bus_reset:1; /* allow bus reset at fatal error */ 52 /* status for codec/controller */ 54 unsigned int response_reset:1; /* controller was reset */ 55 unsigned int in_reset:1; /* during reset operation */ 64 unsigned int mixer_assigned; /* codec addr for mixer name */ 71 * codec preset 105 int (*build_controls)(struct hda_codec *codec); [all …]
|
/linux/sound/pcmcia/vx/ |
H A D | vxp_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 return chip->port + vxp_reg_offset[reg]; in vxp_reg_addr() 45 * snd_vx_inb - read a byte from the register 54 * snd_vx_outb - write a byte on the register 73 * vx_check_magic - check the magic word on xilinx 87 dev_err(chip->card->dev, "cannot find xilinx magic word (%x)\n", c); in vx_check_magic() 88 return -EIO; in vx_check_magic() 93 * vx_reset_dsp - reset the DSP 102 /* set the reset dsp bit to 1 */ in vxp_reset_dsp() 103 vx_outb(chip, CDSP, chip->regCDSP | VXP_CDSP_DSP_RESET_MASK); in vxp_reset_dsp() [all …]
|