From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guangyu.Chen@freescale.com (Nicolin Chen) Date: Mon, 16 Jun 2014 10:27:15 +0800 Subject: [PATCH 1/2] ARM: dts: imx6: remove wrong spdif rxtx2 clock In-Reply-To: <1402875585-29025-1-git-send-email-anssi.hannula@iki.fi> References: <1402875585-29025-1-git-send-email-anssi.hannula@iki.fi> Message-ID: <20140616022713.GA21550@MrMyself> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jun 16, 2014 at 02:39:44AM +0300, Anssi Hannula wrote: > The rxtx2 clock of i.MX6 S/PDIF is currently set to "asrc" clock. > However, according to SoC documentation, rxtx2 is connected to > ASRC_EXT_CLK, a different external clock. > > Testing on Cubox-i system seems to confirm that: when fsl_spdif is > forced to select rxtx2 as input clock, audio playback fails with an I/O > error. > > Set rxtx2 to the dummy clock by default to prevent fsl_spdif from > selecting it. > > Signed-off-by: Anssi Hannula > Cc: Nicolin Chen > Cc: Mark Brown Acked, thank you! P.S. We might also revive rxtx5 (SYSCLK) since the driver now has the capability to derive clock from it. > --- > > This one seems clear enough. > > arch/arm/boot/dts/imx6qdl.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi > index ce0599134a69..3aef9a2f5fda 100644 > --- a/arch/arm/boot/dts/imx6qdl.dtsi > +++ b/arch/arm/boot/dts/imx6qdl.dtsi > @@ -181,7 +181,7 @@ > <&sdma 15 18 0>; > dma-names = "rx", "tx"; > clocks = <&clks 197>, <&clks 3>, > - <&clks 197>, <&clks 107>, > + <&clks 197>, <&clks 0>, > <&clks 0>, <&clks 118>, > <&clks 0>, <&clks 139>, > <&clks 0>; > -- > 1.8.4.5 >