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

Go to the source code of this file.

Macros

#define GPIO_NR_PALMLD_GPIO_RESET   1
 
#define GPIO_NR_PALMLD_POWER_DETECT   4
 
#define GPIO_NR_PALMLD_HOTSYNC_BUTTON_N   10
 
#define GPIO_NR_PALMLD_POWER_SWITCH   12
 
#define GPIO_NR_PALMLD_EARPHONE_DETECT   13
 
#define GPIO_NR_PALMLD_LOCK_SWITCH   15
 
#define GPIO_NR_PALMLD_SD_DETECT_N   14
 
#define GPIO_NR_PALMLD_SD_POWER   114
 
#define GPIO_NR_PALMLD_SD_READONLY   116
 
#define GPIO_NR_PALMLD_WM9712_IRQ   27
 
#define GPIO_NR_PALMLD_IR_DISABLE   108
 
#define GPIO_NR_PALMLD_BL_POWER   19
 
#define GPIO_NR_PALMLD_LCD_POWER   96
 
#define GPIO_NR_PALMLD_BORDER_SWITCH   21
 
#define GPIO_NR_PALMLD_BORDER_SELECT   22
 
#define GPIO_NR_PALMLD_BT_POWER   17
 
#define GPIO_NR_PALMLD_BT_RESET   83
 
#define GPIO_NR_PALMLD_PCMCIA_READY   38
 
#define GPIO_NR_PALMLD_PCMCIA_POWER   36
 
#define GPIO_NR_PALMLD_PCMCIA_RESET   81
 
#define GPIO_NR_PALMLD_LED_GREEN   52
 
#define GPIO_NR_PALMLD_LED_AMBER   94
 
#define GPIO_NR_PALMLD_IDE_RESET   98
 
#define GPIO_NR_PALMLD_IDE_PWEN   115
 
#define GPIO_NR_PALMLD_USB_DETECT_N   3
 
#define GPIO_NR_PALMLD_USB_READY   86
 
#define GPIO_NR_PALMLD_USB_RESET   88
 
#define GPIO_NR_PALMLD_USB_INT   106
 
#define GPIO_NR_PALMLD_USB_POWER   118
 
#define IRQ_GPIO_PALMLD_GPIO_RESET   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_GPIO_RESET)
 
#define IRQ_GPIO_PALMLD_SD_DETECT_N   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_SD_DETECT_N)
 
#define IRQ_GPIO_PALMLD_WM9712_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_WM9712_IRQ)
 
#define IRQ_GPIO_PALMLD_IDE_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_IDE_IRQ)
 
#define PALMLD_USB_PHYS   PXA_CS2_PHYS
 
#define PALMLD_USB_VIRT   0xf0000000
 
#define PALMLD_USB_SIZE   0x00100000
 
#define PALMLD_IDE_PHYS   0x20000000
 
#define PALMLD_IDE_VIRT   0xf1000000
 
#define PALMLD_IDE_SIZE   0x00100000
 
#define PALMLD_PHYS_IO_START   0x40000000
 
#define PALMLD_STR_BASE   0xa0200000
 
#define PALMLD_BAT_MAX_VOLTAGE   4000 /* 4.00V maximum voltage */
 
#define PALMLD_BAT_MIN_VOLTAGE   3550 /* 3.55V critical voltage */
 
#define PALMLD_BAT_MAX_CURRENT   0 /* unknown */
 
#define PALMLD_BAT_MIN_CURRENT   0 /* unknown */
 
#define PALMLD_BAT_MAX_CHARGE   1 /* unknown */
 
#define PALMLD_BAT_MIN_CHARGE   1 /* unknown */
 
#define PALMLD_MAX_LIFE_MINS   240 /* on-life in minutes */
 
#define PALMLD_BAT_MEASURE_DELAY   (HZ * 1)
 
#define PALMLD_MAX_INTENSITY   0xFE
 
#define PALMLD_DEFAULT_INTENSITY   0x7E
 
#define PALMLD_LIMIT_MASK   0x7F
 
#define PALMLD_PRESCALER   0x3F
 
#define PALMLD_PERIOD_NS   3500
 

Macro Definition Documentation

#define GPIO_NR_PALMLD_BL_POWER   19

Definition at line 38 of file palmld.h.

#define GPIO_NR_PALMLD_BORDER_SELECT   22

Definition at line 43 of file palmld.h.

#define GPIO_NR_PALMLD_BORDER_SWITCH   21

Definition at line 42 of file palmld.h.

#define GPIO_NR_PALMLD_BT_POWER   17

Definition at line 46 of file palmld.h.

#define GPIO_NR_PALMLD_BT_RESET   83

Definition at line 47 of file palmld.h.

#define GPIO_NR_PALMLD_EARPHONE_DETECT   13

Definition at line 23 of file palmld.h.

#define GPIO_NR_PALMLD_GPIO_RESET   1

HERE ARE GPIOs

Definition at line 19 of file palmld.h.

#define GPIO_NR_PALMLD_HOTSYNC_BUTTON_N   10

Definition at line 21 of file palmld.h.

#define GPIO_NR_PALMLD_IDE_PWEN   115

Definition at line 60 of file palmld.h.

