summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2025-08-15 18:23:16 +0800
committerShawn Guo <shawnguo@kernel.org>2025-08-22 10:48:53 +0800
commitc1477b3efb6143815f20cf4e5c27c3e936e73640 (patch)
treea1c227c1993bc4a210f24b9952d9fff709823856 /rust/helpers/build_bug.c
parent6aa41c8833c7871d9c94d3f56586a9dca42e94f5 (diff)
arm64: dts: imx8mq-evk: support more sample rates for wm8524 card
The wm8524 codec is connected to the SAI interface. There are two audio plls on i.MX8MQ, one pll can be the clock source of 44kHz series rates, another pll can be clock source of 48kHz series rates. Previously it only supported 48kHz series rates, with this change the supported rates will include 44kHz series rates, from 8kHz to 192kHz. As commit 17cc308b1833 ("ASoC: wm8524: enable constraints when sysclk is configured.") make wm8524 release the constraint when codec's sysclk is not configured, so configure the cpu dai's sysclk to support more rates with the 'clocks' property removed. Add mclk-fs property for the sysclk ratio, which is required by calculating the sysclk, 256 is a common ratio for audio. 'system-clock-direction-out' is a required property after commit 5725bce709db ("ASoC: simple-card-utils: Unify clock direction by clk_direction") to specify the clock direction. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions