# Copyright 2021 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # common fields for both LSM6DSO 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: - "LSM6DSO_ADDR0_FLAGS" - "LSM6DSO_ADDR1_FLAGS" default: "LSM6DSO_ADDR0_FLAGS"