Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / accel / kionix,kxcjk1013.yaml
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
7 title: Kionix KXCJK-1013 Accelerometer
8
9 maintainers:
10   - Robert Yang <decatf@gmail.com>
11
12 properties:
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   vdd-supply: true
25   vddio-supply: true
26
27   mount-matrix:
28     description: an optional 3x3 mounting rotation matrix.
29
30 required:
31   - compatible
32   - reg
33
34 additionalProperties: false
35
36 examples:
37   - |
38     i2c {
39         #address-cells = <1>;
40         #size-cells = <0>;
41
42         accel@f {
43             compatible = "kionix,kxtf9";
44             reg = <0x0F>;
45             mount-matrix = "0", "1", "0",
46                            "1", "0", "0",
47                            "0", "0", "1";
48         };
49     };
50 ...