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:
Erwan Gouriou 2018-02-02 11:28:48 +01:00 committed by Kumar Gala
commit 2ede6c67ff
5 changed files with 52 additions and 1 deletions

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

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

View file

@ -5,7 +5,7 @@
#
---
title: STMicroelectronics MEMS sensors LSM6DSL
id: st,lps22hb-press
id: st,lsm6dsl
version: 0.1
description: >