diff options
author | Chen-Yu Tsai <wens@csie.org> | 2018-12-05 13:11:52 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-12-05 14:08:30 +0300 |
commit | 7ff33bd321b1a1092ccf4b80a1742528754ecc30 (patch) | |
tree | 702e468878f4b2354d33ba1b47f51fca54cc54b7 /arch/arm/boot/dts/sun8i-a33.dtsi | |
parent | 82992cdf4af7553319e3551a07e6dc1f4c32ab41 (diff) | |
download | linux-7ff33bd321b1a1092ccf4b80a1742528754ecc30.tar.xz |
ARM: dts: sun8i: a33: Drop audio codec oversampling rate to 128 fs
The current oversampling rate of 512 means that for 48 kHz 16 bit
stereo, the MCLK is running at the same rate as the module clock,
so there is no head room to support higher sampling rates. The codec
however supports up to 192 kHz for playback.
This patch drops the oversampling rate from 512 to 128, so that 192 kHz
audio can be played back directly without downsampling. Ideally we
should be using different oversampling rates for different sampling
rates, but that's not possible without a platform-specific machine
driver.
Fixes: 870f1bd1f5e9 ("ARM: dts: sun8i: Add audio codec, dai and card for A33")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a33.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a33.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 9ac4fae6c10d..626152c30f50 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -192,7 +192,7 @@ simple-audio-card,format = "i2s"; simple-audio-card,frame-master = <&link_codec>; simple-audio-card,bitclock-master = <&link_codec>; - simple-audio-card,mclk-fs = <512>; + simple-audio-card,mclk-fs = <128>; simple-audio-card,aux-devs = <&codec_analog>; simple-audio-card,routing = "Left DAC", "AIF1 Slot 0 Left", |