]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: da7213: Extend support for the MCK in range [2, 50] MHz
authorHao Bui <hao.bui.yg@renesas.com>
Wed, 6 Nov 2024 08:18:21 +0000 (10:18 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 6 Nov 2024 21:14:33 +0000 (21:14 +0000)
commitb3296f9095d6ad24723e5ad89c28acc317d0c3cf
treefa57655cb3b3024eced4a40585aa25138cc55996
parent1e1a2ef95b571825ca9c0113f6bef51e9cec98b0
ASoC: da7213: Extend support for the MCK in range [2, 50] MHz

According to DA7212 HW manual, the codec's PLL input divider can operate
with MCLK range from 2MHz to 50MHz but current driver only set the
minimum supported MCLK frequency to 5MHz. That cause 11.025kHz audio
which is corresponding to MCLK of 2.8224MHz (11.025kHz * 256) unable to
play in case audio-simple-card is used.

Signed-off-by: Hao Bui <hao.bui.yg@renesas.com>
Co-developed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20241106081826.1211088-27-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7213.c
sound/soc/codecs/da7213.h