xref: /freebsd/sys/contrib/device-tree/Bindings/iio/accel/kionix,kxcjk1013.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/accel/kionix,kxcjk1013.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Kionix KXCJK-1013 Accelerometer
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Robert Yang <decatf@gmail.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotproperties:
135def4c47SEmmanuel Vadot  compatible:
145def4c47SEmmanuel Vadot    enum:
155def4c47SEmmanuel Vadot      - kionix,kxcjk1013
165def4c47SEmmanuel Vadot      - kionix,kxcj91008
175def4c47SEmmanuel Vadot      - kionix,kxtj21009
185def4c47SEmmanuel Vadot      - kionix,kxtf9
195956d97fSEmmanuel Vadot      - kionix,kx023-1025
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  reg:
225def4c47SEmmanuel Vadot    maxItems: 1
235def4c47SEmmanuel Vadot
248cc087a1SEmmanuel Vadot  interrupts:
258cc087a1SEmmanuel Vadot    maxItems: 1
268cc087a1SEmmanuel Vadot
275def4c47SEmmanuel Vadot  vdd-supply: true
285def4c47SEmmanuel Vadot  vddio-supply: true
295def4c47SEmmanuel Vadot
305def4c47SEmmanuel Vadot  mount-matrix:
315def4c47SEmmanuel Vadot    description: an optional 3x3 mounting rotation matrix.
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadotrequired:
345def4c47SEmmanuel Vadot  - compatible
355def4c47SEmmanuel Vadot  - reg
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel VadotadditionalProperties: false
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadotexamples:
405def4c47SEmmanuel Vadot  - |
415def4c47SEmmanuel Vadot    i2c {
425def4c47SEmmanuel Vadot        #address-cells = <1>;
435def4c47SEmmanuel Vadot        #size-cells = <0>;
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel Vadot        accel@f {
465def4c47SEmmanuel Vadot            compatible = "kionix,kxtf9";
47*cb7aa33aSEmmanuel Vadot            reg = <0xf>;
485def4c47SEmmanuel Vadot            mount-matrix = "0", "1", "0",
495def4c47SEmmanuel Vadot                           "1", "0", "0",
505def4c47SEmmanuel Vadot                           "0", "0", "1";
515def4c47SEmmanuel Vadot        };
525def4c47SEmmanuel Vadot    };
535def4c47SEmmanuel Vadot...
54