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  mount-matrix:
24    description: an optional 3x3 mounting rotation matrix.
25
26required:
27  - compatible
28  - reg
29
30additionalProperties: false
31
32examples:
33  - |
34    i2c {
35        #address-cells = <1>;
36        #size-cells = <0>;
37
38        accel@f {
39            compatible = "kionix,kxtf9";
40            reg = <0x0F>;
41            mount-matrix = "0", "1", "0",
42                           "1", "0", "0",
43                           "0", "0", "1";
44        };
45    };
46...
47