aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Tull <alan.tull@freescale.com>2011-06-07 12:59:03 -0500
committerEric Miao <eric.miao@linaro.org>2011-10-18 17:13:05 +0800
commitfe5af8ed164072a23a8e32c94efe412d0ab9dc18 (patch)
treecd166a8e997a5baac1f81f59b8794e86b5083a59 /include
parentf454b41a1b7f139a9da69144880a4d3daed68776 (diff)
SAUCE: ENGR00139461-2 mxc alsa soc spdif driver
BugLink: http://bugs.launchpad.net/bugs/837155 S/PDIF tx and rx using ASoC layer. Signed-off-by: Alan Tull <alan.tull@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
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 f82c91f8319..cb624eaff19 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -276,6 +276,17 @@ struct mxc_audio_platform_data {
void *priv; /* used by board specific functions */
};
+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).