dts: bindings: add bindings for 4 sensors
Provide dts yaml bindings for 4 sensors supported by disco_l475_iot1 board: -hts221, lis3mdl, lps22hb and lsm6dsl Devices are denoted as i2c-devices and, as such, inherits from i2c-device.yaml Signed-Off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
b0568ad592
commit
c0773cf381
4 changed files with 86 additions and 0 deletions
22
dts/bindings/sensor/st,hts221.yaml
Normal file
22
dts/bindings/sensor/st,hts221.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# Copyright (c) 2017, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors HTS221
|
||||
id: st,hts221
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of HTS221 humidity and temperature
|
||||
sensor
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,hts221"
|
||||
|
||||
...
|
21
dts/bindings/sensor/st,lis3mdl-magn.yaml
Normal file
21
dts/bindings/sensor/st,lis3mdl-magn.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
#
|
||||
# Copyright (c) 2017, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LIS3MDL
|
||||
id: st,lis3mdl-magn
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LIS3MDL magnetometer
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lis3mdl-magn"
|
||||
|
||||
...
|
21
dts/bindings/sensor/st,lps22hb-press.yaml
Normal file
21
dts/bindings/sensor/st,lps22hb-press.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
#
|
||||
# Copyright (c) 2017, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LPS22HB
|
||||
id: st,lps22hb-press
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LPS22HB pressure sensor
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lps22hb-press"
|
||||
|
||||
...
|
22
dts/bindings/sensor/st,lsm6dsl.yaml
Normal file
22
dts/bindings/sensor/st,lsm6dsl.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# Copyright (c) 2017, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LSM6DSL
|
||||
id: st,lps22hb-press
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LSM6DSL 6-axis accelerometer
|
||||
and gyrometer
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lsm6dsl"
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue