aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ap4evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/board-ap4evb.c')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 3cf0951caa2d..17f528a76a1c 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -673,16 +673,12 @@ static int fsi_set_rate(struct device *dev, int is_porta, int rate, int enable)
673} 673}
674 674
675static struct sh_fsi_platform_info fsi_info = { 675static struct sh_fsi_platform_info fsi_info = {
676 .porta_flags = SH_FSI_BRS_INV | 676 .porta_flags = SH_FSI_BRS_INV,
677 SH_FSI_OUT_SLAVE_MODE |
678 SH_FSI_IN_SLAVE_MODE |
679 SH_FSI_OFMT(PCM) |
680 SH_FSI_IFMT(PCM),
681 677
682 .portb_flags = SH_FSI_BRS_INV | 678 .portb_flags = SH_FSI_BRS_INV |
683 SH_FSI_BRM_INV | 679 SH_FSI_BRM_INV |
684 SH_FSI_LRS_INV | 680 SH_FSI_LRS_INV |
685 SH_FSI_OFMT(SPDIF), 681 SH_FSI_FMT_SPDIF,
686 .set_rate = fsi_set_rate, 682 .set_rate = fsi_set_rate,
687}; 683};
688 684
@@ -783,6 +779,10 @@ static struct platform_device hdmi_device = {
783 }, 779 },
784}; 780};
785 781
782static struct platform_device fsi_hdmi_device = {
783 .name = "sh_fsi2_b_hdmi",
784};
785
786static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq, 786static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq,
787 unsigned long *parent_freq) 787 unsigned long *parent_freq)
788{ 788{
@@ -936,6 +936,7 @@ static struct platform_device *ap4evb_devices[] __initdata = {
936 &usb1_host_device, 936 &usb1_host_device,
937 &fsi_device, 937 &fsi_device,
938 &fsi_ak4643_device, 938 &fsi_ak4643_device,
939 &fsi_hdmi_device,
939 &sh_mmcif_device, 940 &sh_mmcif_device,
940 &lcdc1_device, 941 &lcdc1_device,
941 &lcdc_device, 942 &lcdc_device,