| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/input/adi,ad7147_captouch.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: Analog Devices AD7147 CapTouch Programmable Controller | |
| maintainers: | |
| - Michael Hennerich <michael.hennerich@analog.com> | |
| properties: | |
| compatible: | |
| const: adi,ad7147_captouch | |
| reg: | |
| maxItems: 1 | |
| interrupts: | |
| maxItems: 1 | |
| vcc-supply: true | |
| required: | |
| - compatible | |
| - reg | |
| - interrupts | |
| additionalProperties: false | |
| examples: | |
| - | | |
| #include <dt-bindings/interrupt-controller/irq.h> | |
| i2c { | |
| #address-cells = <1>; | |
| #size-cells = <0>; | |
| touch@2c { | |
| compatible = "adi,ad7147_captouch"; | |
| reg = <0x2c>; | |
| interrupt-parent = <&tlmm>; | |
| interrupts = <96 IRQ_TYPE_EDGE_FALLING>; | |
| vcc-supply = <&vreg_l18a_2p85>; | |
| }; | |
| }; | |
| ... |