aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ap4evb.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-03-16 12:38:41 -0400
committerTakashi Iwai <tiwai@suse.de>2011-03-16 12:38:41 -0400
commit27b92d4ff2be2359a21ff4acde5b63563ff720e2 (patch)
tree49691b22fe1318aa68d5ebdff74795f004f0cf8f /arch/arm/mach-shmobile/board-ap4evb.c
parent5de0ee574be8f6922a6c33f2fbc7e9b130a2f626 (diff)
parente58a8947b0264ec1f43ce5deef563b72acf1284f (diff)
Merge branch 'topic/asoc' into for-linus
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 81d6536552a9..1a8118c929be 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,