ASoC: add Renesas R-Car Generation feature
[deliverable/linux.git] / include / sound / rcar_snd.h
CommitLineData
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
20struct rsnd_dai_platform_info {
21 int ssi_id_playback;
22 int ssi_id_capture;
23};
24
3337744a
KM
25/*
26 * flags
27 *
28 * 0x0000000A
29 *
30 * A : generation
31 */
32#define RSND_GEN1 (1 << 0) /* fixme */
33#define RSND_GEN2 (2 << 0) /* fixme */
34
1536a968
KM
35struct rcar_snd_info {
36 u32 flags;
37 struct rsnd_dai_platform_info *dai_info;
38 int dai_info_nr;
39 int (*start)(int id);
40 int (*stop)(int id);
41};
42
43#endif
This page took 0.024713 seconds and 5 git commands to generate.