| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | adi,adau7118.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter 11 - Nuno Sá <nuno.sa@analog.com> 14 Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter over I2C or HW 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf 21 - adi,adau7118 26 "#sound-dai-cells": 29 iovdd-supply: [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | axg-pdm.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <linux/clk.h> 12 #include <sound/soc-dai.h> 53 #define PDM_CHAN_CTRL_POINTER_MAX ((1 << PDM_CHAN_CTRL_POINTER_WIDTH) - 1) 93 struct regmap *map; member 94 struct clk *dclk; 95 struct clk *sysclk; 96 struct clk *pclk; 99 static void axg_pdm_enable(struct regmap *map) in axg_pdm_enable() argument 102 regmap_update_bits(map, PDM_CTRL, PDM_CTRL_RST_FIFO, PDM_CTRL_RST_FIFO); in axg_pdm_enable() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | adau7118.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver 36 struct regmap *map; member 65 /* PDM Clocks */ 128 snd_soc_component_get_drvdata(dai->component); in adau7118_set_channel_map() 131 dev_dbg(st->dev, "Set channel map, %d", tx_num); in adau7118_set_channel_map() 134 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_channel_map() 148 snd_soc_component_get_drvdata(dai->component); in adau7118_set_fmt() 152 dev_dbg(st->dev, "Set format, fmt:%d\n", fmt); in adau7118_set_fmt() 156 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_fmt() [all …]
|
| D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ 170 static DECLARE_TLV_DB_SCALE(dre_thresh_tlv, -6600, 100, 0); [all …]
|
| D | rt5659.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver 9 #include <linux/clk.h> 26 #include <sound/soc-dapm.h> 1137 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0); 1138 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 1139 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 1140 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 1141 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 1143 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); [all …]
|
| D | rt5665.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5665.c -- RT5665/RT5658 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 888 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 889 static const DECLARE_TLV_DB_SCALE(mono_vol_tlv, -1400, 150, 0); 890 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 891 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 892 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 893 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 895 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); [all …]
|
| D | rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5651.c -- RT5651 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 369 * set_dmic_clk - Set parameter of dmic. 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 383 rate = rt5651->sysclk / rl6231_get_pre_div(rt5651->regmap, in set_dmic_clk() [all …]
|
| D | rt5670.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5670.c -- RT5670 ALSA SoC audio codec driver 25 #include <sound/soc-dapm.h> 31 #include "rt5670-dsp.h" 50 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 422 * rt5670_headset_detect - Detect headset. 457 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect() 464 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect() 471 rt5670->jack_type = 0; in rt5670_headset_detect() 476 return rt5670->jack_type; in rt5670_headset_detect() [all …]
|
| D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 31 #include <sound/soc-dapm.h> 37 #include "rt5677-spi.h" 554 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 565 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr() 568 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr() 570 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr() 573 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr() 577 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr() [all …]
|
| D | rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5645.c -- RT5645 ALSA SoC audio codec driver 27 #include <sound/soc-dapm.h> 41 static unsigned int quirk = -1; 638 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 639 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 640 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 641 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 655 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */ 657 0, 4, TLV_DB_SCALE_ITEM(-600, 150, 0), [all …]
|
| /kernel/linux/linux-5.10/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/reset/amlogic,meson-g12a-reset.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
| 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 …]
|
| 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 …]
|
| D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/meson/ |
| D | axg-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <linux/clk.h> 8 #include <linux/clk-provider.h> 15 #include <linux/reset-controller.h> 18 #include "axg-audio.h" 19 #include "clk-regmap.h" 20 #include "clk-phase.h" 21 #include "sclk-div.h" 229 { .name = "aud_mst_a_sclk", .index = -1, }, 230 { .name = "aud_mst_b_sclk", .index = -1, }, [all …]
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | sound.patch | 1 diff --git a/sound/Makefile b/sound/Makefile 3 --- a/sound/Makefile 5 @@ -5,7 +5,8 @@ 6 obj-$(CONFIG_SOUND) += soundcore.o 7 obj-$(CONFIG_DMASOUND) += oss/dmasound/ 8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \ 9 - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ 12 obj-$(CONFIG_SND_AOA) += aoa/ 15 diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c 17 --- a/sound/drivers/aloop.c [all …]
|
| D | drivers.patch | 6 Change-Id: I9825adaa8537a316db8a1831e759a74223b9e428 7 --- 9 drivers/block/nbd.c | 6 - 11 drivers/clk/Kconfig | 7 + 12 drivers/clk/clk.c | 2 +- 13 drivers/clk/rockchip/Kconfig | 42 +- 14 drivers/clk/rockchip/Makefile | 2 + 15 drivers/clk/rockchip/clk-cpu.c | 92 +- 16 drivers/clk/rockchip/clk-ddr.c | 171 +- 17 drivers/clk/rockchip/clk-half-divider.c | 35 +- [all …]
|
| /kernel/linux/linux-5.10/sound/soc/stm/ |
| D | stm32_sai.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 11 /******************** SAI Register Map **************************************/ 16 /* Sub-block A&B registers offsets, relative to A&B sub-block addresses */ 26 /* Sub-block A registers, relative to sub-block A address */ 82 #define SAI_XCR1_MCKDIV_MASK(x) GENMASK((SAI_XCR1_MCKDIV_SHIFT + (x) - 1),\ 85 #define SAI_XCR1_MCKDIV_MAX(x) ((1 << SAI_XCR1_MCKDIV_WIDTH(x)) - 1) 257 #define STM_SAI_IS_F4(ip) ((ip)->conf.version == STM_SAI_STM32F4) 259 ((ip)->pdata->conf.has_spdif_pdm) 268 * struct stm32_sai_conf - SAI configuration [all …]
|
| D | stm32_sai_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 9 #include <linux/clk.h> 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) [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * With some ideas taken from pinctrl-samsung: 14 * and pinctrl-at91: 15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 29 #include <linux/pinctrl/pinconf-generic.h> 31 #include <linux/clk.h> 34 #include <dt-bindings/pinctrl/rockchip.h> 79 * @offset: if initialized to -1 it will be autocalculated, by specifying 112 * @offset: if initialized to -1 it will be autocalculated, by specifying 127 * @clk: clock of the gpio bank [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
| D | pinctrl-madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2018 Cirrus Logic 17 #include <linux/pinctrl/pinconf-generic.h> 22 #include "../pinctrl-utils.h" 24 #include "pinctrl-madera.h" 28 * NOTE: IDs are zero-indexed for coding convenience 74 * All single-pin functions can be mapped to any GPIO, however pinmux applies 78 * Since these do not correspond to anything in the actual hardware - they are 79 * merely an adaptation to pinctrl's view of the world - we use the same name 91 /* set of pin numbers for single-pin groups, zero-indexed */ [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
| D | 0009_linux_sound.patch | 7 Change-Id: Ic34341fbcce5e6d02fefc2acad4ea1058da94b66 9 diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c 11 --- a/sound/core/pcm_dmaengine.c 13 @@ -125,6 +125,8 @@ void snd_dmaengine_pcm_set_config_from_dai_data( 16 slave_config->slave_id = dma_data->slave_id; 17 + slave_config->peripheral_config = dma_data->peripheral_config; 18 + slave_config->peripheral_size = dma_data->peripheral_size; 22 diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c 24 --- a/sound/soc/codecs/hdmi-codec.c 25 +++ b/sound/soc/codecs/hdmi-codec.c [all …]
|
| D | 0005_linux_include.patch | 7 Change-Id: Icf23f02df7b566848af808b9eeaed889d1773e71 9 diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h 12 --- /dev/null 13 +++ b/include/drm/bridge/cdns-mhdp.h 14 @@ -0,0 +1,921 @@ 15 +/* SPDX-License-Identifier: GPL-2.0 */ 18 + * Author: Chris Zhong <zyw@rock-chips.com> 39 +#include <sound/hdmi-codec.h> 489 +#define F_HDMI_ENCODING(x) (((x) & ((1 << 2) - 1)) << 16) 490 +#define F_VIF_DATA_WIDTH(x) (((x) & ((1 << 2) - 1)) << 2) [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 …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0027_linux_drivers_media.patch | 7 Change-Id: I049bfa49539911e2f2699823b3f446166db22bbe 9 diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig 11 --- a/drivers/media/Kconfig 13 @@ -43,7 +43,7 @@ config MEDIA_SUBDRV_AUTOSELECT 17 - default y if MEDIA_SUPPORT_FILTER 20 By default, a media driver auto-selects all possible ancillary 22 diff --git a/drivers/media/i2c/ov5640.c b/drivers/media/i2c/ov5640.c 24 --- a/drivers/media/i2c/ov5640.c 26 @@ -98,7 +98,8 @@ 30 - OV5640_MODE_QCIF_176_144 = 0, [all …]
|