dts: bindings: Add binding for ADXL372 using SPI
This patch adds dts/bindings/adi,adxl372-spi.yaml for using ADXL372 on SPI bus instead of I2C which is used in dts/bindings/adi,adxl372.yaml. Signed-off-by: Jan Tore Guggedal <jantore.guggedal@nordicsemi.no>
This commit is contained in:
parent
b8424b4cae
commit
f291a520c2
1 changed files with 27 additions and 0 deletions
27
dts/bindings/sensor/adi,adxl372-spi.yaml
Normal file
27
dts/bindings/sensor/adi,adxl372-spi.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright (c) 2018 Analog Devices Inc.
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: ADXL372 Three Axis High-g I2C/SPI accelerometer
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This is a representation of the ADXL372 Three Axis High-g accelerometer,
|
||||
accessed through SPI bus
|
||||
|
||||
inherits:
|
||||
!include spi-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "adi,adxl372-spi"
|
||||
|
||||
int1-gpios:
|
||||
type: compound
|
||||
category: optional
|
||||
generation: define, use-prop-name
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue