Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: Add Awinic AW86927

Add bindings for the Awinic AW86927 haptic chip which can be found in
smartphones.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
Link: https://lore.kernel.org/r/20250925-aw86927-v3-1-1fc6265b42de@fairphone.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Griffin Kroah-Hartman and committed by
Dmitry Torokhov
9fbad55d 2728e71a

+48
+48
Documentation/devicetree/bindings/input/awinic,aw86927.yaml
··· 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 + };