input,serio: support for GRLIB APBPS2 PS/2 Keyboard/Mouse
Subsystems (3)
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.
Signed-off-by Daniel Hellstrom <[email protected]>
--- .../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
@@ -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
@@ -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
@@ -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
Quoted 4 lines · Daniel Hellstrom
APBPS2 is a PS/2 core part of GRLIB found in SPARC32/LEON products.
Signed-off-by Daniel Hellstrom <[email protected]>
Applied to 3.10 queue, thank you.
Signature · 1 line
Dmitry
Quoted 6 lines · Dmitry Torokhov
Quoted 4 lines · Daniel Hellstrom
APBPS2 is a PS/2 core part of GRLIB found in SPARC32/LEON products.
Signed-off-by Daniel Hellstrom <[email protected]>Applied to 3.10 queue, thank you.
Thank you very much! Hope you have a nice day.
Regards,
Daniel