1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/accel/a 4 $id: http://devicetree.org/schemas/iio/accel/adi,adxl367.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices ADXL367 3-Axis Digital A 7 title: Analog Devices ADXL367 3-Axis Digital Accelerometer 8 8 9 maintainers: 9 maintainers: 10 - Cosmin Tanislav <cosmin.tanislav@analog.com 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 11 11 12 description: | 12 description: | 13 The ADXL367 is an ultralow power, 3-axis MEM 13 The ADXL367 is an ultralow power, 3-axis MEMS accelerometer. 14 14 15 The ADXL367 does not alias input signals by 15 The ADXL367 does not alias input signals by to achieve ultralow power 16 consumption, it samples the full bandwidth o 16 consumption, it samples the full bandwidth of the sensor at all 17 data rates. Measurement ranges of +-2g, +-4g 17 data rates. Measurement ranges of +-2g, +-4g, and +-8g are available, 18 with a resolution of 0.25mg/LSB on the +-2 g 18 with a resolution of 0.25mg/LSB on the +-2 g range. 19 19 20 In addition to its ultralow power consumptio 20 In addition to its ultralow power consumption, the ADXL367 21 has many features to enable true system leve 21 has many features to enable true system level power reduction. 22 It includes a deep multimode output FIFO, a 22 It includes a deep multimode output FIFO, a built-in micropower 23 temperature sensor, and an internal ADC for 23 temperature sensor, and an internal ADC for synchronous conversion 24 of an additional analog input. 24 of an additional analog input. 25 https://www.analog.com/en/products/adxl367 25 https://www.analog.com/en/products/adxl367.html 26 26 27 properties: 27 properties: 28 compatible: 28 compatible: 29 enum: 29 enum: 30 - adi,adxl367 30 - adi,adxl367 31 31 32 reg: 32 reg: 33 maxItems: 1 33 maxItems: 1 34 34 35 interrupts: 35 interrupts: 36 maxItems: 1 36 maxItems: 1 37 37 38 vdd-supply: true 38 vdd-supply: true 39 vddio-supply: true 39 vddio-supply: true 40 40 41 required: 41 required: 42 - compatible 42 - compatible 43 - reg 43 - reg 44 - interrupts 44 - interrupts 45 45 46 allOf: 46 allOf: 47 - $ref: /schemas/spi/spi-peripheral-props.ya 47 - $ref: /schemas/spi/spi-peripheral-props.yaml# 48 48 49 unevaluatedProperties: false 49 unevaluatedProperties: false 50 50 51 examples: 51 examples: 52 - | 52 - | 53 #include <dt-bindings/interrupt-controller 53 #include <dt-bindings/interrupt-controller/irq.h> 54 54 55 i2c { 55 i2c { 56 #address-cells = <1>; 56 #address-cells = <1>; 57 #size-cells = <0>; 57 #size-cells = <0>; 58 58 59 accelerometer@53 { 59 accelerometer@53 { 60 compatible = "adi,adxl367"; 60 compatible = "adi,adxl367"; 61 reg = <0x53>; 61 reg = <0x53>; 62 interrupt-parent = <&gpio>; 62 interrupt-parent = <&gpio>; 63 interrupts = <25 IRQ_TYPE_EDGE_RISING> 63 interrupts = <25 IRQ_TYPE_EDGE_RISING>; 64 }; 64 }; 65 }; 65 }; 66 - | 66 - | 67 #include <dt-bindings/interrupt-controller 67 #include <dt-bindings/interrupt-controller/irq.h> 68 68 69 spi { 69 spi { 70 #address-cells = <1>; 70 #address-cells = <1>; 71 #size-cells = <0>; 71 #size-cells = <0>; 72 72 73 accelerometer@0 { 73 accelerometer@0 { 74 compatible = "adi,adxl367"; 74 compatible = "adi,adxl367"; 75 reg = <0>; 75 reg = <0>; 76 spi-max-frequency = <1000000>; 76 spi-max-frequency = <1000000>; 77 interrupt-parent = <&gpio>; 77 interrupt-parent = <&gpio>; 78 interrupts = <25 IRQ_TYPE_EDGE_RISING> 78 interrupts = <25 IRQ_TYPE_EDGE_RISING>; 79 }; 79 }; 80 }; 80 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.