summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/driver/tcs3400.yaml
blob: ecad7ec1a7d6feeab8caebc84d5df19d1e62fb26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2021 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 TCS3400 clear and TCS3400 rgb

# 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:
      - "TCS3400_I2C_ADDR_FLAGS"
    default: "TCS3400_I2C_ADDR_FLAGS"
  default-range:
    default: 0x10000 # scale = 1x, uscale = 0