Path: blob/master/Documentation/devicetree/bindings/input/ariel-pwrbutton.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/input/ariel-pwrbutton.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Dell Wyse 3020 a.k.a. "Ariel" Power Button78maintainers:9- Lubomir Rintel <lkundrak@v3.sk>1011description: |12The ENE Embedded Controller on the Ariel board has an interface to the13SPI bus that is capable of sending keyboard and mouse data. A single14power button is attached to it. This binding describes this15configuration.1617allOf:18- $ref: input.yaml#19- $ref: /schemas/spi/spi-peripheral-props.yaml#2021properties:22compatible:23items:24- const: dell,wyse-ariel-ec-input25- const: ene,kb3930-input2627reg:28maxItems: 12930interrupts:31maxItems: 13233spi-max-frequency: true3435required:36- compatible37- reg38- interrupts3940additionalProperties: false4142examples:43- |44#include <dt-bindings/interrupt-controller/irq.h>4546spi {47#address-cells = <1>;48#size-cells = <0>;4950power-button@0 {51compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input";52reg = <0>;53interrupt-parent = <&gpio>;54interrupts = <60 IRQ_TYPE_EDGE_RISING>;55spi-max-frequency = <33000000>;56};57};585960