]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Add driver for operator panel on FSP machines
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Wed, 29 Jun 2016 03:38:39 +0000 (13:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2016 07:33:46 +0000 (17:33 +1000)
commit4b634438fece4a7706f7709c5a2b8a800d3adff9
tree8ea8da82abb2bc19746c804464571a38dea6126f
parent4590c65ce95ea7197e7638ab54cb0fe668e6e2f9
powerpc/powernv: Add driver for operator panel on FSP machines

Implement new character device driver to allow access from user space
to the operator panel display present on IBM Power Systems machines
with FSPs.

This will allow status information to be presented on the display which
is visible to a user.

The driver implements a character buffer which a user can read/write
by accessing the device (/dev/op_panel). This buffer is then displayed on
the operator panel display. Any attempt to write past the last character
position will have no effect and attempts to write more characters than
the size of the display will be truncated. The device may only be accessed
by a single process at a time.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
MAINTAINERS
arch/powerpc/configs/powernv_defconfig
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/powernv-op-panel.c [new file with mode: 0644]