ARM: dts: am57xx-beagle-x15: Move clkout2 source selection to codec node
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 7 Mar 2016 15:17:33 +0000 (17:17 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Apr 2016 19:48:28 +0000 (12:48 -0700)
The assigned-clock* needs to be in the root of the device's node. If it is
in the sub-node the CCF will ignore it.
Since the clkout2 is used by the codec as MCLK, move the clock parent
selection to that node.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-beagle-x15.dts

index 75bd09b175cd4bdfbcc5ba962c6c5584bbf5a1b4..b9c367bb614e909746e5a54b31e7b4f43d26a0c0 100644 (file)
 
                sound0_master: simple-audio-card,codec {
                        sound-dai = <&tlv320aic3104>;
-                       assigned-clocks = <&clkoutmux2_clk_mux>;
-                       assigned-clock-parents = <&sys_clk2_dclk_div>;
                        clocks = <&clkout2_clk>;
                };
        };
                pinctrl-names = "default", "sleep";
                pinctrl-0 = <&clkout2_pins_default>;
                pinctrl-1 = <&clkout2_pins_sleep>;
+               assigned-clocks = <&clkoutmux2_clk_mux>;
+               assigned-clock-parents = <&sys_clk2_dclk_div>;
+
                status = "okay";
                adc-settle-ms = <40>;