aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-22 00:36:21 -0400
committerMark Brown <broonie@linaro.org>2013-07-28 14:34:09 -0400
commit3337744ac41bee00b0068ad5f926dd9c27540809 (patch)
tree3a7577c4e2d4c78b6f20ad922670e3abd38b0892 /include/sound
parentcdaa3cdfb4a710545a53740b1780a683b043618a (diff)
ASoC: add Renesas R-Car Generation feature
Renesas R-Car series sound circuit consists of SSI and its peripheral. But this peripheral circuit is different between R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2) (Actually, there are many difference in Generation1 chips) The main difference between Gen1 and Gen2 are 1) register offset, 2) data path In order to control Gen1/Gen2 by same method, this patch adds gen.c. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rcar_snd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index 7272b2ea7108..14942a827fe5 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -22,6 +22,16 @@ struct rsnd_dai_platform_info {
22 int ssi_id_capture; 22 int ssi_id_capture;
23}; 23};
24 24
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
25struct rcar_snd_info { 35struct rcar_snd_info {
26 u32 flags; 36 u32 flags;
27 struct rsnd_dai_platform_info *dai_info; 37 struct rsnd_dai_platform_info *dai_info;