1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/iio/accel/adi,adxl355.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices ADXL355 3-Axis, Low noise MEMS Accelerometer
10 - Puranjay Mohan <puranjay12@gmail.com>
13 Analog Devices ADXL355 3-Axis, Low noise MEMS Accelerometer that supports
14 both I2C & SPI interfaces
15 https://www.analog.com/en/products/adxl355.html
29 Type for DRDY should be IRQ_TYPE_EDGE_RISING.
30 Three configurable interrupt lines exist.
33 description: Specify which interrupt line is in use.
43 description: Regulator that provides power to the sensor
46 description: Regulator that provides power to the bus
48 spi-max-frequency: true
54 additionalProperties: false
58 #include <dt-bindings/gpio/gpio.h>
59 #include <dt-bindings/interrupt-controller/irq.h>
64 /* Example for a I2C device node */
66 compatible = "adi,adxl355";
68 interrupt-parent = <&gpio>;
69 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
70 interrupt-names = "DRDY";
74 #include <dt-bindings/gpio/gpio.h>
75 #include <dt-bindings/interrupt-controller/irq.h>
81 compatible = "adi,adxl355";
83 spi-max-frequency = <1000000>;
84 interrupt-parent = <&gpio>;
85 interrupts = <25 IRQ_TYPE_EDGE_RISING>;
86 interrupt-names = "DRDY";