Home
last modified time | relevance | path

Searched +full:tegra186 +full:- +full:dspk (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dnvidia,tegra186-dspk.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Tegra186 DSPK Controller
10 The Digital Speaker Controller (DSPK) can be viewed as a Pulse
11 Density Modulation (PDM) transmitter that up-samples the input to
13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit
17 - Jon Hunter <jonathanh@nvidia.com>
18 - Sameer Pujar <spujar@nvidia.com>
[all …]
Dnvidia,tegra210-ahub.yaml1 # 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#
11 for audio pre-processing, post-processing and a programmable full
13 external interfaces such as I2S, DMIC, DSPK. It interfaces with ADMA
17 - Jon Hunter <jonathanh@nvidia.com>
18 - Sameer Pujar <spujar@nvidia.com>
22 pattern: "^ahub@[0-9a-f]*$"
26 - enum:
[all …]
/Linux-v6.1/sound/soc/tegra/
Dtegra186_dspk.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // tegra186_dspk.c - Tegra186 DSPK driver
33 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec); in tegra186_dspk_get_fifo_th() local
35 ucontrol->value.integer.value[0] = dspk->rx_fifo_th; in tegra186_dspk_get_fifo_th()
44 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec); in tegra186_dspk_put_fifo_th() local
45 int value = ucontrol->value.integer.value[0]; in tegra186_dspk_put_fifo_th()
47 if (value == dspk->rx_fifo_th) in tegra186_dspk_put_fifo_th()
50 dspk->rx_fifo_th = value; in tegra186_dspk_put_fifo_th()
59 struct tegra186_dspk *dspk = snd_soc_component_get_drvdata(codec); in tegra186_dspk_get_osr_val() local
61 ucontrol->value.enumerated.item[0] = dspk->osr_val; in tegra186_dspk_get_osr_val()
[all …]
Dtegra186_dspk.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * tegra186_dspk.h - Definitions for Tegra186 DSPK driver
12 /* Register offsets from DSPK BASE */
27 /* DSPK CORE CONTROL fields */
38 /* DSPK interface clock ratio */
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 snd-soc-tegra-pcm-objs := tegra_pcm.o
4 snd-soc-tegra-utils-objs += tegra_asoc_utils.o
5 snd-soc-tegra20-ac97-objs := tegra20_ac97.o
6 snd-soc-tegra20-das-objs := tegra20_das.o
7 snd-soc-tegra20-i2s-objs := tegra20_i2s.o
8 snd-soc-tegra20-spdif-objs := tegra20_spdif.o
9 snd-soc-tegra30-ahub-objs := tegra30_ahub.o
10 snd-soc-tegra30-i2s-objs := tegra30_i2s.o
11 snd-soc-tegra210-ahub-objs := tegra210_ahub.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
82 Config to enable the Inter-IC Sound (I2S) Controller which
83 implements full-duplex and bidirectional and single direction
84 point-to-point serial interfaces. It can interface with I2S
98 tristate "Tegra186 ASRC module"
107 Say Y or M if you want to add support for Tegra186 ASRC module.
110 tristate "Tegra186 DSPK module"
112 Config to enable the Digital Speaker Controller (DSPK) which
113 converts the multi-bit Pulse Code Modulation (PCM) audio input to
[all …]
Dtegra_audio_graph_card.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // tegra_audio_graph_card.c - Audio Graph based Tegra Machine Driver
5 // Copyright (c) 2020-2021 NVIDIA CORPORATION. All rights reserved.
52 struct asoc_simple_priv *simple = snd_soc_card_get_drvdata(rtd->card); in tegra_audio_graph_update_pll()
54 struct device *dev = rtd->card->dev; in tegra_audio_graph_update_pll()
66 plla_out0_rate = data->plla_out0_rates[x11_RATE]; in tegra_audio_graph_update_pll()
67 plla_rate = data->plla_rates[x11_RATE]; in tegra_audio_graph_update_pll()
75 plla_out0_rate = data->plla_out0_rates[x8_RATE]; in tegra_audio_graph_update_pll()
76 plla_rate = data->plla_rates[x8_RATE]; in tegra_audio_graph_update_pll()
79 dev_err(rtd->card->dev, "Unsupported sample rate %u\n", in tegra_audio_graph_update_pll()
[all …]
Dtegra210_ahub.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // tegra210_ahub.c - Tegra210 AHUB driver
5 // Copyright (c) 2020-2022, 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-v6.1/arch/arm64/boot/dts/nvidia/
Dtegra186.dtsi1 // 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 …]
Dtegra194.dtsi1 // 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 …]
Dtegra234.dtsi1 // 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/power/tegra234-powergate.h>
9 #include <dt-bindings/reset/tegra234-reset.h>
13 interrupt-parent = <&gic>;
14 #address-cells = <2>;
[all …]
Dtegra186-p2771-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra186-p3310.dtsi"
11 compatible = "nvidia,p2771-0000", "nvidia,tegra186";
16 dma-controller@2930000 {
20 interrupt-controller@2a40000 {
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
Dtegra194-p3509-0000.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/linux-event-codes.h>
4 #include <dt-bindings/input/gpio-keys.h>
11 dma-controller@2930000 {
15 interrupt-controller@2a40000 {
23 #address-cells = <1>;
24 #size-cells = <0>;
30 remote-endpoint = <&admaif0_ep>;
38 remote-endpoint = <&admaif1_ep>;
46 remote-endpoint = <&admaif2_ep>;
[all …]