arch: arm: mach-k3: j784s4_init: Set CTRL_MMR for AUDIO_REFCLK1 clk_sel
authorJayesh Choudhary <j-choudhary@ti.com>
Mon, 6 Jan 2025 10:04:00 +0000 (15:34 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 20 Jan 2025 14:32:48 +0000 (08:32 -0600)
commitbb28b4906e8dbb0f5a86a3613fb30069f89898f7
tree8869722c97482330e0bb094b0811a03f7c533c9a
parentb77791a11a0b6fdd8df6b223780e1b71bf8954f7
arch: arm: mach-k3: j784s4_init: Set CTRL_MMR for AUDIO_REFCLK1 clk_sel

The default value for the mux to select the parent clock,
AUDIO_REFCLK1_CTRL_CLK_SEL is '11111' (31) but the mux input for 31
is marked as 'Reserved' so the ti-sci-clk call for get-parent fails.
Mark it to a valid value, '11100' (28) for MAIN_PLL4_HSDIV2_CLKOUT
to get rid of the linux failures during boot-time like:
"[    1.573193] ti-sci-clk 44083000.system-controller:clock-controller:
 get-parent failed for dev=157, clk=34, ret=-19"

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
arch/arm/mach-k3/j784s4/j784s4_init.c