aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-se
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-23 05:04:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-23 05:04:07 -0400
commitc3144fc46f987413df10e83659f0bf1aad76f79e (patch)
treea09f3c13c32664a617d3981ae111436c3127ccc3 /arch/sh/boards/mach-se
parent4f896ffca2b72f4b719746e7fbb0b623252e6ac9 (diff)
parentcc58f597afc63a57bb55ed97c2a72f7405320c93 (diff)
Merge branches 'sh/hwblk' and 'sh/pm-runtime'
Diffstat (limited to 'arch/sh/boards/mach-se')
-rw-r--r--arch/sh/boards/mach-se/7722/setup.c4
-rw-r--r--arch/sh/boards/mach-se/7724/setup.c18
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-se/7722/setup.c b/arch/sh/boards/mach-se/7722/setup.c
index af84904ed86f..36374078e521 100644
--- a/arch/sh/boards/mach-se/7722/setup.c
+++ b/arch/sh/boards/mach-se/7722/setup.c
@@ -22,6 +22,7 @@
22#include <asm/io.h> 22#include <asm/io.h>
23#include <asm/heartbeat.h> 23#include <asm/heartbeat.h>
24#include <asm/sh_keysc.h> 24#include <asm/sh_keysc.h>
25#include <cpu/sh7722.h>
25 26
26/* Heartbeat */ 27/* Heartbeat */
27static struct heartbeat_data heartbeat_data = { 28static struct heartbeat_data heartbeat_data = {
@@ -137,6 +138,9 @@ static struct platform_device sh_keysc_device = {
137 .dev = { 138 .dev = {
138 .platform_data = &sh_keysc_info, 139 .platform_data = &sh_keysc_info,
139 }, 140 },
141 .archdata = {
142 .hwblk_id = HWBLK_KEYSC,
143 },
140}; 144};
141 145
142static struct platform_device *se7722_devices[] __initdata = { 146static struct platform_device *se7722_devices[] __initdata = {
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index e6bd09f2e14a..1876c8306c85 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -182,6 +182,9 @@ static struct platform_device lcdc_device = {
182 .dev = { 182 .dev = {
183 .platform_data = &lcdc_info, 183 .platform_data = &lcdc_info,
184 }, 184 },
185 .archdata = {
186 .hwblk_id = HWBLK_LCDC,
187 },
185}; 188};
186 189
187/* CEU0 */ 190/* CEU0 */
@@ -213,6 +216,9 @@ static struct platform_device ceu0_device = {
213 .dev = { 216 .dev = {
214 .platform_data = &sh_mobile_ceu0_info, 217 .platform_data = &sh_mobile_ceu0_info,
215 }, 218 },
219 .archdata = {
220 .hwblk_id = HWBLK_CEU0,
221 },
216}; 222};
217 223
218/* CEU1 */ 224/* CEU1 */
@@ -244,6 +250,9 @@ static struct platform_device ceu1_device = {
244 .dev = { 250 .dev = {
245 .platform_data = &sh_mobile_ceu1_info, 251 .platform_data = &sh_mobile_ceu1_info,
246 }, 252 },
253 .archdata = {
254 .hwblk_id = HWBLK_CEU1,
255 },
247}; 256};
248 257
249/* KEYSC in SoC (Needs SW33-2 set to ON) */ 258/* KEYSC in SoC (Needs SW33-2 set to ON) */
@@ -282,6 +291,9 @@ static struct platform_device keysc_device = {
282 .dev = { 291 .dev = {
283 .platform_data = &keysc_info, 292 .platform_data = &keysc_info,
284 }, 293 },
294 .archdata = {
295 .hwblk_id = HWBLK_KEYSC,
296 },
285}; 297};
286 298
287/* SH Eth */ 299/* SH Eth */
@@ -310,6 +322,9 @@ static struct platform_device sh_eth_device = {
310 }, 322 },
311 .num_resources = ARRAY_SIZE(sh_eth_resources), 323 .num_resources = ARRAY_SIZE(sh_eth_resources),
312 .resource = sh_eth_resources, 324 .resource = sh_eth_resources,
325 .archdata = {
326 .hwblk_id = HWBLK_ETHER,
327 },
313}; 328};
314 329
315static struct r8a66597_platdata sh7724_usb0_host_data = { 330static struct r8a66597_platdata sh7724_usb0_host_data = {
@@ -339,6 +354,9 @@ static struct platform_device sh7724_usb0_host_device = {
339 }, 354 },
340 .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources), 355 .num_resources = ARRAY_SIZE(sh7724_usb0_host_resources),
341 .resource = sh7724_usb0_host_resources, 356 .resource = sh7724_usb0_host_resources,
357 .archdata = {
358 .hwblk_id = HWBLK_USB0,
359 },
342}; 360};
343 361
344static struct r8a66597_platdata sh7724_usb1_gadget_data = { 362static struct r8a66597_platdata sh7724_usb1_gadget_data = {