2023-08-23 10:45:40 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
2021-09-21 12:28:27 +02:00
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/hwmon/ti,tmp108.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: TMP108 temperature sensor
|
|
|
|
|
|
|
|
maintainers:
|
2022-03-30 09:40:15 +02:00
|
|
|
- Krzysztof Kozlowski <krzk@kernel.org>
|
2021-09-21 12:28:27 +02:00
|
|
|
|
2024-06-17 18:36:29 +02:00
|
|
|
description: |
|
|
|
|
The TMP108 is a digital-output temperature sensor with a
|
|
|
|
dynamically-programmable limit window, and under- and overtemperature
|
|
|
|
alert functions.
|
|
|
|
|
|
|
|
Datasheets:
|
|
|
|
https://www.ti.com/product/TMP108
|
|
|
|
|
2021-09-21 12:28:27 +02:00
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
enum:
|
|
|
|
- ti,tmp108
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
items:
|
|
|
|
- description: alert interrupt
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
"#thermal-sensor-cells":
|
|
|
|
const: 0
|
|
|
|
|
2024-06-17 18:36:29 +02:00
|
|
|
vcc-supply:
|
|
|
|
description: phandle to the regulator that provides the V+ supply
|
|
|
|
|
2021-09-21 12:28:27 +02:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
|
|
|
|
additionalProperties: false
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
|
|
|
|
i2c {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
sensor@48 {
|
|
|
|
compatible = "ti,tmp108";
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
|
|
|
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&tmp_alrt>;
|
2024-06-17 18:36:29 +02:00
|
|
|
vcc-supply = <&supply>;
|
2021-09-21 12:28:27 +02:00
|
|
|
#thermal-sensor-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|