#define GPIO_NR_PALMLD_IDE_RESET   98

Definition at line 59 of file palmld.h.

#define GPIO_NR_PALMLD_IR_DISABLE   108

Definition at line 35 of file palmld.h.

#define GPIO_NR_PALMLD_LCD_POWER   96

Definition at line 39 of file palmld.h.

#define GPIO_NR_PALMLD_LED_AMBER   94

Definition at line 56 of file palmld.h.

#define GPIO_NR_PALMLD_LED_GREEN   52

Definition at line 55 of file palmld.h.

#define GPIO_NR_PALMLD_LOCK_SWITCH   15

Definition at line 24 of file palmld.h.

#define GPIO_NR_PALMLD_PCMCIA_POWER   36

Definition at line 51 of file palmld.h.

#define GPIO_NR_PALMLD_PCMCIA_READY   38

Definition at line 50 of file palmld.h.

#define GPIO_NR_PALMLD_PCMCIA_RESET   81

Definition at line 52 of file palmld.h.

#define GPIO_NR_PALMLD_POWER_DETECT   4

Definition at line 20 of file palmld.h.

#define GPIO_NR_PALMLD_POWER_SWITCH   12

Definition at line 22 of file palmld.h.

#define GPIO_NR_PALMLD_SD_DETECT_N   14

Definition at line 27 of file palmld.h.

#define GPIO_NR_PALMLD_SD_POWER   114

Definition at line 28 of file palmld.h.

#define GPIO_NR_PALMLD_SD_READONLY   116

Definition at line 29 of file palmld.h.

#define GPIO_NR_PALMLD_USB_DETECT_N   3

Definition at line 63 of file palmld.h.

#define GPIO_NR_PALMLD_USB_INT   106

Definition at line 66 of file palmld.h.

#define GPIO_NR_PALMLD_USB_POWER   118

Definition at line 67 of file palmld.h.

#define GPIO_NR_PALMLD_USB_READY   86

Definition at line 64 of file palmld.h.

#define GPIO_NR_PALMLD_USB_RESET   88

Definition at line 65 of file palmld.h.

#define GPIO_NR_PALMLD_WM9712_IRQ   27

Definition at line 32 of file palmld.h.

#define IRQ_GPIO_PALMLD_GPIO_RESET   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_GPIO_RESET)

Definition at line 71 of file palmld.h.

#define IRQ_GPIO_PALMLD_IDE_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_IDE_IRQ)

Definition at line 74 of file palmld.h.

#define IRQ_GPIO_PALMLD_SD_DETECT_N   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_SD_DETECT_N)

Definition at line 72 of file palmld.h.

#define IRQ_GPIO_PALMLD_WM9712_IRQ   PXA_GPIO_TO_IRQ(GPIO_NR_PALMLD_WM9712_IRQ)

Definition at line 73 of file palmld.h.

#define PALMLD_BAT_MAX_CHARGE   1 /* unknown */

Definition at line 96 of file palmld.h.

#define PALMLD_BAT_MAX_CURRENT   0 /* unknown */

Definition at line 94 of file palmld.h.

#define PALMLD_BAT_MAX_VOLTAGE   4000 /* 4.00V maximum voltage */

Definition at line 92 of file palmld.h.

#define PALMLD_BAT_MEASURE_DELAY   (HZ * 1)

Definition at line 100 of file palmld.h.

#define PALMLD_BAT_MIN_CHARGE   1 /* unknown */

Definition at line 97 of file palmld.h.

#define PALMLD_BAT_MIN_CURRENT   0 /* unknown */

Definition at line 95 of file palmld.h.

#define PALMLD_BAT_MIN_VOLTAGE   3550 /* 3.55V critical voltage */

Definition at line 93 of file palmld.h.

#define PALMLD_DEFAULT_INTENSITY   0x7E

Definition at line 104 of file palmld.h.

#define PALMLD_IDE_PHYS   0x20000000

Definition at line 84 of file palmld.h.

#define PALMLD_IDE_SIZE   0x00100000

Definition at line 86 of file palmld.h.

#define PALMLD_IDE_VIRT   0xf1000000

Definition at line 85 of file palmld.h.

#define PALMLD_LIMIT_MASK   0x7F

Definition at line 105 of file palmld.h.

#define PALMLD_MAX_INTENSITY   0xFE

Definition at line 103 of file palmld.h.

#define PALMLD_MAX_LIFE_MINS   240 /* on-life in minutes */

Definition at line 98 of file palmld.h.

#define PALMLD_PERIOD_NS   3500

Definition at line 107 of file palmld.h.

#define PALMLD_PHYS_IO_START   0x40000000

Definition at line 88 of file palmld.h.

#define PALMLD_PRESCALER   0x3F

Definition at line 106 of file palmld.h.

#define PALMLD_STR_BASE   0xa0200000

Definition at line 89 of file palmld.h.

#define PALMLD_USB_PHYS   PXA_CS2_PHYS

HERE ARE INIT VALUES

Definition at line 80 of file palmld.h.

#define PALMLD_USB_SIZE   0x00100000

Definition at line 82 of file palmld.h.

#define PALMLD_USB_VIRT   0xf0000000

Definition at line 81 of file palmld.h.