linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] input: misc: Add IBM Operation Panel driver
@ 2022-08-09 20:41 Eddie James
  2022-08-09 20:41 ` [PATCH v5 1/2] dt-bindings: input: Add documentation for IBM Operation Panel Eddie James
  2022-08-09 20:41 ` [PATCH v5 2/2] input: misc: Add IBM Operation Panel driver Eddie James
  0 siblings, 2 replies; 3+ messages in thread
From: Eddie James @ 2022-08-09 20:41 UTC (permalink / raw)
  To: linux-input
  Cc: devicetree, linux-kernel, dmitry.torokhov, robh+dt,
	krzysztof.kozlowski+dt, joel, wsa+renesas, eajames

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 v4:
 - Fix missing input include in dt binding resulting in make check failure

Changes since v3:
 - Document linux,keycodes property
 - Use linux,keycodes property to map the buttons
 - Put the checksumming in a seperate function
 - Don't do unneccessary input_unregister calls
 - Minor cleanup and add debug data to dev_dbg calls

Changes since v2:
 - Add "additionalProperties: false" to dts doc
 - Refactor switch statement in the input driver; check command size and call
   the processing function within the STOP case
 - Use a different definition name for Aspeed interrupt status mask

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 (2):
  dt-bindings: input: Add documentation for IBM Operation Panel
  input: misc: Add IBM Operation Panel driver

 .../bindings/input/ibm,op-panel.yaml          |  50 +++++
 MAINTAINERS                                   |   7 +
 drivers/input/misc/Kconfig                    |  18 ++
 drivers/input/misc/Makefile                   |   1 +
 drivers/input/misc/ibm-panel.c                | 198 ++++++++++++++++++
 5 files changed, 274 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/ibm,op-panel.yaml
 create mode 100644 drivers/input/misc/ibm-panel.c

-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-09 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-09 20:41 [PATCH v5 0/2] input: misc: Add IBM Operation Panel driver Eddie James
2022-08-09 20:41 ` [PATCH v5 1/2] dt-bindings: input: Add documentation for IBM Operation Panel Eddie James
2022-08-09 20:41 ` [PATCH v5 2/2] input: misc: Add IBM Operation Panel driver Eddie James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).