i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol
Schema identifier ($id): "http://devicetree.org/schemas/input/fsl,scu-key.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dong Aisheng <aisheng.dong@nxp.com>"
i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):input.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fsl,imx8qxp-sc-key"
Item 2
Exact value (
const):"fsl,imx-sc-key"
linux,keycodes — required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "linux,keycodes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/input/input.h>
keys {
compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key";
linux,keycodes = <KEY_POWER>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)