Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
52819 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/input/awinic,aw86927.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Awinic AW86927 LRA Haptic IC
8
9
maintainers:
10
- Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
11
12
properties:
13
compatible:
14
const: awinic,aw86927
15
16
reg:
17
maxItems: 1
18
19
reset-gpios:
20
maxItems: 1
21
22
interrupts:
23
maxItems: 1
24
25
required:
26
- compatible
27
- reg
28
- reset-gpios
29
- interrupts
30
31
additionalProperties: false
32
33
examples:
34
- |
35
#include <dt-bindings/gpio/gpio.h>
36
#include <dt-bindings/interrupt-controller/irq.h>
37
38
i2c {
39
#address-cells = <1>;
40
#size-cells = <0>;
41
42
vibrator@5a {
43
compatible = "awinic,aw86927";
44
reg = <0x5a>;
45
interrupts-extended = <&tlmm 101 IRQ_TYPE_EDGE_FALLING>;
46
reset-gpios = <&tlmm 100 GPIO_ACTIVE_LOW>;
47
};
48
};
49
50