Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
am300epd.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <mach/gumstix.h>
#include <mach/mfp-pxa25x.h>
#include <linux/platform_data/video-pxafb.h>
#include "generic.h"
#include <video/broadsheetfb.h>

Go to the source code of this file.

Macros

#define PWR_GPIO_PIN   16
 
#define CFG_GPIO_PIN   17
 
#define RDY_GPIO_PIN   32
 
#define DC_GPIO_PIN   48
 
#define RST_GPIO_PIN   49
 
#define LED_GPIO_PIN   51
 
#define RD_GPIO_PIN   74
 
#define WR_GPIO_PIN   75
 
#define CS_GPIO_PIN   76
 
#define IRQ_GPIO_PIN   77
 
#define DB0_GPIO_PIN   58
 
#define DB15_GPIO_PIN   73
 

Functions

int __init am300_init (void)
 
 module_param (panel_type, uint, 0)
 
 MODULE_PARM_DESC (panel_type,"Select the panel type: 37, 6, 97")
 
 MODULE_DESCRIPTION ("board driver for am300 epd kit")
 
 MODULE_AUTHOR ("Jaya Kumar")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CFG_GPIO_PIN   17

Definition at line 79 of file am300epd.c.

#define CS_GPIO_PIN   76

Definition at line 86 of file am300epd.c.

#define DB0_GPIO_PIN   58

Definition at line 90 of file am300epd.c.

#define DB15_GPIO_PIN   73

Definition at line 91 of file am300epd.c.

#define DC_GPIO_PIN   48

Definition at line 81 of file am300epd.c.

#define IRQ_GPIO_PIN   77

Definition at line 87 of file am300epd.c.

#define LED_GPIO_PIN   51

Definition at line 83 of file am300epd.c.

#define PWR_GPIO_PIN   16

Definition at line 78 of file am300epd.c.

#define RD_GPIO_PIN   74

Definition at line 84 of file am300epd.c.

#define RDY_GPIO_PIN   32

Definition at line 80 of file am300epd.c.

#define RST_GPIO_PIN   49

Definition at line 82 of file am300epd.c.

#define WR_GPIO_PIN   75

Definition at line 85 of file am300epd.c.

Function Documentation

int __init am300_init ( void  )

Definition at line 264 of file am300epd.c.

MODULE_AUTHOR ( "Jaya Kumar"  )
MODULE_DESCRIPTION ( "board driver for am300 epd kit"  )
MODULE_LICENSE ( "GPL"  )
module_param ( panel_type  ,
uint  ,
 
)
MODULE_PARM_DESC ( panel_type  ,
"Select the panel type:  37,
,
97"   
)