mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
f43521e952
When Tegra124 support was first merged the unit-addresses of all devices were listed with a "0," prefix to encode the reg property's second cell. It turns out that this notation is not correct, and the "," separator is only used to separate fields in the unit address (such as the device and function number in PCI devices), not individual cells for addresses with more than one cell. Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Rob Herring <robh@kernel.org>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
NVIDIA Tegra30 HDA controller
|
|
|
|
Required properties:
|
|
- compatible : For Tegra30, must contain "nvidia,tegra30-hda". Otherwise,
|
|
must contain '"nvidia,<chip>-hda", "nvidia,tegra30-hda"', where <chip> is
|
|
tegra114, tegra124, or tegra132.
|
|
- 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, hda2hdmi, hda2codec_2x
|
|
- 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, hda2hdmi, hda2codec_2x
|
|
|
|
Example:
|
|
|
|
hda@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";
|
|
};
|