aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-ecovec24/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/mach-ecovec24/setup.c')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 63002c8a0ec8..4158d70c0dea 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -33,6 +33,7 @@
33#include <linux/videodev2.h> 33#include <linux/videodev2.h>
34#include <video/sh_mobile_lcdc.h> 34#include <video/sh_mobile_lcdc.h>
35#include <sound/sh_fsi.h> 35#include <sound/sh_fsi.h>
36#include <sound/simple_card.h>
36#include <media/sh_mobile_ceu.h> 37#include <media/sh_mobile_ceu.h>
37#include <media/soc_camera.h> 38#include <media/soc_camera.h>
38#include <media/tw9910.h> 39#include <media/tw9910.h>
@@ -811,6 +812,30 @@ static struct platform_device fsi_device = {
811 }, 812 },
812}; 813};
813 814
815static struct asoc_simple_dai_init_info fsi_da7210_init_info = {
816 .fmt = SND_SOC_DAIFMT_I2S,
817 .codec_daifmt = SND_SOC_DAIFMT_CBM_CFM,
818 .cpu_daifmt = SND_SOC_DAIFMT_CBS_CFS,
819};
820
821static struct asoc_simple_card_info fsi_da7210_info = {
822 .name = "DA7210",
823 .card = "FSIB-DA7210",
824 .cpu_dai = "fsib-dai",
825 .codec = "da7210.0-001a",
826 .platform = "sh_fsi.0",
827 .codec_dai = "da7210-hifi",
828 .init = &fsi_da7210_init_info,
829};
830
831static struct platform_device fsi_da7210_device = {
832 .name = "asoc-simple-card",
833 .dev = {
834 .platform_data = &fsi_da7210_info,
835 },
836};
837
838
814/* IrDA */ 839/* IrDA */
815static struct resource irda_resources[] = { 840static struct resource irda_resources[] = {
816 [0] = { 841 [0] = {
@@ -947,6 +972,7 @@ static struct platform_device *ecovec_devices[] __initdata = {
947 &camera_devices[1], 972 &camera_devices[1],
948 &camera_devices[2], 973 &camera_devices[2],
949 &fsi_device, 974 &fsi_device,
975 &fsi_da7210_device,
950 &irda_device, 976 &irda_device,
951 &vou_device, 977 &vou_device,
952#if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE) 978#if defined(CONFIG_MMC_SH_MMCIF) || defined(CONFIG_MMC_SH_MMCIF_MODULE)