aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 06:06:43 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 06:06:43 -0500
commit6ee00c164e2d1ab8f88e5c461b494bbb40efe0ba (patch)
treec17f517d7ab719d30bff6b14b20b00a5787c7593 /arch/sh
parent2944c2f5d5c88d5893d6a1dad51d0768aed52d00 (diff)
parenta4a2992c531f6ca0aa00ce0deb31e51c1b7ae69b (diff)
Merge remote-tracking branch 'asoc/topic/simple-card' into asoc-next
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c19
-rw-r--r--arch/sh/boards/mach-se/7724/setup.c21
2 files changed, 19 insertions, 21 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 023b3f06b728..aaff7671101b 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -907,21 +907,20 @@ static struct platform_device fsi_device = {
907 .resource = fsi_resources, 907 .resource = fsi_resources,
908}; 908};
909 909
910static struct asoc_simple_dai_init_info fsi_da7210_init_info = {
911 .fmt = SND_SOC_DAIFMT_I2S,
912 .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM,
913 .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS |
914 SND_SOC_DAIFMT_IB_NF,
915};
916
917static struct asoc_simple_card_info fsi_da7210_info = { 910static struct asoc_simple_card_info fsi_da7210_info = {
918 .name = "DA7210", 911 .name = "DA7210",
919 .card = "FSIB-DA7210", 912 .card = "FSIB-DA7210",
920 .cpu_dai = "fsib-dai",
921 .codec = "da7210.0-001a", 913 .codec = "da7210.0-001a",
922 .platform = "sh_fsi.0", 914 .platform = "sh_fsi.0",
923 .codec_dai = "da7210-hifi", 915 .daifmt = SND_SOC_DAIFMT_I2S,
924 .init = &fsi_da7210_init_info, 916 .cpu_dai = {
917 .name = "fsib-dai",
918 .fmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_IB_NF,
919 },
920 .codec_dai = {
921 .name = "da7210-hifi",
922 .fmt = SND_SOC_DAIFMT_CBM_CFM,
923 },
925}; 924};
926 925
927static struct platform_device fsi_da7210_device = { 926static struct platform_device fsi_da7210_device = {
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 975608f5e805..4010e63e82d8 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -299,22 +299,21 @@ static struct platform_device fsi_device = {
299 .resource = fsi_resources, 299 .resource = fsi_resources,
300}; 300};
301 301
302static struct asoc_simple_dai_init_info fsi2_ak4642_init_info = {
303 .fmt = SND_SOC_DAIFMT_LEFT_J,
304 .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM,
305 .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS |
306 SND_SOC_DAIFMT_IB_NF,
307 .sysclk = 11289600,
308};
309
310static struct asoc_simple_card_info fsi_ak4642_info = { 302static struct asoc_simple_card_info fsi_ak4642_info = {
311 .name = "AK4642", 303 .name = "AK4642",
312 .card = "FSIA-AK4642", 304 .card = "FSIA-AK4642",
313 .cpu_dai = "fsia-dai",
314 .codec = "ak4642-codec.0-0012", 305 .codec = "ak4642-codec.0-0012",
315 .platform = "sh_fsi.0", 306 .platform = "sh_fsi.0",
316 .codec_dai = "ak4642-hifi", 307 .daifmt = SND_SOC_DAIFMT_LEFT_J,
317 .init = &fsi2_ak4642_init_info, 308 .cpu_dai = {
309 .name = "fsia-dai",
310 .fmt = SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_IB_NF,
311 },
312 .codec_dai = {
313 .name = "ak4642-hifi",
314 .fmt = SND_SOC_DAIFMT_CBM_CFM,
315 .sysclk = 11289600,
316 },
318}; 317};
319 318
320static struct platform_device fsi_ak4642_device = { 319static struct platform_device fsi_ak4642_device = {