Path: blob/master/Documentation/devicetree/bindings/input/ibm,op-panel.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/input/ibm,op-panel.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: IBM Operation Panel78maintainers:9- Eddie James <eajames@linux.ibm.com>1011allOf:12- $ref: input.yaml#1314description: |15The IBM Operation Panel provides a simple interface to control the connected16server. It has a display and three buttons: two directional arrows and one17'Enter' button.1819properties:20compatible:21const: ibm,op-panel2223reg:24maxItems: 12526linux,keycodes:27minItems: 128maxItems: 32930required:31- compatible32- reg3334additionalProperties: false3536examples:37- |38#include <dt-bindings/i2c/i2c.h>39#include <dt-bindings/input/input.h>40i2c {41#address-cells = <1>;42#size-cells = <0>;4344ibm-op-panel@62 {45compatible = "ibm,op-panel";46reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;47linux,keycodes = <KEY_UP>, <KEY_DOWN>, <KEY_ENTER>;48};49};505152