Path: blob/master/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
29539 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/accel/adi,adis16240.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: ADIS16240 Programmable Impact Sensor and Recorder driver78maintainers:9- Marcelo Schmitt <marcelo.schmitt@analog.com>10- Nuno Sá <nuno.sa@analog.com>1112description: |13ADIS16240 Programmable Impact Sensor and Recorder driver that supports14SPI interface.15https://www.analog.com/en/products/adis16240.html1617properties:18compatible:19enum:20- adi,adis162402122reg:23maxItems: 12425interrupts:26maxItems: 12728required:29- compatible30- reg31- interrupts3233allOf:34- $ref: /schemas/spi/spi-peripheral-props.yaml#3536unevaluatedProperties: false3738examples:39- |40#include <dt-bindings/interrupt-controller/irq.h>41spi {42#address-cells = <1>;43#size-cells = <0>;4445/* Example for a SPI device node */46accelerometer@0 {47compatible = "adi,adis16240";48reg = <0>;49spi-max-frequency = <2500000>;50interrupt-parent = <&gpio0>;51interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;52};53};545556