Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-trimslice.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-trimslice.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra audio complex with TrimSlice CODEC
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
18 const: nvidia,tegra-audio-trimslice
21 - nvidia,i2s-controller
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-trimslice.txt1 NVIDIA Tegra audio complex for TrimSlice
4 - compatible : "nvidia,tegra-audio-trimslice"
5 - clocks : Must contain an entry for each entry in clock-names.
6 - clock-names : Must include the following entries:
7 "pll_a" (The Tegra clock of that name),
8 "pll_a_out0" (The Tegra clock of that name),
9 "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
10 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller
11 - nvidia,audio-codec : The phandle of the WM8903 audio codec
16 compatible = "nvidia,tegra-audio-trimslice";
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtrimslice.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * trimslice.c - TrimSlice machine ASoC driver
5 * Copyright (C) 2011 - CompuLab, Ltd.
10 * Copyright (C) 2010-2011 - NVIDIA, Inc.
28 #define DRV_NAME "tegra-snd-trimslice"
39 struct snd_soc_card *card = rtd->card; in trimslice_asoc_hw_params()
40 struct tegra_trimslice *trimslice = snd_soc_card_get_drvdata(card); in trimslice_asoc_hw_params() local
47 err = tegra_asoc_utils_set_rate(&trimslice->util_data, srate, mclk); in trimslice_asoc_hw_params()
49 dev_err(card->dev, "Can't configure clocks\n"); in trimslice_asoc_hw_params()
56 dev_err(card->dev, "codec_dai clock not set\n"); in trimslice_asoc_hw_params()
[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-6.6/arch/arm/boot/dts/nvidia/
Dtegra20-trimslice.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "tegra20-cpu-opp.dtsi"
9 model = "Compulab TrimSlice board";
10 compatible = "compulab,trimslice", "nvidia,tegra20";
19 stdout-path = "serial0:115200n8";
30 vdd-supply = <&hdmi_vdd_reg>;
31 pll-supply = <&hdmi_pll_reg>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtegra20-trimslice.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
6 #include "tegra20-cpu-opp.dtsi"
9 model = "Compulab TrimSlice board";
10 compatible = "compulab,trimslice", "nvidia,tegra20";
19 stdout-path = "serial0:115200n8";
30 vdd-supply = <&hdmi_vdd_reg>;
31 pll-supply = <&hdmi_pll_reg>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
[all …]