sensors: move lps25hb and lsm6ds0 to dts
Introduce yaml binding files for sensors LPS25HB and LSM6DS0. Fix description issue in lps22hb yaml file Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
b3614c0b17
commit
2ede6c67ff
5 changed files with 52 additions and 1 deletions
21
dts/bindings/sensor/st,lps25hb-press.yaml
Normal file
21
dts/bindings/sensor/st,lps25hb-press.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
#
|
||||
# Copyright (c) 2018, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LPS25HB
|
||||
id: st,lps25hb-press
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LPS25HB pressure sensor
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lps25hb-press"
|
||||
|
||||
...
|
22
dts/bindings/sensor/st,lsm6ds0.yaml
Normal file
22
dts/bindings/sensor/st,lsm6ds0.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# Copyright (c) 2018, Linaro Limited
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LSM6DS0
|
||||
id: st,lsm6ds0
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of LSM6DS0 6-axis accelerometer
|
||||
and gyrometer
|
||||
|
||||
inherits:
|
||||
!include i2c-device.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
constraint: "st,lsm6ds0"
|
||||
|
||||
...
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
---
|
||||
title: STMicroelectronics MEMS sensors LSM6DSL
|
||||
id: st,lps22hb-press
|
||||
id: st,lsm6dsl
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue