Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: arch/arm/plat-s5p/devs.c

Issue 1848001: Add Watchdog driver support for S5PV210 (Closed) Base URL: swsolcc@12.23.106.100:kernel-samsung.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « arch/arm/mach-s5pv210/mach-voguev210.c ('k') | drivers/watchdog/Kconfig » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* linux/arch/arm/plat-s5p/devs.c 1 /* linux/arch/arm/plat-s5p/devs.c
2 * 2 *
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/ 4 * http://www.samsung.com/
5 * 5 *
6 * Base S5P platform device definitions 6 * Base S5P platform device definitions
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as 9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
(...skipping 18 matching lines...) Expand all
29 29
30 #include <plat/devs.h> 30 #include <plat/devs.h>
31 #include <plat/gpio-cfg.h> 31 #include <plat/gpio-cfg.h>
32 #include <plat/irqs.h> 32 #include <plat/irqs.h>
33 #include <plat/fb.h> 33 #include <plat/fb.h>
34 #include <plat/fimc.h> 34 #include <plat/fimc.h>
35 #include <plat/csis.h> 35 #include <plat/csis.h>
36 #include <plat/mfc.h> 36 #include <plat/mfc.h>
37 #include <plat/audio.h> 37 #include <plat/audio.h>
38 38
39 static struct resource s3c_wdt_resource[] = {
40 [0] = {
41 .start = S5P_PA_WDT,
42 .end = S5P_PA_WDT + S5P_SZ_WDT - 1,
43 .flags = IORESOURCE_MEM,
44 },
45 [1] = {
46 .start = IRQ_WDT,
47 .end = IRQ_WDT,
48 .flags = IORESOURCE_IRQ,
49 },
50 };
51
52 struct platform_device s3c_device_wdt = {
53 .name = "s3c2410-wdt",
54 .id = -1,
55 .num_resources = ARRAY_SIZE(s3c_wdt_resource),
56 .resource = s3c_wdt_resource,
57 };
58
39 static struct resource s3cfb_resource[] = { 59 static struct resource s3cfb_resource[] = {
40 [0] = { 60 [0] = {
41 .start = S5P_PA_LCD, 61 .start = S5P_PA_LCD,
42 .end = S5P_PA_LCD + S5P_SZ_LCD - 1, 62 .end = S5P_PA_LCD + S5P_SZ_LCD - 1,
43 .flags = IORESOURCE_MEM, 63 .flags = IORESOURCE_MEM,
44 }, 64 },
45 [1] = { 65 [1] = {
46 .start = IRQ_LCD1, 66 .start = IRQ_LCD1,
47 .end = IRQ_LCD1, 67 .end = IRQ_LCD1,
48 .flags = IORESOURCE_IRQ, 68 .flags = IORESOURCE_IRQ,
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 .id = -1, 684 .id = -1,
665 .num_resources = ARRAY_SIZE(s3c_usb__ohci_resource), 685 .num_resources = ARRAY_SIZE(s3c_usb__ohci_resource),
666 .resource = s3c_usb__ohci_resource, 686 .resource = s3c_usb__ohci_resource,
667 .dev = { 687 .dev = {
668 .dma_mask = &s3c_device_usb_ohci_dmamask, 688 .dma_mask = &s3c_device_usb_ohci_dmamask,
669 .coherent_dma_mask = 0xffffffffUL 689 .coherent_dma_mask = 0xffffffffUL
670 } 690 }
671 }; 691 };
672 EXPORT_SYMBOL(s3c_device_usb_ohci); 692 EXPORT_SYMBOL(s3c_device_usb_ohci);
673 693
OLDNEW
« no previous file with comments | « arch/arm/mach-s5pv210/mach-voguev210.c ('k') | drivers/watchdog/Kconfig » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698