summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-07-21 21:36:21 -0700
committerMark Brown <broonie@linaro.org>2013-07-28 19:34:09 +0100
commit3337744ac41bee00b0068ad5f926dd9c27540809 (patch)
tree3a7577c4e2d4c78b6f20ad922670e3abd38b0892 /include/sound
parentcdaa3cdfb4a710545a53740b1780a683b043618a (diff)
downloadop-kernel-dev-3337744ac41bee00b0068ad5f926dd9c27540809.zip
op-kernel-dev-3337744ac41bee00b0068ad5f926dd9c27540809.tar.gz
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 7272b2e..14942a8 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -22,6 +22,16 @@ struct rsnd_dai_platform_info {
int ssi_id_capture;
};
+/*
+ * flags
+ *
+ * 0x0000000A
+ *
+ * A : generation
+ */
+#define RSND_GEN1 (1 << 0) /* fixme */
+#define RSND_GEN2 (2 << 0) /* fixme */
+
struct rcar_snd_info {
u32 flags;
struct rsnd_dai_platform_info *dai_info;
OpenPOWER on IntegriCloud