diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-11 06:06:35 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-11 06:06:35 -0500 |
commit | d0c65252c4fdd306f2dbcf5c14181001bfdbe70e (patch) | |
tree | 8147240ba0160e9558fd014cccb329c0b6f369ea /arch/sh/boards | |
parent | 1b4327dced27fdddc38b938e393f8e9dc7bd8f66 (diff) | |
parent | e43fc6af2538a7a30e695227928eed8a29aa4f63 (diff) |
Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next
Diffstat (limited to 'arch/sh/boards')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 12 | ||||
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 12 |
2 files changed, 4 insertions, 20 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index a0fa5791cd44..023b3f06b728 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -887,12 +887,6 @@ static struct platform_device camera_devices[] = { | |||
887 | }; | 887 | }; |
888 | 888 | ||
889 | /* FSI */ | 889 | /* FSI */ |
890 | static struct sh_fsi_platform_info fsi_info = { | ||
891 | .port_b = { | ||
892 | .flags = SH_FSI_BRS_INV, | ||
893 | }, | ||
894 | }; | ||
895 | |||
896 | static struct resource fsi_resources[] = { | 890 | static struct resource fsi_resources[] = { |
897 | [0] = { | 891 | [0] = { |
898 | .name = "FSI", | 892 | .name = "FSI", |
@@ -911,15 +905,13 @@ static struct platform_device fsi_device = { | |||
911 | .id = 0, | 905 | .id = 0, |
912 | .num_resources = ARRAY_SIZE(fsi_resources), | 906 | .num_resources = ARRAY_SIZE(fsi_resources), |
913 | .resource = fsi_resources, | 907 | .resource = fsi_resources, |
914 | .dev = { | ||
915 | .platform_data = &fsi_info, | ||
916 | }, | ||
917 | }; | 908 | }; |
918 | 909 | ||
919 | static struct asoc_simple_dai_init_info fsi_da7210_init_info = { | 910 | static struct asoc_simple_dai_init_info fsi_da7210_init_info = { |
920 | .fmt = SND_SOC_DAIFMT_I2S, | 911 | .fmt = SND_SOC_DAIFMT_I2S, |
921 | .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM, | 912 | .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM, |
922 | .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS, | 913 | .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS | |
914 | SND_SOC_DAIFMT_IB_NF, | ||
923 | }; | 915 | }; |
924 | 916 | ||
925 | static struct asoc_simple_card_info fsi_da7210_info = { | 917 | static struct asoc_simple_card_info fsi_da7210_info = { |
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 35f6efa3ac0e..975608f5e805 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -279,12 +279,6 @@ static struct platform_device ceu1_device = { | |||
279 | 279 | ||
280 | /* FSI */ | 280 | /* FSI */ |
281 | /* change J20, J21, J22 pin to 1-2 connection to use slave mode */ | 281 | /* change J20, J21, J22 pin to 1-2 connection to use slave mode */ |
282 | static struct sh_fsi_platform_info fsi_info = { | ||
283 | .port_a = { | ||
284 | .flags = SH_FSI_BRS_INV, | ||
285 | }, | ||
286 | }; | ||
287 | |||
288 | static struct resource fsi_resources[] = { | 282 | static struct resource fsi_resources[] = { |
289 | [0] = { | 283 | [0] = { |
290 | .name = "FSI", | 284 | .name = "FSI", |
@@ -303,15 +297,13 @@ static struct platform_device fsi_device = { | |||
303 | .id = 0, | 297 | .id = 0, |
304 | .num_resources = ARRAY_SIZE(fsi_resources), | 298 | .num_resources = ARRAY_SIZE(fsi_resources), |
305 | .resource = fsi_resources, | 299 | .resource = fsi_resources, |
306 | .dev = { | ||
307 | .platform_data = &fsi_info, | ||
308 | }, | ||
309 | }; | 300 | }; |
310 | 301 | ||
311 | static struct asoc_simple_dai_init_info fsi2_ak4642_init_info = { | 302 | static struct asoc_simple_dai_init_info fsi2_ak4642_init_info = { |
312 | .fmt = SND_SOC_DAIFMT_LEFT_J, | 303 | .fmt = SND_SOC_DAIFMT_LEFT_J, |
313 | .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM, | 304 | .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM, |
314 | .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS, | 305 | .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS | |
306 | SND_SOC_DAIFMT_IB_NF, | ||
315 | .sysclk = 11289600, | 307 | .sysclk = 11289600, |
316 | }; | 308 | }; |
317 | 309 | ||