diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 3802f2afabe..17c19dc2560 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -641,6 +641,8 @@ static struct usbhs_private usbhs0_private = { | |||
641 | }, | 641 | }, |
642 | .driver_param = { | 642 | .driver_param = { |
643 | .buswait_bwait = 4, | 643 | .buswait_bwait = 4, |
644 | .d0_tx_id = SHDMA_SLAVE_USB0_TX, | ||
645 | .d1_rx_id = SHDMA_SLAVE_USB0_RX, | ||
644 | }, | 646 | }, |
645 | }, | 647 | }, |
646 | }; | 648 | }; |
@@ -810,6 +812,8 @@ static struct usbhs_private usbhs1_private = { | |||
810 | .buswait_bwait = 4, | 812 | .buswait_bwait = 4, |
811 | .pipe_type = usbhs1_pipe_cfg, | 813 | .pipe_type = usbhs1_pipe_cfg, |
812 | .pipe_size = ARRAY_SIZE(usbhs1_pipe_cfg), | 814 | .pipe_size = ARRAY_SIZE(usbhs1_pipe_cfg), |
815 | .d0_tx_id = SHDMA_SLAVE_USB1_TX, | ||
816 | .d1_rx_id = SHDMA_SLAVE_USB1_RX, | ||
813 | }, | 817 | }, |
814 | }, | 818 | }, |
815 | }; | 819 | }; |
@@ -1192,8 +1196,8 @@ static struct platform_device sh_mmcif_device = { | |||
1192 | }; | 1196 | }; |
1193 | 1197 | ||
1194 | 1198 | ||
1195 | static int mackerel_camera_add(struct soc_camera_link *icl, struct device *dev); | 1199 | static int mackerel_camera_add(struct soc_camera_device *icd); |
1196 | static void mackerel_camera_del(struct soc_camera_link *icl); | 1200 | static void mackerel_camera_del(struct soc_camera_device *icd); |
1197 | 1201 | ||
1198 | static int camera_set_capture(struct soc_camera_platform_info *info, | 1202 | static int camera_set_capture(struct soc_camera_platform_info *info, |
1199 | int enable) | 1203 | int enable) |
@@ -1232,16 +1236,15 @@ static void mackerel_camera_release(struct device *dev) | |||
1232 | soc_camera_platform_release(&camera_device); | 1236 | soc_camera_platform_release(&camera_device); |
1233 | } | 1237 | } |
1234 | 1238 | ||
1235 | static int mackerel_camera_add(struct soc_camera_link *icl, | 1239 | static int mackerel_camera_add(struct soc_camera_device *icd) |
1236 | struct device *dev) | ||
1237 | { | 1240 | { |
1238 | return soc_camera_platform_add(icl, dev, &camera_device, &camera_link, | 1241 | return soc_camera_platform_add(icd, &camera_device, &camera_link, |
1239 | mackerel_camera_release, 0); | 1242 | mackerel_camera_release, 0); |
1240 | } | 1243 | } |
1241 | 1244 | ||
1242 | static void mackerel_camera_del(struct soc_camera_link *icl) | 1245 | static void mackerel_camera_del(struct soc_camera_device *icd) |
1243 | { | 1246 | { |
1244 | soc_camera_platform_del(icl, camera_device, &camera_link); | 1247 | soc_camera_platform_del(icd, camera_device, &camera_link); |
1245 | } | 1248 | } |
1246 | 1249 | ||
1247 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { | 1250 | static struct sh_mobile_ceu_info sh_mobile_ceu_info = { |
@@ -1582,8 +1585,14 @@ static void __init mackerel_init(void) | |||
1582 | 1585 | ||
1583 | platform_add_devices(mackerel_devices, ARRAY_SIZE(mackerel_devices)); | 1586 | platform_add_devices(mackerel_devices, ARRAY_SIZE(mackerel_devices)); |
1584 | 1587 | ||
1588 | sh7372_add_device_to_domain(&sh7372_a4lc, &lcdc_device); | ||
1589 | sh7372_add_device_to_domain(&sh7372_a4lc, &hdmi_lcdc_device); | ||
1590 | sh7372_add_device_to_domain(&sh7372_a4mp, &fsi_device); | ||
1591 | |||
1585 | hdmi_init_pm_clock(); | 1592 | hdmi_init_pm_clock(); |
1586 | sh7372_pm_init(); | 1593 | sh7372_pm_init(); |
1594 | pm_clk_add(&fsi_device.dev, "spu2"); | ||
1595 | pm_clk_add(&hdmi_lcdc_device.dev, "hdmi"); | ||
1587 | } | 1596 | } |
1588 | 1597 | ||
1589 | static void __init mackerel_timer_init(void) | 1598 | static void __init mackerel_timer_init(void) |