1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[s3c24xx] glamo: Implement gpiolib for the glamo. Get rid of glamo-spi-gpio and

use the generic spi-gpio driver instead.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17048 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars
2009-07-30 12:04:01 +00:00
parent 49662300d8
commit 3a242b3d51
10 changed files with 122 additions and 480 deletions

View File

@@ -2,6 +2,7 @@
#define _GTA02_H
#include <mach/regs-gpio.h>
#include <mach/gpio.h>
#include <mach/irqs.h>
/* Different hardware revisions, passed in ATAG_REVISION by u-boot */
@@ -78,6 +79,9 @@
#define GTA02_PCB_ID2_0 S3C2410_GPD3
#define GTA02_PCB_ID2_1 S3C2410_GPD4
#define GTA02_GPIO_GLAMO_BASE S3C_GPIO_END
#define GTA02_GPIO_GLAMO(x) (GTA02_GPIO_GLAMO_BASE + x)
int gta02_get_pcb_revision(void);
extern struct pcf50633 *gta02_pcf;