1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
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
7title: Kionix KXCJK-1013 Accelerometer
8
9maintainers:
10  - Robert Yang <decatf@gmail.com>
11
12properties:
13  compatible:
14    enum:
15      - kionix,kxcjk1013
16      - kionix,kxcj91008
17      - kionix,kxtj21009
18      - kionix,kxtf9
19
20  reg:
21    maxItems: 1
22
23  vdd-supply: true
24  vddio-supply: true
25
26  mount-matrix:
27    description: an optional 3x3 mounting rotation matrix.
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        accel@f {
42            compatible = "kionix,kxtf9";
43            reg = <0x0F>;
44            mount-matrix = "0", "1", "0",
45                           "1", "0", "0",
46                           "0", "0", "1";
47        };
48    };
49...
50