Commit c0773cf3 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

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: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent b0568ad5
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
#
# 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 −0
Original line number Diff line number Diff line
#
# 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 −0
Original line number Diff line number Diff line
#
# 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 −0
Original line number Diff line number Diff line
#
# 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"

...