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

dt-bindings: iio: gyro: Add DT binding doc for ADXRS290

Add devicetree binding document for ADXRS290, a dual-axis MEMS gyroscope.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nishant Malpani and committed by
Jonathan Cameron
107ce2e3 2c8920ff

+54
+53
Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + # Copyright 2020 Analog Devices Inc. 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/iio/gyroscope/adi,adxrs290.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope 9 + 10 + maintainers: 11 + - Nishant Malpani <nish.malpani25@gmail.com> 12 + 13 + description: | 14 + Bindings for the Analog Devices ADXRS290 dual-axis MEMS gyroscope device. 15 + https://www.analog.com/media/en/technical-documentation/data-sheets/ADXRS290.pdf 16 + 17 + properties: 18 + compatible: 19 + const: adi,adxrs290 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + spi-max-frequency: 25 + maximum: 5000000 26 + 27 + spi-cpol: true 28 + 29 + spi-cpha: true 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - spi-max-frequency 35 + - spi-cpol 36 + - spi-cpha 37 + 38 + additionalProperties: false 39 + 40 + examples: 41 + - | 42 + spi { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + gyro@0 { 46 + compatible = "adi,adxrs290"; 47 + reg = <0>; 48 + spi-max-frequency = <5000000>; 49 + spi-cpol; 50 + spi-cpha; 51 + }; 52 + }; 53 + ...
+1
MAINTAINERS
··· 1113 1113 L: linux-iio@vger.kernel.org 1114 1114 S: Supported 1115 1115 F: drivers/iio/gyro/adxrs290.c 1116 + F: Documentation/devicetree/bindings/iio/gyroscope/adi,adxrs290.yaml 1116 1117 1117 1118 ANALOG DEVICES INC ASOC CODEC DRIVERS 1118 1119 M: Lars-Peter Clausen <lars@metafoo.de>