| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | qcom,q6afe.txt | 7 - compatible: 10 Definition: must be "qcom,q6afe-v<MAJOR-NUMBER>.<MINOR-NUMBER>" 20 - compatible: 23 Definition: must be "qcom,q6afe-dais" 25 - #sound-dai-cells 30 - #address-cells 35 - #size-cells 43 - reg 48 - qcom,sd-lines 50 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | pcm3168a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 111 static const char *const pcm3168a_con[] = { "Differential", "Single-Ended" }; 129 /* -100db to 0db, register values 0-54 cause mute */ 130 static const DECLARE_TLV_DB_SCALE(pcm3168a_dac_tlv, -10050, 50, 1); 132 /* -100db to 20db, register values 0-14 cause mute */ 133 static const DECLARE_TLV_DB_SCALE(pcm3168a_adc_tlv, -10050, 50, 1); 136 SOC_SINGLE("DAC Power-Save Switch", PCM3168A_DAC_PWR_MST_FMT, 138 SOC_ENUM("DAC1 Digital Filter roll-off", pcm3168a_d1_roll_off), 139 SOC_ENUM("DAC2 Digital Filter roll-off", pcm3168a_d2_roll_off), 140 SOC_ENUM("DAC3 Digital Filter roll-off", pcm3168a_d3_roll_off), [all …]
|
| D | cs4234.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // cs4234.c -- ALSA SoC CS4234 driver 44 /* -89.92dB to +6.02dB with step of 0.38dB */ 45 static const DECLARE_TLV_DB_SCALE(dac_tlv, -8992, 38, 0); 96 regmap_read(cs4234->regmap, CS4234_ADC_CTRL2, &val); in cs4234_dac14_grp_delay_put() 98 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 99 dev_err(component->dev, "Can't change group delay while ADC are ON\n"); in cs4234_dac14_grp_delay_put() 103 regmap_read(cs4234->regmap, CS4234_DAC_CTRL4, &val); in cs4234_dac14_grp_delay_put() 105 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 106 dev_err(component->dev, "Can't change group delay while DAC are ON\n"); in cs4234_dac14_grp_delay_put() [all …]
|
| D | tlv320aic3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * --------------------------------------- 18 * MONO_LOUT -> N/A | MONO_LOUT -> N/A 19 * | IN1L -> LINE1L 20 * | IN1R -> LINE1R 21 * | IN2L -> LINE2L 22 * | IN2R -> LINE2R 23 * | MIC3L/R -> N/A 26 * --------------------------------------- 93 /* Output Common-Mode Voltage */ [all …]
|
| D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 63 { 0x23, 0x00 }, /* 23 TDM Format 1*/ 64 { 0x24, 0x00 }, /* 24 TDM Format 2*/ 231 { 0xC1, 0x00 }, /* C1 Record TDM Slot */ 280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 284 dev_err(max98090->component->dev, in max98090_reset() 301 -600, 600, 0); [all …]
|
| D | madera.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and 18 #include <linux/irqchip/irq-madera.h> 22 #include <sound/madera-pdata.h> 24 #include <dt-bindings/sound/madera.h> 143 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 145 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 147 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 150 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) 152 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) [all …]
|
| D | tscs454.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs454.c -- TSCS454 ALSA SoC Audio driver 21 #include <sound/soc-dapm.h> 50 pll->id = id; in pll_init() 51 mutex_init(&pll->lock); in pll_init() 66 aif->id = id; in aif_init() 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 91 mutex_init(&ram->lock); in coeff_ram_init() 103 status->streams |= mask; in set_aif_status_active() [all …]
|
| D | wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() 126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | pcm3168a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 109 static const char *const pcm3168a_con[] = { "Differential", "Single-Ended" }; 127 /* -100db to 0db, register values 0-54 cause mute */ 128 static const DECLARE_TLV_DB_SCALE(pcm3168a_dac_tlv, -10050, 50, 1); 130 /* -100db to 20db, register values 0-14 cause mute */ 131 static const DECLARE_TLV_DB_SCALE(pcm3168a_adc_tlv, -10050, 50, 1); 134 SOC_SINGLE("DAC Power-Save Switch", PCM3168A_DAC_PWR_MST_FMT, 136 SOC_ENUM("DAC1 Digital Filter roll-off", pcm3168a_d1_roll_off), 137 SOC_ENUM("DAC2 Digital Filter roll-off", pcm3168a_d2_roll_off), 138 SOC_ENUM("DAC3 Digital Filter roll-off", pcm3168a_d3_roll_off), [all …]
|
| D | cs4234.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // cs4234.c -- ALSA SoC CS4234 driver 44 /* -89.92dB to +6.02dB with step of 0.38dB */ 45 static const DECLARE_TLV_DB_SCALE(dac_tlv, -8992, 38, 0); 96 regmap_read(cs4234->regmap, CS4234_ADC_CTRL2, &val); in cs4234_dac14_grp_delay_put() 98 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 99 dev_err(component->dev, "Can't change group delay while ADC are ON\n"); in cs4234_dac14_grp_delay_put() 103 regmap_read(cs4234->regmap, CS4234_DAC_CTRL4, &val); in cs4234_dac14_grp_delay_put() 105 ret = -EBUSY; in cs4234_dac14_grp_delay_put() 106 dev_err(component->dev, "Can't change group delay while DAC are ON\n"); in cs4234_dac14_grp_delay_put() [all …]
|
| 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 …]
|
| D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 62 { 0x23, 0x00 }, /* 23 TDM Format 1*/ 63 { 0x24, 0x00 }, /* 24 TDM Format 2*/ 230 { 0xC1, 0x00 }, /* C1 Record TDM Slot */ 279 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 280 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() 283 dev_err(max98090->component->dev, in max98090_reset() 300 -600, 600, 0); [all …]
|
| D | madera.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // Copyright (C) 2015-2019 Cirrus Logic, Inc. and 18 #include <linux/irqchip/irq-madera.h> 22 #include <sound/madera-pdata.h> 24 #include <dt-bindings/sound/madera.h> 143 dev_err(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 145 dev_warn(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 147 dev_dbg(_fll->madera->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__) 150 dev_err(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) 152 dev_warn(_dai->dev, "AIF%d: " fmt, _dai->id, ##__VA_ARGS__) [all …]
|
| D | tscs454.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs454.c -- TSCS454 ALSA SoC Audio driver 21 #include <sound/soc-dapm.h> 50 pll->id = id; in pll_init() 51 mutex_init(&pll->lock); in pll_init() 66 aif->id = id; in aif_init() 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 91 mutex_init(&ram->lock); in coeff_ram_init() 103 status->streams |= mask; in set_aif_status_active() [all …]
|
| D | wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() 126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() [all …]
|
| /kernel/linux/linux-5.10/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. 18 .stream_name = pre" TDM"#num" Playback", \ 39 .stream_name = pre" TDM"#num" Capture", \ 122 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 123 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 125 slim->sample_rate = params_rate(params); in q6slim_hw_params() 130 slim->bit_width = 16; in q6slim_hw_params() 133 slim->bit_width = 24; in q6slim_hw_params() 136 slim->bit_width = 32; in q6slim_hw_params() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/stm/ |
| D | stm32_sai_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 10 #include <linux/clk-provider.h> 41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK) 42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE) 47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID) 48 #define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID) 49 #define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B") 55 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) 56 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm) [all …]
|
| /kernel/linux/linux-6.6/sound/soc/stm/ |
| D | stm32_sai_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 10 #include <linux/clk-provider.h> 41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK) 42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE) 47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID) 53 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) 54 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm) 55 #define STM_SAI_HAS_PDM(x) ((x)->pdata->conf.has_spdif_pdm) 56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4(sai->pdata)) [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sunxi/ |
| D | sun4i-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Maxime Ripard <maxime.ripard@free-electrons.com> 22 #include <sound/soc-dai.h> 82 #define SUN4I_I2S_CHAN_SEL(num_chan) (((num_chan) - 1) << 0) 90 /* Defines required for sun8i-h3 support */ 103 #define SUN8I_I2S_FMT0_LRCK_PERIOD(period) ((period - 1) << 8) 113 #define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(chan) ((chan - 1) << 4) 115 #define SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM(chan) (chan - 1) 122 #define SUN8I_I2S_TX_CHAN_EN(num_chan) (((1 << num_chan) - 1) << 4) 130 * struct sun4i_i2s_quirks - Differences between SoC variants. [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sunxi/ |
| D | sun4i-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Maxime Ripard <maxime.ripard@free-electrons.com> 22 #include <sound/soc-dai.h> 85 #define SUN4I_I2S_CHAN_SEL(num_chan) (((num_chan) - 1) << 0) 93 /* Defines required for sun8i-h3 support */ 106 #define SUN8I_I2S_FMT0_LRCK_PERIOD(period) ((period - 1) << 8) 119 #define SUN8I_I2S_CHAN_CFG_RX_SLOT_NUM(chan) ((chan - 1) << 4) 121 #define SUN8I_I2S_CHAN_CFG_TX_SLOT_NUM(chan) (chan - 1) 128 #define SUN8I_I2S_TX_CHAN_EN(num_chan) (((1 << num_chan) - 1) << 4) 133 /* Defines required for sun50i-h6 support */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 66 * (bit-endianness must match byte-endianness). Processors typically write 68 * written in. So if the host CPU is big-endian, then only big-endian 91 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 52 #include "imx-pcm.h" 54 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 65 * (bit-endianness must match byte-endianness). Processors typically write 67 * written in. So if the host CPU is big-endian, then only big-endian 90 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS 91 * - Also have NB_NF to mark these two clocks will not be inverted [all …]
|
| /kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
| D | linux-5.10.patch | 1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile 2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800 3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800 4 @@ -16,6 +16,7 @@ 12 @@ -24,10 +25,12 @@ 13 ZRELADDR := $(zreladdr-y) 14 PARAMS_PHYS := $(params_phys-y) 15 INITRD_PHYS := $(initrd_phys-y) 16 +DTB_OBJS ?= $(dtb-y) 21 -targets := Image zImage xipImage bootpImage uImage [all …]
|