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:
Jan Tore Guggedal 2018-11-29 18:33:28 +01:00 committed by Kumar Gala
commit f291a520c2

View 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
...