diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-01-23 20:09:02 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-25 10:15:24 -0500 |
commit | 3f25c9ccb7409e6f61c11e7828c0ddb54ab1cb7b (patch) | |
tree | fe370fad65d0cdaf31884af905c9d7fdc04da682 /arch/arm/mach-shmobile/board-ap4evb.c | |
parent | 3d23c73fa0a47e8aecd2a4d8f280f45f6f7611a1 (diff) |
ASoC: sh: fsi-hdmi: Add FSI port and HDMI selection
This patch add platform_device_id which can control
PortA/PortB for FSI2-HDMI from platform data.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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.c | 5 |
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 d503a74e30e4..920ed81f1c61 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -781,6 +781,10 @@ static struct platform_device hdmi_device = { | |||
781 | }, | 781 | }, |
782 | }; | 782 | }; |
783 | 783 | ||
784 | static struct platform_device fsi_hdmi_device = { | ||
785 | .name = "sh_fsi2_b_hdmi", | ||
786 | }; | ||
787 | |||
784 | static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq, | 788 | static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq, |
785 | unsigned long *parent_freq) | 789 | unsigned long *parent_freq) |
786 | { | 790 | { |
@@ -934,6 +938,7 @@ static struct platform_device *ap4evb_devices[] __initdata = { | |||
934 | &usb1_host_device, | 938 | &usb1_host_device, |
935 | &fsi_device, | 939 | &fsi_device, |
936 | &fsi_ak4643_device, | 940 | &fsi_ak4643_device, |
941 | &fsi_hdmi_device, | ||
937 | &sh_mmcif_device, | 942 | &sh_mmcif_device, |
938 | &lcdc1_device, | 943 | &lcdc1_device, |
939 | &lcdc_device, | 944 | &lcdc_device, |