/Linux-v6.6/Documentation/devicetree/bindings/sound/ |
D | qcom,q6dsp-lpass-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 18 - qcom,q6afe-dais 20 '#sound-dai-cells': 23 '#address-cells': 26 '#size-cells': 31 '^dai@[0-9]+$': [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | fsl,cpm1-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC CPM Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc885-tsa [all …]
|
/Linux-v6.6/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 14 #include "q6dsp-lpass-ports.h" 15 #include "q6dsp-common.h" 41 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 42 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 44 slim->sample_rate = params_rate(params); in q6slim_hw_params() 49 slim->bit_width = 16; in q6slim_hw_params() 52 slim->bit_width = 24; in q6slim_hw_params() 55 slim->bit_width = 32; in q6slim_hw_params() [all …]
|
/Linux-v6.6/sound/soc/codecs/ |
D | ak4613.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ak4613.c -- Asahi Kasei ALSA Soc Audio driver 14 * +-------+ 16 * SDTO1 <-| | 18 * SDTI1 ->| | 19 * SDTI2 ->| | 20 * SDTI3 ->| | 21 * +-------+ 23 * +---+ 66 * Tested TDM is very limited. [all …]
|
D | tas5720.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 17 #include <linux/delay.h> 22 #include <sound/soc-dapm.h> 37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 38 "pvdd", /* Class-D amp and analog power supply (connected). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() [all …]
|
D | rt5659.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver 13 #include <linux/delay.h> 25 #include <sound/soc-dapm.h> 1136 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0); 1137 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 1138 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 1139 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 1140 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 1142 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); [all …]
|
D | ssm3515.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 101 // The specced range is -71.25...24.00 dB with step size of 0.375 dB, 102 // and a mute item below that. This is represented by -71.62...24.00 dB 104 static DECLARE_TLV_DB_MINMAX_MUTE(ssm3515_dac_volume, -7162, 2400); 141 dev_err(component->dev, "device reports:%s%s%s%s%s%s%s\n", in ssm3515_read_faults() 145 FIELD_GET(SSM3515_STATUS_AMP_OC, ret) ? " amp over-current fault" : "", in ssm3515_read_faults() 161 /* Disable the 'master power-down' */ in ssm3515_probe() 174 ret = snd_soc_component_update_bits(dai->component, in ssm3515_mute() 187 struct snd_soc_component *component = dai->component; in ssm3515_hw_params() 202 return -EINVAL; in ssm3515_hw_params() [all …]
|
D | tas2552.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas2552.c - ALSA SoC Texas Instruments TAS2552 Mono Audio Amplifier 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com 26 #include <sound/soc-dapm.h> 28 #include <sound/tas2552-plat.h> 29 #include <dt-bindings/sound/tas2552.h> 83 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event() 144 if (!tas2552->component) in tas2552_sw_shutdown() 150 snd_soc_component_update_bits(tas2552->component, TAS2552_CFG_1, TAS2552_SWS, in tas2552_sw_shutdown() 158 struct tas2552_data *tas2552 = dev_get_drvdata(component->dev); in tas2552_setup_pll() [all …]
|
D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 13 #include <linux/delay.h> 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 57 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0, [all …]
|
D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 9 #include <linux/delay.h> 29 #include <sound/soc-dapm.h> 35 #include "rt5677-spi.h" 552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 553 * @rt5677: Private Data. 555 * @value: Address data. 563 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr() 566 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr() [all …]
|
D | tas6424.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier 5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 17 #include <linux/delay.h> 23 #include <sound/soc-dapm.h> 32 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 34 "pvdd", /* Class-D amp output FETs supply. */ 52 * DAC digital volumes. From -103.5 to 24 dB in 0.5 dB steps. Note that 53 * setting the gain below -100 dB (register value <0x7) is effectively a MUTE 56 static DECLARE_TLV_DB_SCALE(dac_tlv, -10350, 50, 0); [all …]
|
D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 /* codec private data */ 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ 105 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in ad193x_check_pll() 108 return !!ad193x->sysclk; in ad193x_check_pll() 131 switch (ad193x->type) { in ad193x_has_adc() 148 struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); in ad193x_mute() [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/amlogic/ |
D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b-odroid.dtsi" 14 dio2133: audio-amplifier-0 { 15 compatible = "simple-audio-amplifier"; 16 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 17 VCC-supply = <&vcc_5v>; 18 sound-name-prefix = "U19"; 22 hub_5v: regulator-hub_5v { 23 compatible = "regulator-fixed"; 24 regulator-name = "HUB_5V"; [all …]
|
D | meson-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 22 stdout-path = "serial0:115200n8"; 30 adc-keys { 31 compatible = "adc-keys"; 32 io-channels = <&saradc 2>; 33 io-channel-names = "buttons"; [all …]
|
/Linux-v6.6/sound/soc/sh/ |
D | ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * The SSI unit has only one physical data line, so full duplex is 19 * streams PCM data over the I2S lines and uses LRCK as a handshake 20 * signal. Can be used to send compressed data (AC3/DTS) to a DSP. 23 * useful to support TDM mode codecs like the AD1939 which have a 24 * fixed TDM slot size, regardless of sample resolution. 52 #define CR_PDTA (1 << 9) /* fifo data alignment */ 53 #define CR_DEL (1 << 8) /* delay data by 1 i2sclk */ 62 #define SSIREG(reg) (*(unsigned long *)(ssi->mmio + (reg))) 86 * track usage of the SSI; it is simplex-only so prevent attempts of [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/freescale/ |
D | imx8mm-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 9 #include <dt-bindings/usb/pd.h> 14 stdout-path = &uart2; 22 hdmi-connector { 23 compatible = "hdmi-connector"; 29 remote-endpoint = <&adv7535_out>; 35 compatible = "gpio-leds"; 36 pinctrl-names = "default"; [all …]
|
/Linux-v6.6/sound/soc/ti/ |
D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 19 #include <linux/delay.h> 39 #include "edma-pcm.h" 40 #include "sdma-pcm.h" 41 #include "udma-pcm.h" 42 #include "davinci-mcasp.h" 91 /* McASP specific data */ 136 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() [all …]
|
/Linux-v6.6/sound/soc/sh/rcar/ |
D | ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Renesas R-Car SSIU/SSI support 20 #include <linux/delay.h> 32 #define DIEN (1u << 24) /* Data Interrupt Enable */ 36 #define DWL_MASK (7u << 19) /* Data Word Length mask */ 37 #define DWL_8 (0u << 19) /* Data Word Length */ 38 #define DWL_16 (1u << 19) /* Data Word Length */ 39 #define DWL_18 (2u << 19) /* Data Word Length */ 40 #define DWL_20 (3u << 19) /* Data Word Length */ 41 #define DWL_22 (4u << 19) /* Data Word Length */ [all …]
|
/Linux-v6.6/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // ALSA SoC Audio Layer - Rockchip I2S/TDM Controller driver 5 // Author: Sugar Zhang <sugar.zhang@rock-chips.com> 9 #include <linux/clk-provider.h> 10 #include <linux/delay.h> 25 #define DRV_NAME "rockchip-i2s-tdm" 30 #define CLK_PPM_MIN -1000 117 clk_disable_unprepare(i2s_tdm->mclk_tx); in i2s_tdm_disable_unprepare_mclk() 118 clk_disable_unprepare(i2s_tdm->mclk_rx); in i2s_tdm_disable_unprepare_mclk() 119 if (i2s_tdm->mclk_calibrate) { in i2s_tdm_disable_unprepare_mclk() [all …]
|
/Linux-v6.6/sound/soc/sti/ |
D | sti_uniperif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/delay.h> 15 * User frame size shall be 2, 4, 6 or 8 32-bits words length 80 { .compatible = "st,stih407-uni-player-hdmi", 81 .data = &sti_uniplayer_hdmi 83 { .compatible = "st,stih407-uni-player-pcm-out", 84 .data = &sti_uniplayer_pcm_out 86 { .compatible = "st,stih407-uni-player-dac", 87 .data = &sti_uniplayer_dac 89 { .compatible = "st,stih407-uni-player-spdif", [all …]
|
/Linux-v6.6/drivers/gpu/drm/bridge/ |
D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 273 /* DDC I2C Data In count #1, default value: 0x00 */ 276 /* DDC I2C Data In count #2, default value: 0x00 */ 301 /* DDC I2C FIFO Data In/Out, default value: 0x00 */ 304 /* DDC I2C Data Out Counter, default value: 0x00 */ 309 /* DDC I2C Delay Count, default value: 0x14 */ 323 /* I2C Device Address re-assignment */ 349 /* TDM TX NUMBITS, default value: 0x0c */ 355 /* TDM TX NUMSPISYM, default value: 0x04 */ [all …]
|
/Linux-v6.6/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Driver for Microchip I2S Multi-channel controller 14 #include <linux/delay.h> 29 * ---- I2S Controller Register map ---- 75 * ---- Control Register (Write-only) ---- 86 * ---- Mode Register A (Read/Write) ---- 135 /* Number of TDM Channels - 1 */ 138 ((((ch) - 1) << 13) & MCHP_I2SMCC_MRA_NBCHAN_MASK) 145 /* TDM Frame Synchronization */ 169 * ---- Mode Register B (Read/Write) ---- [all …]
|
/Linux-v6.6/arch/riscv/boot/dts/starfive/ |
D | jh7110-starfive-visionfive-2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include "jh7110-pinfunc.h" 10 #include <dt-bindings/gpio/gpio.h> 26 stdout-path = "serial0:115200n8"; 30 timebase-frequency = <4000000>; 38 gpio-restart { 39 compatible = "gpio-restart"; 46 clock-frequency = <74250000>; 50 clock-frequency = <125000000>; [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/mediatek/ |
D | mt8192-asurada.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/spmi/spmi.h> 25 stdout-path = "serial0:115200n8"; 33 backlight_lcd0: backlight-lcd0 { 34 compatible = "pwm-backlight"; 36 power-supply = <&ppvar_sys>; 37 enable-gpios = <&pio 152 0>; 38 brightness-levels = <0 1023>; [all …]
|