summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt
blob: b4730c2822bc8f61d5b7fb819bb907f0be1c47d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
NVIDIA Tegra30 HDA controller

Required properties:
- compatible : "nvidia,tegra30-hda"
- reg : Should contain the HDA registers location and length.
- interrupts : The interrupt from the HDA controller.
- clocks : Must contain an entry for each required entry in clock-names.
  See ../clocks/clock-bindings.txt for details.
- clock-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi
- resets : Must contain an entry for each entry in reset-names.
  See ../reset/reset.txt for details.
- reset-names : Must include the following entries: hda, hdacodec_2x, hda2hdmi

Example:

hda@0,70030000 {
	compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
	reg = <0x0 0x70030000 0x0 0x10000>;
	interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
	clocks = <&tegra_car TEGRA124_CLK_HDA>,
		 <&tegra_car TEGRA124_CLK_HDA2HDMI>,
		 <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>;
	clock-names = "hda", "hda2hdmi", "hda2codec_2x";
	resets = <&tegra_car 125>, /* hda */
		 <&tegra_car 128>; /* hda2hdmi */
		 <&tegra_car 111>, /* hda2codec_2x */
	reset-names = "hda", "hda2hdmi", "hda2codec_2x";
};