Path: blob/master/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml
26309 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- Alexandru Tachici <alexandru.tachici@analog.com>1011description: |12ADIS16240 Programmable Impact Sensor and Recorder driver that supports13SPI interface.14https://www.analog.com/en/products/adis16240.html1516properties:17compatible:18enum:19- adi,adis162402021reg:22maxItems: 12324interrupts:25maxItems: 12627required:28- compatible29- reg30- interrupts3132allOf:33- $ref: /schemas/spi/spi-peripheral-props.yaml#3435unevaluatedProperties: false3637examples:38- |39#include <dt-bindings/gpio/gpio.h>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