Skip to contentSkip to conversation

input,serio: support for GRLIB APBPS2 PS/2 Keyboard/Mouse

PATCH Applied Daniel Hellstrom 2 participants 3 messages Feb 25, 2013 – Feb 26, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 input,serio: support for GRLIB APBPS2 PS/2 Keyboard/Mouse

APBPS2 is a PS/2 core part of GRLIB found in SPARC32/LEON products.

---
 .../bindings/input/ps2keyb-mouse-apbps2.txt        |   16 ++
 drivers/input/serio/Kconfig                        |   10 +
 drivers/input/serio/Makefile                       |    1 +
 drivers/input/serio/apbps2.c                       |  232 ++++++++++++++++++++
 4 files changed, 259 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt
 create mode 100644 drivers/input/serio/apbps2.c
Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt new file +16 -0
new file mode 100644
index 0000000..3029c56
@@ -0,0 +1,16 @@
+Aeroflex Gaisler APBPS2 PS/2 Core, supporting Keyboard or Mouse.
+
+The APBPS2 PS/2 core is available in the GRLIB VHDL IP core library.
+
+Note: In the ordinary environment for the APBPS2 core, a LEON SPARC system,
+these properties are built from information in the AMBA plug&play and from
+bootloader settings.
+
+Required properties:
+
+- name : Should be "GAISLER_APBPS2" or "01_060"
+- reg : Address and length of the register set for the device
+- interrupts : Interrupt numbers for this device
+
+For further information look in the documentation for the GLIB IP core library:
+http://www.gaisler.com/products/grlib/grip.pdf
drivers/input/serio/Kconfig +10 -0
index 560c243..4a6bb3d 100644
@@ -244,4 +244,14 @@ config SERIO_ARC_PS2
 	  To compile this driver as a module, choose M here; the module
 	  will be called arc_ps2.
 
+config SERIO_APBPS2
+        tristate "GRLIB APBPS2 PS/2 keyboard/mouse controller"
+	depends on OF
+        help
+          Say Y here if you want support for GRLIB APBPS2 peripherals used
+          to connect to PS/2 keyboard and/or mouse.
+
+          To compile this driver as a module, choose M here: the module will
+          be called apbps2.
+
 endif
drivers/input/serio/Makefile +1 -0
index 4b0c8f8..8edb36c 100644
@@ -26,3 +26,4 @@ obj-$(CONFIG_SERIO_AMS_DELTA)	+= ams_delta_serio.o
 obj-$(CONFIG_SERIO_XILINX_XPS_PS2)	+= xilinx_ps2.o
 obj-$(CONFIG_SERIO_ALTERA_PS2)	+= altera_ps2.o
 obj-$(CONFIG_SERIO_ARC_PS2)	+= arc_ps2.o
+obj-$(CONFIG_SERIO_APBPS2)	+= apbps2.o
drivers/input/serio/apbps2.c new file +232 -0

232 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#2 lore raw
Quoted 6 lines · Dmitry Torokhov
Quoted 4 lines · Daniel Hellstrom

APBPS2 is a PS/2 core part of GRLIB found in SPARC32/LEON products.

Applied to 3.10 queue, thank you.

Thank you very much! Hope you have a nice day.

Regards,
Daniel