On Mon, Aug 12, 2013 at 08:05:27PM +0800, Nicolin Chen wrote:
This patch add S/PDIF controller driver for Freescale SoC.
Signed-off-by: Nicolin Chen b42...@freescale.com
+
+Required properties:
+
+ - compatible : Compatible list, contains fsl,chip-spdif. Using general
+ fsl,fsl-spdif
Hi Sascha,
On Wed, Aug 14, 2013 at 09:50:17AM +0200, Sascha Hauer wrote:
+ - tx-clksrc-names : The names for all available clock sources for tx,
which
+ is also being listed in SoC reference manual, ClkSrc_Sel bit of
SPDIF_SRPC.
+ And the name list would be different between
On Wed, Aug 14, 2013 at 04:48:02PM +0800, Nicolin Chen wrote:
Hi Sascha,
On Wed, Aug 14, 2013 at 09:50:17AM +0200, Sascha Hauer wrote:
+ - tx-clksrc-names : The names for all available clock sources for tx,
which
+ is also being listed in SoC reference manual, ClkSrc_Sel bit of
Hi,
On Wed, Aug 14, 2013 at 11:56:52AM +0200, Sascha Hauer wrote:
I think I should first explain to you what this part is doing:
The driver needs to set Clk_source bit for TX/RX to select the
clock from a clock mux. The names listed above are those of the
clocks connecting to the mux,
Am Mittwoch, den 14.08.2013, 16:48 +0800 schrieb Nicolin Chen:
Hi Sascha,
On Wed, Aug 14, 2013 at 09:50:17AM +0200, Sascha Hauer wrote:
+ - tx-clksrc-names : The names for all available clock sources for tx,
which
+ is also being listed in SoC reference manual, ClkSrc_Sel bit of
On Wed, Aug 14, 2013 at 06:23:46PM +0800, Nicolin Chen wrote:
Hi,
Surely, if I misunderstand your point, please correct me. And
if you have any sage idea, please guide me.
Something like this:
clocks = clks 197, clks 3, clks 197, clks 107, clks
SPDIF_EXT,
clks 118,
Hi Philipp,
Thank again for the comments.
On Wed, Aug 14, 2013 at 02:06:24PM +0200, Philipp Zabel wrote:
==
From i.MX53 reference manual:
if (DPLL Locked) SPDIF_RxClk else extal
0001 if (DPLL Locked) SPDIF_RxClk else
On Wed, Aug 14, 2013 at 02:19:37PM +0200, Sascha Hauer wrote:
Yes, since the clk names are not an API. Exposing them to the devicetree
is not an option. The fact that the names are defined in
arch/arm/mach-imx/clk-imx6q.c and are used in the spdif driver makes
this really clear.
The spdif
This patch add S/PDIF controller driver for Freescale SoC.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
.../devicetree/bindings/sound/fsl,spdif.txt| 100 ++
sound/soc/fsl/Kconfig |3 +
sound/soc/fsl/Makefile |2 +