Awinic AW86927 LRA Haptic IC

Schema identifier ($id): "http://devicetree.org/schemas/input/awinic,aw86927.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Griffin Kroah-Hartman <griffin.kroah@fairphone.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "awinic,aw86927"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reset-gpios", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    vibrator@5a {
        compatible = "awinic,aw86927";
        reg = <0x5a>;
        interrupts-extended = <&tlmm 101 IRQ_TYPE_EDGE_FALLING>;
        reset-gpios = <&tlmm 100 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page