summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Tull <alan.tull@freescale.com>2011-06-07 12:59:03 -0500
committerAlan Tull <alan.tull@freescale.com>2011-06-08 16:02:26 -0500
commit1aac0082fbaee9f90619c60894a17665f76d8596 (patch)
treeabf42c5a3be30e8197cee0939112970e09ceb4d2 /include
parent91af5a07bf2a43e0dac803cf01def4add76f79a5 (diff)
ENGR00139461-2 mxc alsa soc spdif driver
S/PDIF tx and rx using ASoC layer. Signed-off-by: Alan Tull <alan.tull@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 3fb6ce22bf49..2a4904878d11 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -292,6 +292,17 @@ struct mxc_pwm_platform_data {
void (*disable_pwm_pad) (void);
};
+struct mxc_spdif_platform_data {
+ int spdif_tx; /* S/PDIF tx enabled for this board */
+ int spdif_rx; /* S/PDIF rx enabled for this board */
+ int spdif_clk_44100; /* tx clk mux in SPDIF_REG_STC; -1 for none */
+ int spdif_clk_48000; /* tx clk mux in SPDIF_REG_STC; -1 for none */
+ int spdif_clkid; /* rx clk mux select in SPDIF_REG_SRPC */
+ struct clk *spdif_clk;
+ struct clk *spdif_core_clk;
+ struct clk *spdif_audio_clk;
+};
+
/* Returns non-zero if the current suspend operation would
* lead to a deep sleep (i.e. power removed from the core,
* instead of just the clock).