diff options
author | Alan Tull <alan.tull@freescale.com> | 2011-06-07 12:59:03 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2011-12-04 23:13:45 +0800 |
commit | a31a4c689874df6f217ac21ece9df08e2ebadfdd (patch) | |
tree | e9e55ddc8f18a46ddf9d468efe6c8552a0d05c81 /include | |
parent | b938394737f7dd37b3c518a8cd140fd7867ab492 (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.h | 11 |
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). |