Home
last modified time | relevance | path

Searched +full:tegra +full:- +full:audio +full:- +full:rt5677 (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-rt5677.txt1 NVIDIA Tegra audio complex, with RT5677 CODEC
4 - compatible : "nvidia,tegra-audio-rt5677"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-rt5677.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5677.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra audio complex with RT5677 CODEC
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-rt5677(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-rt5677
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra_rt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra_rt5677.c - Tegra machine ASoC driver for boards using RT5677 codec.
9 * Copyright (C) 2010-2012 - NVIDIA, Inc.
27 #include "../codecs/rt5677.h"
31 #define DRV_NAME "tegra-snd-rt5677"
46 struct snd_soc_card *card = rtd->card; in tegra_rt5677_asoc_hw_params()
53 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_rt5677_asoc_hw_params()
55 dev_err(card->dev, "Can't configure clocks\n"); in tegra_rt5677_asoc_hw_params()
62 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_rt5677_asoc_hw_params()
72 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_rt5677_event_hp()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
10 Say Y or M here if you want support for SoC audio on Tegra.
69 Config to enable Audio Hub (AHUB) module, which comprises of a
70 switch called Audio Crossbar (AXBAR) used to configure or modify
71 the audio routing path between various HW accelerators present in
90 Config to enable the Inter-IC Sound (I2S) Controller which
91 implements full-duplex and bidirectional and single direction
92 point-to-point serial interfaces. It can interface with I2S
101 converts the multi-bit Pulse Code Modulation (PCM) audio input to
[all …]
/kernel/linux/linux-6.6/sound/soc/tegra/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
10 Say Y or M here if you want support for SoC audio on Tegra.
63 Config to enable Audio Hub (AHUB) module, which comprises of a
64 switch called Audio Crossbar (AXBAR) used to configure or modify
65 the audio routing path between various HW accelerators present in
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
113 converts the multi-bit Pulse Code Modulation (PCM) audio input to
[all …]
Dtegra_asoc_machine.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards.
59 if (gpiod_get_value_cansleep(machine->gpiod_hp_det) && in coupled_mic_hp_check()
60 gpiod_get_value_cansleep(machine->gpiod_mic_det)) in coupled_mic_hp_check()
82 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_machine_event()
83 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event()
85 if (!strcmp(w->name, "Int Spk") || !strcmp(w->name, "Speakers")) in tegra_machine_event()
86 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event()
89 if (!strcmp(w->name, "Mic Jack") || !strcmp(w->name, "Headset Mic")) in tegra_machine_event()
90 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-smaug.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mfd/max77620.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
12 compatible = "google,smaug-rev8", "google,smaug-rev7",
13 "google,smaug-rev6", "google,smaug-rev5",
14 "google,smaug-rev4", "google,smaug-rev3",
15 "google,smaug-rev2", "google,smaug-rev1",
24 stdout-path = "serial0:115200n8";
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra210-smaug.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mfd/max77620.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
12 compatible = "google,smaug-rev8", "google,smaug-rev7",
13 "google,smaug-rev6", "google,smaug-rev5",
14 "google,smaug-rev4", "google,smaug-rev3",
15 "google,smaug-rev2", "google,smaug-rev1",
25 stdout-path = "serial0:115200n8";
[all …]