brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 29a1879 Raw
51 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/input/ibm,op-panel.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: IBM Operation Panel8 9maintainers:10  - Eddie James <eajames@linux.ibm.com>11 12allOf:13  - $ref: input.yaml#14 15description: |16  The IBM Operation Panel provides a simple interface to control the connected17  server. It has a display and three buttons: two directional arrows and one18  'Enter' button.19 20properties:21  compatible:22    const: ibm,op-panel23 24  reg:25    maxItems: 126 27  linux,keycodes:28    minItems: 129    maxItems: 330 31required:32  - compatible33  - reg34 35additionalProperties: false36 37examples: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    };51