zephyr/dts/bindings/sensor/lm75.yaml
Benjamin Lemouzy 5c8937fbac drivers: sensor: lm75: add alert threshold support
Add SENSOR_ATTR_ALERT and SENSOR_ATTR_HYSTERESIS attributes support.
The code is heavily inspired by the one for lm77 sensor.

Signed-off-by: Benjamin Lemouzy <blemouzy@centralp.fr>
2024-06-14 18:48:32 -04:00

21 lines
527 B
YAML

# Copyright (c) 2021 Leica Geosystems AG
# SPDX-License-Identifier: Apache-2.0
description: LM75 Digital Temperature Sensor with 2-Wire Interface.
compatible: "lm75"
include: [sensor-device.yaml, i2c-device.yaml]
properties:
int-gpios:
type: phandle-array
description: |
Identifies the INT signal, which is active-low open drain by default
when produced by the sensor.
int-inverted:
type: boolean
description: |
When present, the polarity on the INT signal is inverted (active-high).