Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: Add documentation for IBM Operation Panel

Document the bindings for the IBM Operation Panel, which provides
a simple interface to control a server. It has a display and three
buttons.
Also update MAINTAINERS for the new file.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220809204147.238132-2-eajames@linux.ibm.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Eddie James and committed by
Dmitry Torokhov
bc604fbb 93fbff11

+56
+50
Documentation/devicetree/bindings/input/ibm,op-panel.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/ibm,op-panel.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: IBM Operation Panel 8 + 9 + maintainers: 10 + - Eddie James <eajames@linux.ibm.com> 11 + 12 + allOf: 13 + - $ref: input.yaml# 14 + 15 + description: | 16 + The IBM Operation Panel provides a simple interface to control the connected 17 + server. It has a display and three buttons: two directional arrows and one 18 + 'Enter' button. 19 + 20 + properties: 21 + compatible: 22 + const: ibm,op-panel 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + linux,keycodes: 28 + minItems: 1 29 + maxItems: 3 30 + 31 + required: 32 + - compatible 33 + - reg 34 + 35 + additionalProperties: false 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/i2c/i2c.h> 40 + #include <dt-bindings/input/input.h> 41 + i2c { 42 + #address-cells = <1>; 43 + #size-cells = <0>; 44 + 45 + ibm-op-panel@62 { 46 + compatible = "ibm,op-panel"; 47 + reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>; 48 + linux,keycodes = <KEY_UP>, <KEY_DOWN>, <KEY_ENTER>; 49 + }; 50 + };
+6
MAINTAINERS
··· 9643 9643 F: Documentation/ia64/ 9644 9644 F: arch/ia64/ 9645 9645 9646 + IBM Operation Panel Input Driver 9647 + M: Eddie James <eajames@linux.ibm.com> 9648 + L: linux-input@vger.kernel.org 9649 + S: Maintained 9650 + F: Documentation/devicetree/bindings/input/ibm,op-panel.yaml 9651 + 9646 9652 IBM Power 842 compression accelerator 9647 9653 M: Haren Myneni <haren@us.ibm.com> 9648 9654 S: Supported