/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-ope.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ope.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra210 OPE 10 The Output Processing Engine (OPE) is one of the AHUB client. It has 15 - Jon Hunter <jonathanh@nvidia.com> 16 - Mohan Kumar <mkumard@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: dai-common.yaml# [all …]
|
H A D | nvidia,tegra210-mbdrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-mbdrc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra210 MBDRC 11 Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Mohan Kumar <mkumard@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 23 - const: nvidia,tegra210-mbdrc [all …]
|
H A D | nvidia,tegra210-peq.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-peq.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra210 PEQ 13 PEQ sits inside Output Processing Engine (OPE) which interfaces 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Mohan Kumar <mkumard@nvidia.com> 19 - Sameer Pujar <spujar@nvidia.com> 24 - const: nvidia,tegra210-peq [all …]
|
H A D | nvidia,tegra210-ahub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra210 AHUB 11 for audio pre-processing, post-processing and a programmable full 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 22 pattern: "^ahub@[0-9a-f]*$" 26 - enum: [all …]
|
/linux/sound/soc/tegra/ |
H A D | tegra210_ope.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. 5 // tegra210_ope.c - Tegra210 OPE driver 33 static int tegra210_ope_set_audio_cif(struct tegra210_ope *ope, in tegra210_ope_set_audio_cif() argument 44 return -EINVAL; in tegra210_ope_set_audio_cif() 55 return -EINVAL; in tegra210_ope_set_audio_cif() 63 tegra_set_cif(ope->regmap, reg, &cif_conf); in tegra210_ope_set_audio_cif() 72 struct device *dev = dai->dev; in tegra210_ope_hw_params() 73 struct tegra210_ope *ope = snd_soc_dai_get_drvdata(dai); in tegra210_ope_hw_params() local 77 err = tegra210_ope_set_audio_cif(ope, params, in tegra210_ope_hw_params() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-tegra-pcm-y := tegra_pcm.o 4 snd-soc-tegra-utils-y += tegra_asoc_utils.o 5 snd-soc-tegra20-ac97-y := tegra20_ac97.o 6 snd-soc-tegra20-das-y := tegra20_das.o 7 snd-soc-tegra20-i2s-y := tegra20_i2s.o 8 snd-soc-tegra20-spdif-y := tegra20_spdif.o 9 snd-soc-tegra30-ahub-y := tegra30_ahub.o 10 snd-soc-tegra30-i2s-y := tegra30_i2s.o 11 snd-soc-tegra210-ahub-y := tegra210_ahub.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Tegra System-on-Chip" 61 tristate "Tegra210 AHUB module" 67 Say Y or M if you want to add support for Tegra210 AHUB module. 70 tristate "Tegra210 DMIC module" 77 Say Y or M if you want to add support for Tegra210 DMIC module. 80 tristate "Tegra210 I2S module" 83 Config to enable the Inter-IC Sound (I2S) Controller which 84 implements full-duplex and bidirectional and single direction 85 point-to-point serial interfaces. It can interface with I2S [all …]
|
H A D | tegra210_ope.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * tegra210_ope.h - Definitions for Tegra210 OPE driver 19 * The data comes from XBAR to OPE 30 * The data goes out from OPE to XBAR 39 /* OPE Gloabal registers */
|
H A D | tegra210_peq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra210_peq.c - Tegra210 PEQ driver 31 1495012349, /* Pre-gain */ 34 536870912, -1073741824, 536870912, 2143508246, -1069773768, /* Band-0 */ 35 134217728, -265414508, 131766272, 2140402222, -1071252997, /* Band-1 */ 36 268435456, -233515765, -33935948, 1839817267, -773826124, /* Band-2 */ 37 536870912, -672537913, 139851540, 1886437554, -824433167, /* Band-3 */ 38 268435456, -114439279, 173723964, 205743566, 278809729, /* Band-4 */ 39 1, 0, 0, 0, 0, /* Band-5 */ 40 1, 0, 0, 0, 0, /* Band-6 */ [all …]
|
H A D | tegra210_mbdrc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra210_mbdrc.c - Tegra210 MBDRC driver 57 .filter_structure = 0, /* All-pass tree */ 87 /* Band-0 */ 88 961046798, -2030431983, 1073741824, 89 2030431983, -961046798, 90 /* Band-1 */ 91 1030244425, -2099481453, 1073741824, 92 2099481453, -1030244425, 93 /* Band-2 */ [all …]
|
H A D | tegra210_ahub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra210_ahub.c - Tegra210 AHUB driver 5 // Copyright (c) 2020-2024, NVIDIA CORPORATION. All rights reserved. 22 struct soc_enum *e = (struct soc_enum *)kctl->private_value; in tegra_ahub_get_value_enum() 29 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_get_value_enum() 32 reg = e->reg + (TEGRA210_XBAR_PART1_RX * i); in tegra_ahub_get_value_enum() 34 reg_val &= ahub->soc_data->mask[i]; in tegra_ahub_get_value_enum() 38 (8 * cmpnt->val_bytes * i); in tegra_ahub_get_value_enum() 44 for (i = 0; i < e->items; i++) { in tegra_ahub_get_value_enum() 45 if (bit_pos == e->values[i]) { in tegra_ahub_get_value_enum() [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra186.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra186-clock.h> 3 #include <dt-bindings/gpio/tegra186-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/memory/tegra186-mc.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 8 #include <dt-bindings/power/tegra186-powergate.h> 9 #include <dt-bindings/reset/tegra186-reset.h> 10 #include <dt-bindings/thermal/tegra186-bpmp-thermal.h> [all …]
|
H A D | tegra194.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra194-clock.h> 3 #include <dt-bindings/gpio/tegra194-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 #include <dt-bindings/power/tegra194-powergate.h> 9 #include <dt-bindings/reset/tegra194-reset.h> 10 #include <dt-bindings/thermal/tegra194-bpmp-thermal.h> [all …]
|
H A D | tegra234.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/clock/tegra234-clock.h> 4 #include <dt-bindings/gpio/tegra234-gpio.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/mailbox/tegra186-hsp.h> 7 #include <dt-bindings/memory/tegra234-mc.h> 8 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 9 #include <dt-bindings/power/tegra234-powergate.h> 10 #include <dt-bindings/reset/tegra234-reset.h> 11 #include <dt-bindings/thermal/tegra234-bpmp-thermal.h> [all …]
|