0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __SOUND_FSI_H
0009 #define __SOUND_FSI_H
0010
0011 #include <linux/clk.h>
0012 #include <sound/soc.h>
0013
0014
0015
0016
0017 #define SH_FSI_FMT_SPDIF (1 << 0)
0018 #define SH_FSI_ENABLE_STREAM_MODE (1 << 1)
0019 #define SH_FSI_CLK_CPG (1 << 2)
0020
0021 struct sh_fsi_port_info {
0022 unsigned long flags;
0023 int tx_id;
0024 int rx_id;
0025 };
0026
0027 struct sh_fsi_platform_info {
0028 struct sh_fsi_port_info port_a;
0029 struct sh_fsi_port_info port_b;
0030 };
0031
0032 #endif