linux/cybook.config:
* 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
This commit is contained in:
@@ -19,5 +19,5 @@ obj-$(CONFIG_S3C2416_PM) += pm.o
|
||||
# Machine support
|
||||
|
||||
obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o qisda-utils.o cybook.o
|
||||
obj-$(CONFIG_MACH_CYBOOK_ORIZON) += mach-cybook_orizon.o cybook.o qisda-utils.o
|
||||
obj-$(CONFIG_MACH_CYBOOK_ORIZON) += mach-cybook_orizon.o cybook.o qisda-utils.o orizon-devs.o
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
#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/mach/map.h>
|
||||
#include <asm/mach/irq.h>
|
||||
#include <asm/arch/fb.h>
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
#include <asm/arch/regs-serial.h>
|
||||
#include <asm/arch/udc.h>
|
||||
#include <asm/arch/l3.h>
|
||||
#include <asm/arch/audio.h>
|
||||
|
||||
#include <asm/arch/buttons.h>
|
||||
|
||||
#include "devs.h"
|
||||
#include "cpu.h"
|
||||
|
||||
struct platform_device s3c_device_cyio = {
|
||||
.name = "cyio2",
|
||||
.id = -1,
|
||||
};
|
||||
EXPORT_SYMBOL(s3c_device_cyio);
|
||||
|
||||
@@ -109,6 +109,10 @@ static struct s3c2410_uartcfg bkorizon_uartcfgs[] __initdata = {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
extern struct platform_device orizon_device_cyio;
|
||||
extern struct platform_device orizon_device_tcon;
|
||||
|
||||
/*** TODO: Verify this list and remove anything unneeded */
|
||||
static struct platform_device *bkorizon_devices[] __initdata = {
|
||||
&s3c_device_spi0,
|
||||
@@ -125,6 +129,9 @@ static struct platform_device *bkorizon_devices[] __initdata = {
|
||||
&s3c_device_hsmmc1,
|
||||
|
||||
&s3c_device_ts_iic,
|
||||
|
||||
&orizon_device_cyio,
|
||||
&orizon_device_tcon,
|
||||
};
|
||||
|
||||
static struct s3c24xx_board bkorizon_board __initdata = {
|
||||
@@ -294,4 +301,3 @@ struct s3c_hsmmc_cfg s3c_hsmmc1_platform = {
|
||||
.clk_name[1] = "esysclk", /* 2nd clock source hsmmc-epll by Ben Dooks */
|
||||
.clk_name[2] = "hsmmc-ext", /* 3rd clock source */
|
||||
};
|
||||
|
||||
|
||||
50
arch/arm/mach-s3c2416/orizon-devs.c
Normal file
50
arch/arm/mach-s3c2416/orizon-devs.c
Normal file
@@ -0,0 +1,50 @@
|
||||
#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);
|
||||
Reference in New Issue
Block a user