ASoC: rsnd: rsnd_reg cleanup for SSIU
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Oct 2016 04:28:06 +0000 (04:28 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 26 Oct 2016 16:46:17 +0000 (17:46 +0100)
R-Car Gen1 didn't have SSIU IP, and it was part of SRU.
In Gen2, SSIU was created and it has original register.
Let's cleanup rsnd_reg for SSIU, because this driver
doesn't support Gen1 SRU any more.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsnd.h

index ff8c03601810690404a74a451e13627e3529d4c8..678a9914c96fce9a54b8350c9003950f38f5ac5a 100644 (file)
  * see gen1/gen2 for detail
  */
 enum rsnd_reg {
-       /* SCU (SRC/SSIU/MIX/CTU/DVC) */
-       RSND_REG_SSI_MODE,
-       RSND_REG_SSI_MODE0,
-       RSND_REG_SSI_MODE1,
-       RSND_REG_SSI_MODE2,
-       RSND_REG_SSI_CONTROL,
-       RSND_REG_SSI_CTRL,
-       RSND_REG_SSI_BUSIF_MODE,
-       RSND_REG_SSI_BUSIF_ADINR,
-       RSND_REG_SSI_BUSIF_DALIGN,
-       RSND_REG_SSI_INT_ENABLE,
+       /* SCU (MIX/CTU/DVC) */
        RSND_REG_SRC_I_BUSIF_MODE,
        RSND_REG_SRC_O_BUSIF_MODE,
        RSND_REG_SRC_ROUTE_MODE0,
@@ -160,6 +150,18 @@ enum rsnd_reg {
        RSND_REG_AUDIO_CLK_SEL1,
        RSND_REG_AUDIO_CLK_SEL2,
 
+       /* SSIU */
+       RSND_REG_SSI_MODE,
+       RSND_REG_SSI_MODE0,
+       RSND_REG_SSI_MODE1,
+       RSND_REG_SSI_MODE2,
+       RSND_REG_SSI_CONTROL,
+       RSND_REG_SSI_CTRL,
+       RSND_REG_SSI_BUSIF_MODE,
+       RSND_REG_SSI_BUSIF_ADINR,
+       RSND_REG_SSI_BUSIF_DALIGN,
+       RSND_REG_SSI_INT_ENABLE,
+
        /* SSI */
        RSND_REG_SSICR,
        RSND_REG_SSISR,