ARM: tegra: add clocks property to AC'97 sound nodes
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Mar 2013 18:11:30 +0000 (12:11 -0600)
committerStephen Warren <swarren@nvidia.com>
Thu, 4 Apr 2013 23:17:43 +0000 (17:17 -0600)
Audio-related clocks need to be represented in the device tree. Update
bindings to describe which clocks are needed, and DT files to include
those clocks.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm9712.txt
arch/arm/boot/dts/tegra20-colibri-512.dtsi

index be35d34e8b26dd9701dd7b85acd2bbb6c3d5e451..ad589b16363988460afb2f697535a0c8dfaa47e4 100644 (file)
@@ -2,6 +2,11 @@ NVIDIA Tegra audio complex
 
 Required properties:
 - compatible : "nvidia,tegra-audio-wm9712"
+- clocks : Must contain an entry for each entry in clock-names.
+- clock-names : Must include the following entries:
+  "pll_a" (The Tegra clock of that name),
+  "pll_a_out0" (The Tegra clock of that name),
+  "mclk" (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
 - nvidia,model : The user-visible name of this sound complex.
 - nvidia,audio-routing : A list of the connections between audio components.
   Each entry is a pair of strings, the first being the connection's sink,
@@ -48,4 +53,7 @@ sound {
                "Mic", "MIC1";
 
        nvidia,ac97-controller = <&ac97>;
+
+       clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
+       clock-names = "pll_a", "pll_a_out0", "mclk";
 };
index 4e3afdef28a87e4fc9b8fb97a0bc5105a0a53f1f..d953ccca1efd2ea818da019bf3a6b13fa79ed58d 100644 (file)
                        "Mic", "MIC1";
 
                nvidia,ac97-controller = <&ac97>;
+
+               clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 93>;
+               clock-names = "pll_a", "pll_a_out0", "mclk";
        };
 
        regulators {