IBM Operation Panel

Schema identifier ($id): "http://devicetree.org/schemas/input/ibm,op-panel.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): input.yaml#

The IBM Operation Panel provides a simple interface to control the connected server. It has a display and three buttons: two directional arrows and one 'Enter' button.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ibm,op-panel"

reg — required here #

Maximum number of items (maxItems): 1

linux,keycodes — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/i2c/i2c.h>
#include <dt-bindings/input/input.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ibm-op-panel@62 {
        compatible = "ibm,op-panel";
        reg = <(0x62 | I2C_OWN_SLAVE_ADDRESS)>;
        linux,keycodes = <KEY_UP>, <KEY_DOWN>, <KEY_ENTER>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page