diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-08-22 21:35:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-24 06:19:16 -0400 |
commit | d12c6216c4a58f9fd2a58bc489783a095d84b2fc (patch) | |
tree | 8e4d89b54dc9f3cc1f137edca2533aec164e4ce2 | |
parent | 64df0e6842925311d74f6944710495981d5a0ace (diff) |
ASoC: rsrc-card: rename rsrc-card to simple-scu-card phase3
rsrc-card which is using DPCM feature was created for Renesas sound.
But not only Renesas, but many SoC can use this driver, because
it is based on simple-card driver.
To use it as more open driver, rsrc-card will be renamed to
simple-scu-card. In order to easy patch review, as 3rd step,
this patch moves rsrc-card driver to generic folder.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/simple-scu-card.txt (renamed from Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt) | 0 | ||||
-rw-r--r-- | sound/soc/generic/Kconfig | 7 | ||||
-rw-r--r-- | sound/soc/generic/Makefile | 2 | ||||
-rw-r--r-- | sound/soc/generic/simple-scu-card.c (renamed from sound/soc/sh/rcar/rsrc-card.c) | 0 | ||||
-rw-r--r-- | sound/soc/sh/Kconfig | 6 | ||||
-rw-r--r-- | sound/soc/sh/rcar/Makefile | 3 |
6 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt b/Documentation/devicetree/bindings/sound/simple-scu-card.txt index ecb4a249fe6e..ecb4a249fe6e 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt +++ b/Documentation/devicetree/bindings/sound/simple-scu-card.txt | |||
diff --git a/sound/soc/generic/Kconfig b/sound/soc/generic/Kconfig index c01c5dd68601..2d0ff037c5a1 100644 --- a/sound/soc/generic/Kconfig +++ b/sound/soc/generic/Kconfig | |||
@@ -6,3 +6,10 @@ config SND_SIMPLE_CARD | |||
6 | select SND_SIMPLE_CARD_UTILS | 6 | select SND_SIMPLE_CARD_UTILS |
7 | help | 7 | help |
8 | This option enables generic simple sound card support | 8 | This option enables generic simple sound card support |
9 | |||
10 | config SND_SIMPLE_SCU_CARD | ||
11 | tristate "ASoC Simple SCU sound card support" | ||
12 | select SND_SIMPLE_CARD_UTILS | ||
13 | help | ||
14 | This option enables generic simple SCU sound card support. | ||
15 | It supports DPCM of multi CPU single Codec ststem. | ||
diff --git a/sound/soc/generic/Makefile b/sound/soc/generic/Makefile index 2d53c8d70705..ee750f3023ba 100644 --- a/sound/soc/generic/Makefile +++ b/sound/soc/generic/Makefile | |||
@@ -1,5 +1,7 @@ | |||
1 | snd-soc-simple-card-utils-objs := simple-card-utils.o | 1 | snd-soc-simple-card-utils-objs := simple-card-utils.o |
2 | snd-soc-simple-card-objs := simple-card.o | 2 | snd-soc-simple-card-objs := simple-card.o |
3 | snd-soc-simple-scu-card-objs := simple-scu-card.o | ||
3 | 4 | ||
4 | obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) += snd-soc-simple-card-utils.o | 5 | obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) += snd-soc-simple-card-utils.o |
5 | obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o | 6 | obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o |
7 | obj-$(CONFIG_SND_SIMPLE_SCU_CARD) += snd-soc-simple-scu-card.o | ||
diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/generic/simple-scu-card.c index 3fa19084e326..3fa19084e326 100644 --- a/sound/soc/sh/rcar/rsrc-card.c +++ b/sound/soc/generic/simple-scu-card.c | |||
diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig index 9311f119feb5..6db6405d952f 100644 --- a/sound/soc/sh/Kconfig +++ b/sound/soc/sh/Kconfig | |||
@@ -42,12 +42,6 @@ config SND_SOC_RCAR | |||
42 | help | 42 | help |
43 | This option enables R-Car SRU/SCU/SSIU/SSI sound support | 43 | This option enables R-Car SRU/SCU/SSIU/SSI sound support |
44 | 44 | ||
45 | config SND_SOC_RSRC_CARD | ||
46 | tristate "Renesas Sampling Rate Convert Sound Card" | ||
47 | select SND_SIMPLE_CARD_UTILS | ||
48 | help | ||
49 | This option enables simple sound if you need sampling rate convert | ||
50 | |||
51 | ## | 45 | ## |
52 | ## Boards | 46 | ## Boards |
53 | ## | 47 | ## |
diff --git a/sound/soc/sh/rcar/Makefile b/sound/soc/sh/rcar/Makefile index a89ddf758695..9c3d5aed99d1 100644 --- a/sound/soc/sh/rcar/Makefile +++ b/sound/soc/sh/rcar/Makefile | |||
@@ -1,5 +1,2 @@ | |||
1 | snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o | 1 | snd-soc-rcar-objs := core.o gen.o dma.o adg.o ssi.o ssiu.o src.o ctu.o mix.o dvc.o cmd.o |
2 | obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o | 2 | obj-$(CONFIG_SND_SOC_RCAR) += snd-soc-rcar.o |
3 | |||
4 | snd-soc-rsrc-card-objs := rsrc-card.o | ||
5 | obj-$(CONFIG_SND_SOC_RSRC_CARD) += snd-soc-rsrc-card.o | ||