1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/accel/kionix,kxsd9.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Kionix KXSD9 Accelerometer
10 - Jonathan Cameron <jic23@kernel.org>
13 3 axis 12 bit accelerometer with +-8G range on all axes. Also has a
14 12 bit auxiliary ADC channel. Interface is either SPI or I2C.
30 description: an optional 3x3 mounting rotation matrix.
32 spi-max-frequency: true
38 additionalProperties: false
42 # include <dt-bindings/interrupt-controller/irq.h>
48 compatible = "kionix,kxsd9";
50 iovdd-supply = <&iovdd>;
52 interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
53 mount-matrix = "-0.984807753012208", "0", "-0.173648177666930",
55 "-0.173648177666930", "0", "0.984807753012208";
59 # include <dt-bindings/interrupt-controller/irq.h>
64 compatible = "kionix,kxsd9";
66 spi-max-frequency = <10000000>;