| 1 |
|
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/iio/accel/kionix,kxcjk1013.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Kionix KXCJK-1013 Accelerometer |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Robert Yang <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- kionix,kxcjk1013 |
| 16 |
- kionix,kxcj91008 |
| 17 |
- kionix,kxtj21009 |
| 18 |
- kionix,kxtf9 |
| 19 |
- kionix,kx022-1020 |
| 20 |
- kionix,kx023-1025 |
| 21 |
|
| 22 |
reg: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
interrupts: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
vdd-supply: true |
| 29 |
vddio-supply: true |
| 30 |
|
| 31 |
mount-matrix: |
| 32 |
description: an optional 3x3 mounting rotation matrix. |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- reg |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
i2c { |
| 43 |
#address-cells = <1>; |
| 44 |
#size-cells = <0>; |
| 45 |
|
| 46 |
accel@f { |
| 47 |
compatible = "kionix,kxtf9"; |
| 48 |
reg = <0xf>; |
| 49 |
mount-matrix = "0", "1", "0", |
| 50 |
"1", "0", "0", |
| 51 |
"0", "0", "1"; |
| 52 |
}; |
| 53 |
}; |
| 54 |
... |