aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlan Tull <alan.tull@freescale.com>2011-06-07 12:59:03 -0500
committerEric Miao <eric.miao@canonical.com>2011-11-10 07:38:00 +0800
commitd25bc4147a392a34d0c70f0e5ac2ebed52a94bfa (patch)
tree671f33e4f225fcf916ef39f540788165ca9cd688 /include/linux
parent68ad28bd473e964a64a3c87874d5de7b41e7cf91 (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/linux')
-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 3fb6ce22bf4..2a4904878d1 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).