xref: /freebsd/sys/contrib/device-tree/Bindings/iio/accel/kionix,kxcjk1013.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/accel/kionix,kxcjk1013.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Kionix KXCJK-1013 Accelerometer
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Robert Yang <decatf@gmail.com>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotproperties:
13*5def4c47SEmmanuel Vadot  compatible:
14*5def4c47SEmmanuel Vadot    enum:
15*5def4c47SEmmanuel Vadot      - kionix,kxcjk1013
16*5def4c47SEmmanuel Vadot      - kionix,kxcj91008
17*5def4c47SEmmanuel Vadot      - kionix,kxtj21009
18*5def4c47SEmmanuel Vadot      - kionix,kxtf9
19*5def4c47SEmmanuel Vadot
20*5def4c47SEmmanuel Vadot  reg:
21*5def4c47SEmmanuel Vadot    maxItems: 1
22*5def4c47SEmmanuel Vadot
23*5def4c47SEmmanuel Vadot  vdd-supply: true
24*5def4c47SEmmanuel Vadot  vddio-supply: true
25*5def4c47SEmmanuel Vadot
26*5def4c47SEmmanuel Vadot  mount-matrix:
27*5def4c47SEmmanuel Vadot    description: an optional 3x3 mounting rotation matrix.
28*5def4c47SEmmanuel Vadot
29*5def4c47SEmmanuel Vadotrequired:
30*5def4c47SEmmanuel Vadot  - compatible
31*5def4c47SEmmanuel Vadot  - reg
32*5def4c47SEmmanuel Vadot
33*5def4c47SEmmanuel VadotadditionalProperties: false
34*5def4c47SEmmanuel Vadot
35*5def4c47SEmmanuel Vadotexamples:
36*5def4c47SEmmanuel Vadot  - |
37*5def4c47SEmmanuel Vadot    i2c {
38*5def4c47SEmmanuel Vadot        #address-cells = <1>;
39*5def4c47SEmmanuel Vadot        #size-cells = <0>;
40*5def4c47SEmmanuel Vadot
41*5def4c47SEmmanuel Vadot        accel@f {
42*5def4c47SEmmanuel Vadot            compatible = "kionix,kxtf9";
43*5def4c47SEmmanuel Vadot            reg = <0x0F>;
44*5def4c47SEmmanuel Vadot            mount-matrix = "0", "1", "0",
45*5def4c47SEmmanuel Vadot                           "1", "0", "0",
46*5def4c47SEmmanuel Vadot                           "0", "0", "1";
47*5def4c47SEmmanuel Vadot        };
48*5def4c47SEmmanuel Vadot    };
49*5def4c47SEmmanuel Vadot...
50