aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-16 06:29:43 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 07:30:11 -0400
commit4f8d9cae15b5b5c89ec17c8168215aa06a5c9b2c (patch)
tree688c7dd56b3ba4286a82343f8372bded93cee927 /arch/arm/include
parent6995f5b007c6b774e7d0c7528ced171145c03a09 (diff)
ARM: sa1111: move PS/2 interface register definitions to sa1111p2.c
Move the PS/2 interface register definitions into the driver, rather than keeping them in a common location. Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/hardware/sa1111.h39
1 files changed, 1 insertions, 38 deletions
diff --git a/arch/arm/include/asm/hardware/sa1111.h b/arch/arm/include/asm/hardware/sa1111.h
index 5ba2e13ed2b6..dc15bf8ff39d 100644
--- a/arch/arm/include/asm/hardware/sa1111.h
+++ b/arch/arm/include/asm/hardware/sa1111.h
@@ -409,48 +409,11 @@
409#define SA1111_WAKEPOL0 0x0034 409#define SA1111_WAKEPOL0 0x0034
410#define SA1111_WAKEPOL1 0x0038 410#define SA1111_WAKEPOL1 0x0038
411 411
412/* 412/* PS/2 Trackpad and Mouse Interfaces */
413 * PS/2 Trackpad and Mouse Interfaces
414 *
415 * Registers
416 * PS2CR Control Register
417 * PS2STAT Status Register
418 * PS2DATA Transmit/Receive Data register
419 * PS2CLKDIV Clock Division Register
420 * PS2PRECNT Clock Precount Register
421 * PS2TEST1 Test register 1
422 * PS2TEST2 Test register 2
423 * PS2TEST3 Test register 3
424 * PS2TEST4 Test register 4
425 */
426
427#define SA1111_KBD 0x0a00 413#define SA1111_KBD 0x0a00
428#define SA1111_MSE 0x0c00 414#define SA1111_MSE 0x0c00
429 415
430/* 416/*
431 * These are offsets from the above bases.
432 */
433#define SA1111_PS2CR 0x0000
434#define SA1111_PS2STAT 0x0004
435#define SA1111_PS2DATA 0x0008
436#define SA1111_PS2CLKDIV 0x000c
437#define SA1111_PS2PRECNT 0x0010
438
439#define PS2CR_ENA 0x08
440#define PS2CR_FKD 0x02
441#define PS2CR_FKC 0x01
442
443#define PS2STAT_STP 0x0100
444#define PS2STAT_TXE 0x0080
445#define PS2STAT_TXB 0x0040
446#define PS2STAT_RXF 0x0020
447#define PS2STAT_RXB 0x0010
448#define PS2STAT_ENA 0x0008
449#define PS2STAT_RXP 0x0004
450#define PS2STAT_KBD 0x0002
451#define PS2STAT_KBC 0x0001
452
453/*
454 * PCMCIA Interface 417 * PCMCIA Interface
455 * 418 *
456 * Registers 419 * Registers