Commit 0b5194de authored by Nishanth Menon's avatar Nishanth Menon Committed by Santosh Shilimkar

ARM: dts: keystone: k2g-evm: Move audio oscillator assigned clock to mcasp

Setting assigned clock with a dependency on itself for k2g_clks
creates a circular dependency. Instead, Lets model the audio clock
as a assigned-clock configuration for mcasp and set it up as the
first clock assigned-clock to be satisfied. Following the standard
convention, we use null entries to indicate entries that doesn't need
to be programmed.
Reviewed-by: default avatarTero Kristo <kristo@kernel.org>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent 39b73baa
...@@ -544,20 +544,15 @@ dpi_out: endpoint { ...@@ -544,20 +544,15 @@ dpi_out: endpoint {
}; };
}; };
&k2g_clks {
/* on the board 22.5792MHz is connected to AUDOSC_IN */
assigned-clocks = <&k2g_clks 0x4c 2>;
assigned-clock-rates = <22579200>;
};
&mcasp2 { &mcasp2 {
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mcasp2_pins>; pinctrl-0 = <&mcasp2_pins>;
assigned-clocks = <&k2g_clks 0x6 1>; assigned-clocks = <&k2g_clks 0x4c 2>, <&k2g_clks 0x6 1>;
assigned-clock-parents = <&k2g_clks 0x6 2>; assigned-clock-parents = <0>, <&k2g_clks 0x6 2>;
assigned-clock-rates = <22579200>, <0>;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment