Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-wm8753.txt1 NVIDIA Tegra audio complex
4 - compatible : "nvidia,tegra-audio-wm8753"
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-wm8753.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8753.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra audio complex with WM8753 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-wm8753(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-wm8753
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra_wm8753.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra_wm8753.c - Tegra machine ASoC driver for boards using WM8753 codec.
6 * Copyright (C) 2010-2012 - NVIDIA, Inc.
29 #include "../codecs/wm8753.h"
33 #define DRV_NAME "tegra-snd-wm8753"
44 struct snd_soc_card *card = rtd->card; in tegra_wm8753_hw_params()
62 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_wm8753_hw_params()
64 dev_err(card->dev, "Can't configure clocks\n"); in tegra_wm8753_hw_params()
71 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_wm8753_hw_params()
89 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8753-hifi")),
[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 …]