aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ap4evb.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-11-29 21:32:04 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-30 06:34:44 -0500
commitc8d6bf9a7b282255cd155b676ff91b08266b8529 (patch)
treece498262399f2f1a03ea1a502c0de17759641ab7 /arch/arm/mach-shmobile/board-ap4evb.c
parent649e5fb033bbadbfa78aba5e2711f1faf2affaf0 (diff)
ASoC: sh: fsi-ak4642: Add FSI port and ak464x selection
Current FSI-Ak4642 device had niche settings which were FSI2-A-AK4643 and FSI-A-AK4642. This patch add platform_device_id which can control FSI/FSI2, PortA/PortB, AK4642/AK4643 from platform data. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index d3260542b943..82c3204af899 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -640,6 +640,10 @@ static struct platform_device fsi_device = {
640 }, 640 },
641}; 641};
642 642
643static struct platform_device fsi_ak4643_device = {
644 .name = "sh_fsi2_a_ak4643",
645};
646
643static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = { 647static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = {
644 .clock_source = LCDC_CLK_EXTERNAL, 648 .clock_source = LCDC_CLK_EXTERNAL,
645 .ch[0] = { 649 .ch[0] = {
@@ -838,6 +842,7 @@ static struct platform_device *ap4evb_devices[] __initdata = {
838 &sdhi1_device, 842 &sdhi1_device,
839 &usb1_host_device, 843 &usb1_host_device,
840 &fsi_device, 844 &fsi_device,
845 &fsi_ak4643_device,
841 &sh_mmcif_device, 846 &sh_mmcif_device,
842 &lcdc1_device, 847 &lcdc1_device,
843 &lcdc_device, 848 &lcdc_device,