Commit | Line | Data |
---|---|---|
1536a968 KM |
1 | /* |
2 | * Renesas R-Car SRU/SCU/SSIU/SSI support | |
3 | * | |
4 | * Copyright (C) 2013 Renesas Solutions Corp. | |
5 | * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | #ifndef RCAR_SND_H | |
13 | #define RCAR_SND_H | |
14 | ||
15 | #include <linux/sh_clk.h> | |
16 | ||
17 | ||
18 | #define RSND_BASE_MAX 0 | |
19 | ||
20 | struct rsnd_dai_platform_info { | |
21 | int ssi_id_playback; | |
22 | int ssi_id_capture; | |
23 | }; | |
24 | ||
25 | struct rcar_snd_info { | |
26 | u32 flags; | |
27 | struct rsnd_dai_platform_info *dai_info; | |
28 | int dai_info_nr; | |
29 | int (*start)(int id); | |
30 | int (*stop)(int id); | |
31 | }; | |
32 | ||
33 | #endif |