1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/cypress,cyapa.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Cypress All Points Addressable (APA) I2C Touchpad / Trackpad 8 9maintainers: 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 12properties: 13 compatible: 14 const: cypress,cyapa 15 16 reg: 17 maxItems: 1 18 19 interrupts: 20 maxItems: 1 21 22 wakeup-source: true 23 24 vcc-supply: 25 description: 3.3V power 26 27required: 28 - compatible 29 - reg 30 - interrupts 31 32additionalProperties: false 33 34examples: 35 - | 36 #include <dt-bindings/interrupt-controller/irq.h> 37 38 i2c { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 42 trackpad@67 { 43 reg = <0x67>; 44 compatible = "cypress,cyapa"; 45 interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 46 interrupt-parent = <&gpx1>; 47 wakeup-source; 48 }; 49 }; 50