* Use new epaper driver instead of qisda fb driver linux/arch/arm/mach-s3c2416/orizon-devs.c: * Rename old cyio-dev.c linux/arch/arm/mach-s3c2416/mach-cybook_orizon.c, linux/arch/arm/mach-s3c2416/orizon-devs.c: + Add support for new drivers in platform device list linux/drivers/video/Makefile, linux/drivers/video/Kconfig, linux/drivers/video/epaper/*: + Add new epaper driver for tcon (resolve #9) linux/drivers/input/misc/orizon_tilt.c: + Add new driver for the tilt sensor linux/drivers/char/s3c-adc.c: - Remove bloated code (this code must be audited, see ticket #8) linux/include/cybook.h: * Extend the CAPABILITY Field
51 lines
1017 B
C
51 lines
1017 B
C
#include <linux/kernel.h>
|
|
#include <linux/types.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/list.h>
|
|
#include <linux/timer.h>
|
|
#include <linux/init.h>
|
|
#include <linux/platform_device.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
#include <asm/arch/irqs.h>
|
|
|
|
#if 0
|
|
static struct resource orizon_cyio_resource[] = {
|
|
[0] = {
|
|
.start = IRQ_EINT0,
|
|
.end = IRQ_EINT0,
|
|
.flags = IORESOURCE_IRQ,
|
|
},
|
|
[1] = {
|
|
.start = IRQ_EINT7,
|
|
.end = IRQ_EINT8,
|
|
.flags = IORESOURCE_IRQ,
|
|
},
|
|
[2] = {
|
|
.start = IRQ_EINT10,
|
|
.end = IRQ_EINT10,
|
|
.flags = IORESOURCE_IRQ,
|
|
},
|
|
[3] = {
|
|
.start = IRQ_EINT14,
|
|
.end = IRQ_EINT15,
|
|
.flags = IORESOURCE_IRQ,
|
|
},
|
|
};
|
|
#endif
|
|
struct platform_device orizon_device_cyio = {
|
|
.name = "cyio",
|
|
.id = 0,
|
|
#if 0
|
|
.num_resources = ARRAY_SIZE(orizon_cyio_resource),
|
|
.resource = orizon_cyio_resource,
|
|
#endif
|
|
};
|
|
EXPORT_SYMBOL(orizon_device_cyio);
|
|
|
|
struct platform_device orizon_device_tcon = {
|
|
.name = "epaper-tcon",
|
|
.id = 0,
|
|
};
|
|
EXPORT_SYMBOL(orizon_device_tcon);
|