Merge tag 'thunderbolt-for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / include / sound / sh_fsi.h
blob89eafe23ef8871d742a001f29ec2bc670d42c041
1 /* SPDX-License-Identifier: GPL-2.0
3 * Fifo-attached Serial Interface (FSI) support for SH7724
5 * Copyright (C) 2009 Renesas Solutions Corp.
6 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
7 */
8 #ifndef __SOUND_FSI_H
9 #define __SOUND_FSI_H
11 #include <linux/clk.h>
12 #include <sound/soc.h>
15 * flags
17 #define SH_FSI_FMT_SPDIF (1 << 0) /* spdif for HDMI */
18 #define SH_FSI_ENABLE_STREAM_MODE (1 << 1) /* for 16bit data */
19 #define SH_FSI_CLK_CPG (1 << 2) /* FSIxCK + FSI-DIV */
21 struct sh_fsi_port_info {
22 unsigned long flags;
23 int tx_id;
24 int rx_id;
27 struct sh_fsi_platform_info {
28 struct sh_fsi_port_info port_a;
29 struct sh_fsi_port_info port_b;
32 #endif /* __SOUND_FSI_H */