diff options
author | Alan Tull <alan.tull@freescale.com> | 2011-06-28 11:18:05 -0500 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:02:20 +0800 |
commit | bc29d99ebda87ade2534e0c6b080420022beb617 (patch) | |
tree | 63e425e0067f8f239070f0a53e1b90e31aca925d /include/linux/fsl_devices.h | |
parent | 626fc60bc93c7c1fa969e235dcc3891b8f592236 (diff) |
ENGR00139265-2 mxc alsa soc spdif driver
* Add spdif block clock divider settings and spdif_clk_set_rate
function to mxc_spdif_platform_data.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r-- | include/linux/fsl_devices.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 2b8fc9b61efb..41f00552e3aa 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -330,7 +330,11 @@ struct mxc_spdif_platform_data { 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 */ + int spdif_div_44100; /* tx clk div in SPDIF_REG_STC */ + int spdif_div_48000; /* tx clk div in SPDIF_REG_STC */ + int spdif_div_32000; /* tx clk div in SPDIF_REG_STC */ + int spdif_rx_clk; /* rx clk mux select in SPDIF_REG_SRPC */ + int (*spdif_clk_set_rate) (struct clk *clk, unsigned long rate); struct clk *spdif_clk; struct clk *spdif_core_clk; struct clk *spdif_audio_clk; |