diff options
author | Dylan Reid | 2014-05-19 21:18:27 -0500 |
---|---|---|
committer | Takashi Iwai | 2014-05-20 02:38:38 -0500 |
commit | 3c320f3f5649667874d754e59bdd84dab185fe04 (patch) | |
tree | 30eddddabb1fbbc34c464dee7e454886780dcb4f /Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | |
parent | 9674678633377ac5065dc587a536abfe6ff98ca9 (diff) | |
download | ti-linux-kernel-3c320f3f5649667874d754e59bdd84dab185fe04.tar.gz ti-linux-kernel-3c320f3f5649667874d754e59bdd84dab185fe04.tar.xz ti-linux-kernel-3c320f3f5649667874d754e59bdd84dab185fe04.zip |
ALSA: hda - Add driver for Tegra SoC HDA
This adds a driver for the HDA block in Tegra SoCs. The HDA bus is
used to communicate with the HDMI codec on Tegra124.
Most of the code is re-used from the Intel/PCI HDA driver. It brings
over only two of the module params, power_save and probe_mask.
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt new file mode 100644 index 000000000000..c26f8ca97023 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | NVIDIA Tegra30 HDA controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "nvidia,tegra30-hda" | ||
5 | - reg : Should contain the HDA registers location and length. | ||
6 | - interrupts : The interrupt from the HDA controller. | ||
7 | - clocks : Must contain an entry for each required entry in clock-names. | ||
8 | See ../clocks/clock-bindings.txt for details. | ||
9 | - clock-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi | ||
10 | - resets : Must contain an entry for each entry in reset-names. | ||
11 | See ../reset/reset.txt for details. | ||
12 | - reset-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi | ||
13 | |||
14 | Example: | ||
15 | |||
16 | hda@0,70030000 { | ||
17 | compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda"; | ||
18 | reg = <0x0 0x70030000 0x0 0x10000>; | ||
19 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; | ||
20 | clocks = <&tegra_car TEGRA124_CLK_HDA>, | ||
21 | <&tegra_car TEGRA124_CLK_HDA2HDMI>, | ||
22 | <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>; | ||
23 | clock-names = "hda", "hda2hdmi", "hdacodec_2x"; | ||
24 | resets = <&tegra_car 125>, /* hda */ | ||
25 | <&tegra_car 128>; /* hda2hdmi */ | ||
26 | <&tegra_car 111>, /* hda2codec_2x */ | ||
27 | reset-names = "hda", "hda2hdmi", "hdacodec_2x"; | ||
28 | }; | ||