drivers: sensor: tsl2591
Add the tsl2591 sensor to drivers. Signed-off-by: Kurtis Dinelle <kurtisdinelle@gmail.com>
This commit is contained in:
parent
136a3d3671
commit
3c3bee96ef
13 changed files with 1007 additions and 0 deletions
17
dts/bindings/sensor/ams,tsl2591.yaml
Normal file
17
dts/bindings/sensor/ams,tsl2591.yaml
Normal 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.
|
Loading…
Add table
Add a link
Reference in a new issue