linux/sound/soc/sunxi
George Lander 829b0400e5 ASoC: sun4i-spdif: Add clock multiplier settings
[ Upstream commit 0a2319308d ]

There have been intermittent issues with the SPDIF output on H3
and H2+ devices which has been fixed by setting the s_clk to 4
times the audio pll.
Add a quirk for the clock multiplier as not every supported SoC
requires it. Without the multiplier, the audio at normal sampling
rates was distorted and did not play at higher sampling rates.

Fixes: 1bd92af877 ("ASoC: sun4i-spdif: Add support for the H3 SoC")
Signed-off-by: George Lander <lander@jagmn.com>
Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Link: https://patch.msgid.link/20241111165600.57219-2-codekipper@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:57:27 +01:00
..
Kconfig ASoC: sunxi: Add Allwinner H6 Digital MIC driver 2022-09-19 17:52:47 +01:00
Makefile ASoC: sunxi: Add Allwinner H6 Digital MIC driver 2022-09-19 17:52:47 +01:00
sun4i-codec.c ASoC: Updates for v6.12 2024-09-14 09:09:59 +02:00
sun4i-i2s.c ASoC: Updates for v6.12 2024-09-14 09:09:59 +02:00
sun4i-spdif.c ASoC: sun4i-spdif: Add clock multiplier settings 2025-02-08 09:57:27 +01:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
sun8i-codec.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
sun50i-codec-analog.c ASoC: sun8i-codec: Implement jack and accessory detection 2024-03-25 00:32:32 +00:00
sun50i-dmic.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00