summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/driver/icm426xx.yaml
blob: 7f5e8e164cacf0daeea4b78551861778c1d0b380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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 ICM426xx 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
    enum:
      - "ICM426XX_ADDR0_FLAGS"
      - "ICM426XX_ADDR1_FLAGS"
    default: "ICM426XX_ADDR0_FLAGS"