diff options
Diffstat (limited to 'zephyr/dts/bindings/motionsense/driver/lsm6dsm.yaml')
-rw-r--r-- | zephyr/dts/bindings/motionsense/driver/lsm6dsm.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/motionsense/driver/lsm6dsm.yaml b/zephyr/dts/bindings/motionsense/driver/lsm6dsm.yaml new file mode 100644 index 0000000000..efd71fe181 --- /dev/null +++ b/zephyr/dts/bindings/motionsense/driver/lsm6dsm.yaml @@ -0,0 +1,19 @@ +# Copyright 2022 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# +# common fields for both LSM6DSM accel and gyro + +# every motionsense sensor node should include motionsense-sensor-base.yaml +include: motionsense-sensor-base.yaml + +properties: + i2c-spi-addr-flags: + type: string + description: i2c address or SPI peripheral logic GPIO + # Address is b'0110101x' where x is determined by the + # logic level on SA0 + enum: + - "LSM6DSM_ADDR0_FLAGS" + - "LSM6DSM_ADDR1_FLAGS" + default: "LSM6DSM_ADDR0_FLAGS" |