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      - kionix,kx023-1025
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  vdd-supply: true
28  vddio-supply: true
29
30  mount-matrix:
31    description: an optional 3x3 mounting rotation matrix.
32
33required:
34  - compatible
35  - reg
36
37additionalProperties: false
38
39examples:
40  - |
41    i2c {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        accel@f {
46            compatible = "kionix,kxtf9";
47            reg = <0x0F>;
48            mount-matrix = "0", "1", "0",
49                           "1", "0", "0",
50                           "0", "0", "1";
51        };
52    };
53...
54