Commit c3aff28a authored by Philémon Jaermann's avatar Philémon Jaermann Committed by Maureen Helm
Browse files

bindings: sensor: Add binding for LSM303DLHC



Add yaml binding for st,lsm303dlhc-accel
and st,lsm303dlhc-magn

Signed-off-by: default avatarPhilémon Jaermann <p.jaermann@gmail.com>
parent 43bc39e1
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
#
# Copyright (c) 2018 Philémon Jaermann
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: STMicroelectronics MEMS sensors LSM303DLHC
id: st,lsm303dlhc-accel
version: 0.1

description: >
    This binding gives a base representation of LSM303DLHC acceleration sensor

inherits:
    !include i2c-device.yaml

properties:
    compatible:
      constraint: "st,lsm303dlhc-accel"

...
+22 −0
Original line number Diff line number Diff line
#
# Copyright (c) 2018 Philémon Jaermann
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: STMicroelectronics MEMS sensors LSM303DLHC
id: st,lsm303dlhc-magn
version: 0.1

description: >
    This binding gives a base representation of LSM303DLHC magnetometer sensor

inherits:
    !include i2c-device.yaml

properties:
    compatible:
      constraint: "st,lsm303dlhc-magn"

...