| 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 |
|
| 7 |
title: Texas Instruments - drv266x Haptics driver |
| 8 |
|
| 9 |
description: | |
| 10 |
Product Page: |
| 11 |
http://www.ti.com/product/drv2665 |
| 12 |
http://www.ti.com/product/drv2667 |
| 13 |
|
| 14 |
maintainers: |
| 15 |
- Anshul Dalal <[email protected]> |
| 16 |
|
| 17 |
properties: |
| 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 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
- vbat-supply |
| 33 |
|
| 34 |
additionalProperties: false |
| 35 |
|
| 36 |
examples: |
| 37 |
- | |
| 38 |
#include <dt-bindings/gpio/gpio.h> |
| 39 |
|
| 40 |
i2c { |
| 41 |
#address-cells = <1>; |
| 42 |
#size-cells = <0>; |
| 43 |
|
| 44 |
haptics@59 { |
| 45 |
compatible = "ti,drv2667"; |
| 46 |
reg = <0x59>; |
| 47 |
vbat-supply = <&vbat>; |
| 48 |
}; |
| 49 |
}; |