dts: bindings: Add SPI yaml file for LSM6DSL sensor
The LSM6DSL accel/gyro sensor can be accessed through SPI bus. So the required configuration can be passed through dts file. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
ce13fc8eeb
commit
36b0c321a7
1 changed files with 26 additions and 0 deletions
26
dts/bindings/sensor/st,lsm6dsl-spi.yaml
Normal file
26
dts/bindings/sensor/st,lsm6dsl-spi.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# Copyright (c) 2018, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LSM6DSL SPI
|
||||
id: st,lsm6dsl-spi
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LSM6DSL 6-axis accelerometer
|
||||
and gyrometer accessed through SPI bus
|
||||
|
||||
inherits:
|
||||
!include spi-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lsm6dsl-spi"
|
||||
|
||||
irq-gpios:
|
||||
type: compound
|
||||
category: required
|
||||
generation: define, use-prop-name
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue