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.
37 - $ref: /schemas/spi/spi-peripheral-props.yaml#
39 unevaluatedProperties: false
43 # include <dt-bindings/interrupt-controller/irq.h>
49 compatible = "kionix,kxsd9";
51 iovdd-supply = <&iovdd>;
53 interrupts = <57 IRQ_TYPE_EDGE_FALLING>;
54 mount-matrix = "-0.984807753012208", "0", "-0.173648177666930",
56 "-0.173648177666930", "0", "0.984807753012208";
60 # include <dt-bindings/interrupt-controller/irq.h>
65 compatible = "kionix,kxsd9";
67 spi-max-frequency = <10000000>;