blob: fbc97a673e8d0498fb0812e541e60cb3938609ef [file] [log] [blame]
# Copyright (c) 2023, Gustavo Silva
# SPDX-License-Identifier: Apache-2.0
description: |
OSRAM ams TSL2561 light sensor.
compatible: "ams,tsl2561"
include: [sensor-device.yaml, i2c-device.yaml]
properties:
integration-time:
type: int
default: 402
description: |
ADC integration time in ms. The default value matches Timing Register's value at power on.
enum:
- 13
- 101
- 402
gain:
type: int
default: 16
description: |
ADC gain factor. The default value matches Timing Register's value at power on.
enum:
- 1
- 16