Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
palmt5.h File Reference

Go to the source code of this file.

Macros

#define GPIO_NR_PALMT5_GPIO_RESET   1
 
#define GPIO_NR_PALMT5_POWER_DETECT   90
 
#define GPIO_NR_PALMT5_HOTSYNC_BUTTON_N   10
 
#define GPIO_NR_PALMT5_EARPHONE_DETECT   107
 
#define GPIO_NR_PALMT5_SD_DETECT_N   14
 
#define GPIO_NR_PALMT5_SD_POWER   114
 
#define GPIO_NR_PALMT5_SD_READONLY   115
 
#define GPIO_NR_PALMT5_WM9712_IRQ   27
 
#define GPIO_NR_PALMT5_IR_DISABLE   40
 
#define GPIO_NR_PALMT5_USB_DETECT_N   15
 
#define GPIO_NR_PALMT5_USB_PULLUP   93
 
#define GPIO_NR_PALMT5_BL_POWER   84
 
#define GPIO_NR_PALMT5_LCD_POWER   96
 
#define GPIO_NR_PALMT5_BT_POWER   17
 
#define GPIO_NR_PALMT5_BT_RESET   83
 
#define IRQ_GPIO_PALMT5_SD_DETECT_N   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_SD_DETECT_N)
 
#define IRQ_GPIO_PALMT5_WM9712_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_WM9712_IRQ)
 
#define IRQ_GPIO_PALMT5_USB_DETECT   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_USB_DETECT)
 
#define IRQ_GPIO_PALMT5_GPIO_RESET   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_GPIO_RESET)
 
#define PALMT5_PHYS_RAM_START   0xa0000000
 
#define PALMT5_PHYS_IO_START   0x40000000
 
#define PALMT5_STR_BASE   0xa0200000
 
#define AC97_LINK_FRAME   21
 
#define PALMT5_BAT_MAX_VOLTAGE   4000 /* 4.00v current voltage */
 
#define PALMT5_BAT_MIN_VOLTAGE   3550 /* 3.55v critical voltage */
 
#define PALMT5_BAT_MAX_CURRENT   0 /* unknown */
 
#define PALMT5_BAT_MIN_CURRENT   0 /* unknown */
 
#define PALMT5_BAT_MAX_CHARGE   1 /* unknown */
 
#define PALMT5_BAT_MIN_CHARGE   1 /* unknown */
 
#define PALMT5_MAX_LIFE_MINS   360 /* on-life in minutes */
 
#define PALMT5_BAT_MEASURE_DELAY   (HZ * 1)
 
#define PALMT5_MAX_INTENSITY   0xFE
 
#define PALMT5_DEFAULT_INTENSITY   0x7E
 
#define PALMT5_LIMIT_MASK   0x7F
 
#define PALMT5_PRESCALER   0x3F
 
#define PALMT5_PERIOD_NS   3500
 

Macro Definition Documentation

#define AC97_LINK_FRAME   21

Definition at line 64 of file palmt5.h.

#define GPIO_NR_PALMT5_BL_POWER   84

Definition at line 43 of file palmt5.h.

#define GPIO_NR_PALMT5_BT_POWER   17

Definition at line 47 of file palmt5.h.

#define GPIO_NR_PALMT5_BT_RESET   83

Definition at line 48 of file palmt5.h.

#define GPIO_NR_PALMT5_EARPHONE_DETECT   107

Definition at line 25 of file palmt5.h.

#define GPIO_NR_PALMT5_GPIO_RESET   1

HERE ARE GPIOs

Definition at line 21 of file palmt5.h.

#define GPIO_NR_PALMT5_HOTSYNC_BUTTON_N   10

Definition at line 24 of file palmt5.h.

#define GPIO_NR_PALMT5_IR_DISABLE   40

Definition at line 36 of file palmt5.h.

#define GPIO_NR_PALMT5_LCD_POWER   96

Definition at line 44 of file palmt5.h.

#define GPIO_NR_PALMT5_POWER_DETECT   90

Definition at line 23 of file palmt5.h.

#define GPIO_NR_PALMT5_SD_DETECT_N   14

Definition at line 28 of file palmt5.h.

#define GPIO_NR_PALMT5_SD_POWER   114

Definition at line 29 of file palmt5.h.

#define GPIO_NR_PALMT5_SD_READONLY   115

Definition at line 30 of file palmt5.h.

#define GPIO_NR_PALMT5_USB_DETECT_N   15

Definition at line 39 of file palmt5.h.

#define GPIO_NR_PALMT5_USB_PULLUP   93

Definition at line 40 of file palmt5.h.

#define GPIO_NR_PALMT5_WM9712_IRQ   27

Definition at line 33 of file palmt5.h.

#define IRQ_GPIO_PALMT5_GPIO_RESET   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_GPIO_RESET)

Definition at line 54 of file palmt5.h.

#define IRQ_GPIO_PALMT5_SD_DETECT_N   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_SD_DETECT_N)

Definition at line 51 of file palmt5.h.

#define IRQ_GPIO_PALMT5_USB_DETECT   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_USB_DETECT)

Definition at line 53 of file palmt5.h.

#define IRQ_GPIO_PALMT5_WM9712_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMT5_WM9712_IRQ)

Definition at line 52 of file palmt5.h.

#define PALMT5_BAT_MAX_CHARGE   1 /* unknown */

Definition at line 71 of file palmt5.h.

#define PALMT5_BAT_MAX_CURRENT   0 /* unknown */

Definition at line 69 of file palmt5.h.

#define PALMT5_BAT_MAX_VOLTAGE   4000 /* 4.00v current voltage */

Definition at line 67 of file palmt5.h.

#define PALMT5_BAT_MEASURE_DELAY   (HZ * 1)

Definition at line 75 of file palmt5.h.

#define PALMT5_BAT_MIN_CHARGE   1 /* unknown */

Definition at line 72 of file palmt5.h.

#define PALMT5_BAT_MIN_CURRENT   0 /* unknown */

Definition at line 70 of file palmt5.h.

#define PALMT5_BAT_MIN_VOLTAGE   3550 /* 3.55v critical voltage */

Definition at line 68 of file palmt5.h.

#define PALMT5_DEFAULT_INTENSITY   0x7E

Definition at line 79 of file palmt5.h.

#define PALMT5_LIMIT_MASK   0x7F

Definition at line 80 of file palmt5.h.

#define PALMT5_MAX_INTENSITY   0xFE

Definition at line 78 of file palmt5.h.

#define PALMT5_MAX_LIFE_MINS   360 /* on-life in minutes */

Definition at line 73 of file palmt5.h.

#define PALMT5_PERIOD_NS   3500

Definition at line 82 of file palmt5.h.

#define PALMT5_PHYS_IO_START   0x40000000

Definition at line 60 of file palmt5.h.

#define PALMT5_PHYS_RAM_START   0xa0000000

HERE ARE INIT VALUES

Definition at line 59 of file palmt5.h.

#define PALMT5_PRESCALER   0x3F

Definition at line 81 of file palmt5.h.

#define PALMT5_STR_BASE   0xa0200000

Definition at line 61 of file palmt5.h.