]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: ti: j721e-evm: Fix clock configuration for ti,j7200-cpb-audio compatible
authorJayesh Choudhary <j-choudhary@ti.com>
Tue, 18 Mar 2025 11:35:24 +0000 (17:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:31:58 +0000 (14:31 +0200)
commitb02c23f38fe26911111db648a09f033a20968bc0
tree08d267ac7cf9d803ca7540a93ea1f31e3eedd1a6
parent1cfb0ed41174cbe039f2bef3ffd97ec4f5c2de8a
ASoC: ti: j721e-evm: Fix clock configuration for ti,j7200-cpb-audio compatible

[ Upstream commit 45ff65e30deb919604e68faed156ad96ce7474d9 ]

For 'ti,j7200-cpb-audio' compatible, there is support for only one PLL for
48k. For 11025, 22050, 44100 and 88200 sampling rates, due to absence of
J721E_CLK_PARENT_44100, we get EINVAL while running any audio application.
Add support for these rates by using the 48k parent clock and adjusting
the clock for these rates later in j721e_configure_refclk.

Fixes: 6748d0559059 ("ASoC: ti: Add custom machine driver for j721e EVM (CPB and IVI)")
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Link: https://patch.msgid.link/20250318113524.57100-1-j-choudhary@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/ti/j721e-evm.c