aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authoreric miao <eric.miao@marvell.com>2008-02-22 00:48:15 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-04-19 06:29:06 -0400
commit4354e188121d92c28647146b70a8c303b46a7dcd (patch)
tree33135c01c391e1696e4b649556236b0f02a67243 /include/asm-arm
parent5fa41510f0f481d5139c732c5c6aac4b4a722828 (diff)
[ARM] pxa: remove keypad register definitions from pxa-regs.h
Keypad registers are now fully defined within pxa27x-keypad.c, no need to keep those definitions in pxa-regs.h Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-pxa/pxa-regs.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h
index e78adf8268ea..c28c5eaf04ac 100644
--- a/include/asm-arm/arch-pxa/pxa-regs.h
+++ b/include/asm-arm/arch-pxa/pxa-regs.h
@@ -1604,62 +1604,6 @@
1604 1604
1605#ifdef CONFIG_PXA27x 1605#ifdef CONFIG_PXA27x
1606 1606
1607/*
1608 * Keypad
1609 */
1610#define KPC __REG(0x41500000) /* Keypad Interface Control register */
1611#define KPDK __REG(0x41500008) /* Keypad Interface Direct Key register */
1612#define KPREC __REG(0x41500010) /* Keypad Interface Rotary Encoder register */
1613#define KPMK __REG(0x41500018) /* Keypad Interface Matrix Key register */
1614#define KPAS __REG(0x41500020) /* Keypad Interface Automatic Scan register */
1615#define KPASMKP0 __REG(0x41500028) /* Keypad Interface Automatic Scan Multiple Key Presser register 0 */
1616#define KPASMKP1 __REG(0x41500030) /* Keypad Interface Automatic Scan Multiple Key Presser register 1 */
1617#define KPASMKP2 __REG(0x41500038) /* Keypad Interface Automatic Scan Multiple Key Presser register 2 */
1618#define KPASMKP3 __REG(0x41500040) /* Keypad Interface Automatic Scan Multiple Key Presser register 3 */
1619#define KPKDI __REG(0x41500048) /* Keypad Interface Key Debounce Interval register */
1620
1621#define KPC_AS (0x1 << 30) /* Automatic Scan bit */
1622#define KPC_ASACT (0x1 << 29) /* Automatic Scan on Activity */
1623#define KPC_MI (0x1 << 22) /* Matrix interrupt bit */
1624#define KPC_IMKP (0x1 << 21) /* Ignore Multiple Key Press */
1625#define KPC_MS7 (0x1 << 20) /* Matrix scan line 7 */
1626#define KPC_MS6 (0x1 << 19) /* Matrix scan line 6 */
1627#define KPC_MS5 (0x1 << 18) /* Matrix scan line 5 */
1628#define KPC_MS4 (0x1 << 17) /* Matrix scan line 4 */
1629#define KPC_MS3 (0x1 << 16) /* Matrix scan line 3 */
1630#define KPC_MS2 (0x1 << 15) /* Matrix scan line 2 */
1631#define KPC_MS1 (0x1 << 14) /* Matrix scan line 1 */
1632#define KPC_MS0 (0x1 << 13) /* Matrix scan line 0 */
1633#define KPC_MS_ALL (KPC_MS0 | KPC_MS1 | KPC_MS2 | KPC_MS3 | KPC_MS4 | KPC_MS5 | KPC_MS6 | KPC_MS7)
1634#define KPC_ME (0x1 << 12) /* Matrix Keypad Enable */
1635#define KPC_MIE (0x1 << 11) /* Matrix Interrupt Enable */
1636#define KPC_DK_DEB_SEL (0x1 << 9) /* Direct Keypad Debounce Select */
1637#define KPC_DI (0x1 << 5) /* Direct key interrupt bit */
1638#define KPC_RE_ZERO_DEB (0x1 << 4) /* Rotary Encoder Zero Debounce */
1639#define KPC_REE1 (0x1 << 3) /* Rotary Encoder1 Enable */
1640#define KPC_REE0 (0x1 << 2) /* Rotary Encoder0 Enable */
1641#define KPC_DE (0x1 << 1) /* Direct Keypad Enable */
1642#define KPC_DIE (0x1 << 0) /* Direct Keypad interrupt Enable */
1643
1644#define KPDK_DKP (0x1 << 31)
1645#define KPDK_DK7 (0x1 << 7)
1646#define KPDK_DK6 (0x1 << 6)
1647#define KPDK_DK5 (0x1 << 5)
1648#define KPDK_DK4 (0x1 << 4)
1649#define KPDK_DK3 (0x1 << 3)
1650#define KPDK_DK2 (0x1 << 2)
1651#define KPDK_DK1 (0x1 << 1)
1652#define KPDK_DK0 (0x1 << 0)
1653
1654#define KPREC_OF1 (0x1 << 31)
1655#define kPREC_UF1 (0x1 << 30)
1656#define KPREC_OF0 (0x1 << 15)
1657#define KPREC_UF0 (0x1 << 14)
1658
1659#define KPMK_MKP (0x1 << 31)
1660#define KPAS_SO (0x1 << 31)
1661#define KPASMKPx_SO (0x1 << 31)
1662
1663/* Camera Interface */ 1607/* Camera Interface */
1664#define CICR0 __REG(0x50000000) 1608#define CICR0 __REG(0x50000000)
1665#define CICR1 __REG(0x50000004) 1609#define CICR1 __REG(0x50000004)