Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Tero Kristo <kristo@kernel.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>

authored by

Nishanth Menon and committed by
Santosh Shilimkar
0b5194de 39b73baa

+3 -8
+3 -8
arch/arm/boot/dts/keystone-k2g-evm.dts
··· 544 544 }; 545 545 }; 546 546 547 - &k2g_clks { 548 - /* on the board 22.5792MHz is connected to AUDOSC_IN */ 549 - assigned-clocks = <&k2g_clks 0x4c 2>; 550 - assigned-clock-rates = <22579200>; 551 - }; 552 - 553 547 &mcasp2 { 554 548 #sound-dai-cells = <0>; 555 549 556 550 pinctrl-names = "default"; 557 551 pinctrl-0 = <&mcasp2_pins>; 558 552 559 - assigned-clocks = <&k2g_clks 0x6 1>; 560 - assigned-clock-parents = <&k2g_clks 0x6 2>; 553 + assigned-clocks = <&k2g_clks 0x4c 2>, <&k2g_clks 0x6 1>; 554 + assigned-clock-parents = <0>, <&k2g_clks 0x6 2>; 555 + assigned-clock-rates = <22579200>, <0>; 561 556 562 557 status = "okay"; 563 558