Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 54 lines 1.2 kB view raw
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/accel/adi,adis16240.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ADIS16240 Programmable Impact Sensor and Recorder driver 8 9maintainers: 10 - Marcelo Schmitt <marcelo.schmitt@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 12 13description: | 14 ADIS16240 Programmable Impact Sensor and Recorder driver that supports 15 SPI interface. 16 https://www.analog.com/en/products/adis16240.html 17 18properties: 19 compatible: 20 enum: 21 - adi,adis16240 22 23 reg: 24 maxItems: 1 25 26 interrupts: 27 maxItems: 1 28 29required: 30 - compatible 31 - reg 32 - interrupts 33 34allOf: 35 - $ref: /schemas/spi/spi-peripheral-props.yaml# 36 37unevaluatedProperties: false 38 39examples: 40 - | 41 #include <dt-bindings/interrupt-controller/irq.h> 42 spi { 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 /* Example for a SPI device node */ 47 accelerometer@0 { 48 compatible = "adi,adis16240"; 49 reg = <0>; 50 spi-max-frequency = <2500000>; 51 interrupt-parent = <&gpio0>; 52 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; 53 }; 54 };