5 * Fifo-attached Serial Interface (FSI) support for SH7724
7 * Copyright (C) 2009 Renesas Solutions Corp.
8 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
18 #include <linux/clk.h>
19 #include <sound/soc.h>
29 * D: clock selecter if master mode
33 #define SH_FSI_FMT_MASK 0x000000F0
34 #define SH_FSI_FMT_DAI (0 << 4)
35 #define SH_FSI_FMT_SPDIF (1 << 4)
37 /* C: chip specific */
38 #define SH_FSI_OPTION_MASK 0x00000F00
39 #define SH_FSI_ENABLE_STREAM_MODE (1 << 8) /* for 16bit data */
41 /* D: clock selecter if master mode */
42 #define SH_FSI_CLK_MASK 0x0000F000
43 #define SH_FSI_CLK_EXTERNAL (0 << 12)
44 #define SH_FSI_CLK_CPG (1 << 12) /* FSIxCK + FSI-DIV */
46 struct sh_fsi_port_info
{
52 struct sh_fsi_platform_info
{
53 struct sh_fsi_port_info port_a
;
54 struct sh_fsi_port_info port_b
;
57 #endif /* __SOUND_FSI_H */
This page took 0.032475 seconds and 6 git commands to generate.