drivers: sensor: tsl2591

Add the tsl2591 sensor to drivers.

Signed-off-by: Kurtis Dinelle <kurtisdinelle@gmail.com>
This commit is contained in:
Kurtis Dinelle 2024-01-20 11:23:30 -08:00 committed by Fabio Baltieri
commit 3c3bee96ef
13 changed files with 1007 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Copyright (c) 2023 Kurtis Dinelle
# SPDX-License-Identifier: Apache-2.0
description: |
OSRAM ams TSL2591 ambient light sensor.
compatible: "ams,tsl2591"
include: [sensor-device.yaml, i2c-device.yaml]
properties:
int-gpios:
type: phandle-array
description: |
The interrupt pin of the TSL2591 is open-drain, active low.
If connected directly, the MCU pin should be configured
as pull-up, active low.