Home
last modified time | relevance | path

Searched +full:tegra20 +full:- +full:ac97 (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dnvidia,tegra20-ac97.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-ac97.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NVIDIA Tegra20 AC97 controller
10 - Thierry Reding <treding@nvidia.com>
11 - Jon Hunter <jonathanh@nvidia.com>
15 const: nvidia,tegra20-ac97
23 reset-names:
24 const: ac97
[all …]
/linux-6.12.1/sound/soc/tegra/
Dtegra20_ac97.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra20_ac97.c - Tegra20 AC97 platform driver
32 #define DRV_NAME "tegra20-ac97"
36 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_reset() argument
46 gpiod_set_value(workdata->reset_gpio, 1); in tegra20_ac97_codec_reset()
49 gpiod_set_value(workdata->reset_gpio, 0); in tegra20_ac97_codec_reset()
55 regmap_read(workdata->regmap, TEGRA20_AC97_STATUS1, &readback); in tegra20_ac97_codec_reset()
62 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) in tegra20_ac97_codec_warm_reset() argument
72 gpiod_direction_output(workdata->sync_gpio, 1); in tegra20_ac97_codec_warm_reset()
74 gpiod_set_value(workdata->sync_gpio, 0); in tegra20_ac97_codec_warm_reset()
[all …]
DMakefile1 # 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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
15 tristate "Tegra20 AC97 interface"
20 Tegra20 AC97 interface. You will also need to select the individual
24 tristate "Tegra20 DAS module"
26 Say Y or M if you want to add support for the Tegra20 DAS module.
31 tristate "Tegra20 I2S interface"
35 Tegra20 I2S interface. You will also need to select the individual
39 tristate "Tegra20 SPDIF interface"
41 Say Y or M if you want to add support for the Tegra20 SPDIF interface.
[all …]
Dtegra20_das.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra20_das.c - Tegra20 DAS driver
6 * Copyright (C) 2010 - NVIDIA, Inc.
17 #define DRV_NAME "tegra20-das"
87 * DAC: Digital audio controller (e.g. I2S or AC97 controller elsewhere)
89 * The Tegra DAS is a mux/cross-bar which can connect each DAP to a specific
101 regmap_write(das->regmap, reg, val); in tegra20_das_write()
132 (TEGRA20_DAS_##name##_STRIDE * (TEGRA20_DAS_##name##_COUNT - 1)))
160 das = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_das), GFP_KERNEL); in tegra20_das_probe()
162 return -ENOMEM; in tegra20_das_probe()
[all …]
Dtegra20_ac97.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * tegra20_ac97.h - Definitions for the Tegra20 AC97 controller driver
Dtegra_asoc_machine.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards.
58 if (gpiod_get_value_cansleep(machine->gpiod_hp_det) && in coupled_mic_hp_check()
59 gpiod_get_value_cansleep(machine->gpiod_mic_det)) in coupled_mic_hp_check()
81 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_machine_event()
82 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event()
86 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event()
91 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event()
96 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event()
101 gpiod_set_value_cansleep(machine->gpiod_hp_mute, in tegra_machine_event()
[all …]
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra20.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/tegra20-car.h>
3 #include <dt-bindings/gpio/tegra-gpio.h>
4 #include <dt-bindings/memory/tegra20-mc.h>
5 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/soc/tegra-pmc.h>
9 #include "tegra20-peripherals-opp.dtsi"
12 compatible = "nvidia,tegra20";
13 interrupt-parent = <&lic>;
[all …]
Dtegra20-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "tegra20.dtsi"
22 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
23 nvidia,hpd-gpio =
25 pll-supply = <&reg_1v8_avdd_hdmi_pll>;
26 vdd-supply = <&reg_3v3_avdd_hdmi>;
31 lan-reset-n-hog {
32 gpio-hog;
34 output-high;
35 line-name = "LAN_RESET#";
[all …]
/linux-6.12.1/drivers/clk/tegra/
Dclk-tegra20.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/tegra20-car.h>
18 #include "clk-id.h"
444 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 },
445 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA },
446 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC },
448 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC },
450 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP },
451 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA },
[all …]