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-mackerel.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-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 425962d5b29c..aa4bcc347044 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -400,6 +400,10 @@ static struct platform_device hdmi_device = { | |||
400 | }, | 400 | }, |
401 | }; | 401 | }; |
402 | 402 | ||
403 | static struct platform_device fsi_hdmi_device = { | ||
404 | .name = "sh_fsi2_b_hdmi", | ||
405 | }; | ||
406 | |||
403 | static int __init hdmi_init_pm_clock(void) | 407 | static int __init hdmi_init_pm_clock(void) |
404 | { | 408 | { |
405 | struct clk *hdmi_ick = clk_get(&hdmi_device.dev, "ick"); | 409 | struct clk *hdmi_ick = clk_get(&hdmi_device.dev, "ick"); |
@@ -920,6 +924,7 @@ static struct platform_device *mackerel_devices[] __initdata = { | |||
920 | &leds_device, | 924 | &leds_device, |
921 | &fsi_device, | 925 | &fsi_device, |
922 | &fsi_ak4643_device, | 926 | &fsi_ak4643_device, |
927 | &fsi_hdmi_device, | ||
923 | &sdhi0_device, | 928 | &sdhi0_device, |
924 | #if !defined(CONFIG_MMC_SH_MMCIF) | 929 | #if !defined(CONFIG_MMC_SH_MMCIF) |
925 | &sdhi1_device, | 930 | &sdhi1_device, |