79 lines
1.6 KiB
YAML
79 lines
1.6 KiB
YAML
|
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
|
||
|
%YAML 1.2
|
||
|
---
|
||
|
$id: http://devicetree.org/schemas/hwmon/national,lm90.yaml#
|
||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||
|
|
||
|
title: LM90 series thermometer
|
||
|
|
||
|
maintainers:
|
||
|
- Jean Delvare <jdelvare@suse.com>
|
||
|
- Guenter Roeck <linux@roeck-us.net>
|
||
|
|
||
|
properties:
|
||
|
compatible:
|
||
|
enum:
|
||
|
- adi,adm1032
|
||
|
- adi,adt7461
|
||
|
- adi,adt7461a
|
||
|
- dallas,max6646
|
||
|
- dallas,max6647
|
||
|
- dallas,max6649
|
||
|
- dallas,max6657
|
||
|
- dallas,max6658
|
||
|
- dallas,max6659
|
||
|
- dallas,max6680
|
||
|
- dallas,max6681
|
||
|
- dallas,max6695
|
||
|
- dallas,max6696
|
||
|
- gmt,g781
|
||
|
- national,lm86
|
||
|
- national,lm89
|
||
|
- national,lm90
|
||
|
- national,lm99
|
||
|
- nxp,sa56004
|
||
|
- onnn,nct1008
|
||
|
- ti,tmp451
|
||
|
- winbond,w83l771
|
||
|
|
||
|
|
||
|
interrupts:
|
||
|
items:
|
||
|
- description: |
|
||
|
Single interrupt specifier which describes the LM90 "-ALERT" pin
|
||
|
output.
|
||
|
|
||
|
reg:
|
||
|
maxItems: 1
|
||
|
|
||
|
"#thermal-sensor-cells":
|
||
|
const: 1
|
||
|
|
||
|
vcc-supply:
|
||
|
description: phandle to the regulator that provides the +VCC supply
|
||
|
|
||
|
required:
|
||
|
- compatible
|
||
|
- reg
|
||
|
|
||
|
additionalProperties: false
|
||
|
|
||
|
examples:
|
||
|
- |
|
||
|
#include <dt-bindings/gpio/tegra-gpio.h>
|
||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||
|
|
||
|
i2c {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
|
||
|
sensor@4c {
|
||
|
compatible = "onnn,nct1008";
|
||
|
reg = <0x4c>;
|
||
|
vcc-supply = <&palmas_ldo6_reg>;
|
||
|
interrupt-parent = <&gpio>;
|
||
|
interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
|
||
|
#thermal-sensor-cells = <1>;
|
||
|
};
|
||
|
};
|