]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: zx296718: set a better parent clock for I2S0
authorShawn Guo <shawn.guo@linaro.org>
Wed, 9 Aug 2017 06:30:45 +0000 (14:30 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Aug 2017 01:51:14 +0000 (09:51 +0800)
The default I2S0 parent clock AUDIO_24M can not be divided into required
sample rate in some cases, for example when 48KHz is needed.  Change the
parent clock to AUDIO_99M which works for most sample rates.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm64/boot/dts/zte/zx296718.dtsi

index 52b5f84818ca6d62a730620ae23f6e3d6f498ca5..8aa40fc1e96baabc3f3497539576f5784f1bc0b1 100644 (file)
                        clocks = <&audiocrm AUDIO_I2S0_WCLK>,
                                 <&audiocrm AUDIO_I2S0_PCLK>;
                        clock-names = "wclk", "pclk";
+                       assigned-clocks = <&audiocrm I2S0_WCLK_MUX>;
+                       assigned-clock-parents = <&topcrm AUDIO_99M>;
                        interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
                        dmas = <&dma 22>, <&dma 23>;
                        dma-names = "tx", "rx";