diff options
author | Zhou Zhu <zzhu3@marvell.com> | 2013-02-21 19:42:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:22:17 -0500 |
commit | 333893cd09a0b93a75f33ca50a3be174c65c1378 (patch) | |
tree | 7829933a121e9f35520db59d55885325dd700550 /arch/arm/mach-mmp | |
parent | 641b4b1b6a7cb4ab21cfd9dd7b93a1162eae4501 (diff) |
ARM: mmp: added device for display controller
Add device for display controller and fb support
Signed-off-by: Zhou Zhu <zzhu3@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Lisa Du <cldu@marvell.com>
Cc: Guoqing Li <ligq@marvell.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/pxa910.h | 5 | ||||
-rw-r--r-- | arch/arm/mach-mmp/pxa910.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/include/mach/pxa910.h b/arch/arm/mach-mmp/include/mach/pxa910.h index 3b58a3b2d7df..b4c94d81ed19 100644 --- a/arch/arm/mach-mmp/include/mach/pxa910.h +++ b/arch/arm/mach-mmp/include/mach/pxa910.h | |||
@@ -10,6 +10,7 @@ extern void __init pxa910_init_irq(void); | |||
10 | #include <linux/i2c/pxa-i2c.h> | 10 | #include <linux/i2c/pxa-i2c.h> |
11 | #include <mach/devices.h> | 11 | #include <mach/devices.h> |
12 | #include <linux/platform_data/mtd-nand-pxa3xx.h> | 12 | #include <linux/platform_data/mtd-nand-pxa3xx.h> |
13 | #include <video/mmp_disp.h> | ||
13 | 14 | ||
14 | extern struct pxa_device_desc pxa910_device_uart1; | 15 | extern struct pxa_device_desc pxa910_device_uart1; |
15 | extern struct pxa_device_desc pxa910_device_uart2; | 16 | extern struct pxa_device_desc pxa910_device_uart2; |
@@ -23,7 +24,9 @@ extern struct pxa_device_desc pxa910_device_nand; | |||
23 | extern struct platform_device pxa168_device_u2o; | 24 | extern struct platform_device pxa168_device_u2o; |
24 | extern struct platform_device pxa168_device_u2ootg; | 25 | extern struct platform_device pxa168_device_u2ootg; |
25 | extern struct platform_device pxa168_device_u2oehci; | 26 | extern struct platform_device pxa168_device_u2oehci; |
26 | 27 | extern struct pxa_device_desc pxa910_device_disp; | |
28 | extern struct pxa_device_desc pxa910_device_fb; | ||
29 | extern struct pxa_device_desc pxa910_device_panel; | ||
27 | extern struct platform_device pxa910_device_gpio; | 30 | extern struct platform_device pxa910_device_gpio; |
28 | extern struct platform_device pxa910_device_rtc; | 31 | extern struct platform_device pxa910_device_rtc; |
29 | 32 | ||
diff --git a/arch/arm/mach-mmp/pxa910.c b/arch/arm/mach-mmp/pxa910.c index 8b1e16fbb7a5..e49cdd967194 100644 --- a/arch/arm/mach-mmp/pxa910.c +++ b/arch/arm/mach-mmp/pxa910.c | |||
@@ -138,6 +138,9 @@ PXA910_DEVICE(pwm2, "pxa910-pwm", 1, NONE, 0xd401a400, 0x10); | |||
138 | PXA910_DEVICE(pwm3, "pxa910-pwm", 2, NONE, 0xd401a800, 0x10); | 138 | PXA910_DEVICE(pwm3, "pxa910-pwm", 2, NONE, 0xd401a800, 0x10); |
139 | PXA910_DEVICE(pwm4, "pxa910-pwm", 3, NONE, 0xd401ac00, 0x10); | 139 | PXA910_DEVICE(pwm4, "pxa910-pwm", 3, NONE, 0xd401ac00, 0x10); |
140 | PXA910_DEVICE(nand, "pxa3xx-nand", -1, NAND, 0xd4283000, 0x80, 97, 99); | 140 | PXA910_DEVICE(nand, "pxa3xx-nand", -1, NAND, 0xd4283000, 0x80, 97, 99); |
141 | PXA910_DEVICE(disp, "mmp-disp", 0, LCD, 0xd420b000, 0x1ec); | ||
142 | PXA910_DEVICE(fb, "mmp-fb", -1, NONE, 0, 0); | ||
143 | PXA910_DEVICE(panel, "tpo-hvga", -1, NONE, 0, 0); | ||
141 | 144 | ||
142 | struct resource pxa910_resource_gpio[] = { | 145 | struct resource pxa910_resource_gpio[] = { |
143 | { | 146 | { |