1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/ti,drv266x.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments - drv266x Haptics driver 8 9description: | 10 Product Page: 11 http://www.ti.com/product/drv2665 12 http://www.ti.com/product/drv2667 13 14maintainers: 15 - Anshul Dalal <anshulusr@gmail.com> 16 17properties: 18 compatible: 19 enum: 20 - ti,drv2665 21 - ti,drv2667 22 23 reg: 24 maxItems: 1 25 26 vbat-supply: 27 description: Required supply regulator 28 29required: 30 - compatible 31 - reg 32 - vbat-supply 33 34additionalProperties: false 35 36examples: 37 - | 38 #include <dt-bindings/gpio/gpio.h> 39 40 41 i2c { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 45 haptics@59 { 46 compatible = "ti,drv2667"; 47 reg = <0x59>; 48 vbat-supply = <&vbat>; 49 }; 50 }; 51