xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunNVIDIA Tegra30 HDA controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : For Tegra30, must contain "nvidia,tegra30-hda".  Otherwise,
5*4882a593Smuzhiyun  must contain '"nvidia,<chip>-hda", "nvidia,tegra30-hda"', where <chip> is
6*4882a593Smuzhiyun  tegra114, tegra124, or tegra132.
7*4882a593Smuzhiyun- reg : Should contain the HDA registers location and length.
8*4882a593Smuzhiyun- interrupts : The interrupt from the HDA controller.
9*4882a593Smuzhiyun- clocks : Must contain an entry for each required entry in clock-names.
10*4882a593Smuzhiyun  See ../clocks/clock-bindings.txt for details.
11*4882a593Smuzhiyun- clock-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
12*4882a593Smuzhiyun- resets : Must contain an entry for each entry in reset-names.
13*4882a593Smuzhiyun  See ../reset/reset.txt for details.
14*4882a593Smuzhiyun- reset-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOptional properties:
17*4882a593Smuzhiyun- nvidia,model : The user-visible name of this sound complex. Since the property
18*4882a593Smuzhiyun  is optional, legacy boards can use default name provided in hda driver.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExample:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunhda@70030000 {
23*4882a593Smuzhiyun	compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
24*4882a593Smuzhiyun	reg = <0x0 0x70030000 0x0 0x10000>;
25*4882a593Smuzhiyun	interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
26*4882a593Smuzhiyun	clocks = <&tegra_car TEGRA124_CLK_HDA>,
27*4882a593Smuzhiyun		 <&tegra_car TEGRA124_CLK_HDA2HDMI>,
28*4882a593Smuzhiyun		 <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>;
29*4882a593Smuzhiyun	clock-names = "hda", "hda2hdmi", "hda2codec_2x";
30*4882a593Smuzhiyun	resets = <&tegra_car 125>, /* hda */
31*4882a593Smuzhiyun		 <&tegra_car 128>, /* hda2hdmi */
32*4882a593Smuzhiyun		 <&tegra_car 111>; /* hda2codec_2x */
33*4882a593Smuzhiyun	reset-names = "hda", "hda2hdmi", "hda2codec_2x";
34*4882a593Smuzhiyun	nvidia,model = "jetson-tk1-hda";
35*4882a593Smuzhiyun};
36