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)
commit43a1dd9b5fc64184e578ac1570d016d2862e00b2
tree8ea8da82abb2bc19746c804464571a38dea6126f
parentd0226d315dba5e401a124b394a1af5e35e082b08
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]