Dell Wyse 3020 a.k.a. "Ariel" Power Button
Schema identifier ($id): "http://devicetree.org/schemas/input/ariel-pwrbutton.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
The ENE Embedded Controller on the Ariel board has an interface to the SPI bus that is capable of sending keyboard and mouse data. A single power button is attached to it. This binding describes this configuration.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):input.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dell,wyse-ariel-ec-input"
Item 2
Exact value (
const):"ene,kb3930-input"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
spi-max-frequency — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
power-button@0 {
compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input";
reg = <0>;
interrupt-parent = <&gpio>;
interrupts = <60 IRQ_TYPE_EDGE_RISING>;
spi-max-frequency = <33000000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)