|
|
Subscribe / Log in / New account

input: misc: Add IBM Operation Panel driver

From:  Eddie James <eajames-AT-linux.ibm.com>
To:  linux-input-AT-vger.kernel.org
Subject:  [PATCH v2 0/5] input: misc: Add IBM Operation Panel driver
Date:  Tue, 08 Sep 2020 15:00:56 -0500
Message-ID:  <20200908200101.64974-1-eajames@linux.ibm.com>
Cc:  devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-aspeed-AT-lists.ozlabs.org, linux-i2c-AT-vger.kernel.org, joel-AT-jms.id.au, andrew-AT-aj.id.au, benh-AT-kernel.crashing.org, brendanhiggins-AT-google.com, dmitry.torokhov-AT-gmail.com, robh+dt-AT-kernel.org, wsa-AT-kernel.org, rentao.bupt-AT-gmail.com, ryan_chen-AT-aspeedtech.com
Archive-link:  Article

This series adds support for input from the IBM Operation Panel, which is
a simple controller with three buttons and an LCD display meant for
interacting with a server. It's connected over I2C, typically to a service
processor. This series only supports the input from the panel, in which the
panel masters the I2C bus and sends data to the host system when someone
presses a button on the controller.

Changes since v1:
 - Redo DTS documentation example to use I2C_OWN_SLAVE_ADDRESS
 - Reject commands received in the input driver that are too long
 - Add a definition for the interrupt status mask in the Aspeed I2C driver
 - Use I2C_OWN_SLAVE_ADDRESS for both dts additions

Eddie James (5):
  dt-bindings: input: Add documentation for IBM Operation Panel
  input: misc: Add IBM Operation Panel driver
  i2c: aspeed: Mask IRQ status to relevant bits
  ARM: dts: Aspeed: Tacoma: Add IBM Operation Panel I2C device
  ARM: dts: Aspeed: Rainier: Add IBM Operation Panel I2C device

 .../bindings/input/ibm,op-panel.yaml          |  39 ++++
 MAINTAINERS                                   |   7 +
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts  |   7 +
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts   |   7 +
 drivers/i2c/busses/i2c-aspeed.c               |   2 +
 drivers/input/misc/Kconfig                    |  18 ++
 drivers/input/misc/Makefile                   |   1 +
 drivers/input/misc/ibm-panel.c                | 192 ++++++++++++++++++
 8 files changed, 273 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/ibm,op-panel.yaml
 create mode 100644 drivers/input/misc/ibm-panel.c

-- 
2.26.2



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds