mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
Add the support to provide an optional label like we do for ADC channels to identify the device more easily. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240226121234.545662-1-m.felsch@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/temperature/ti,tmp117.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TI TMP117 - Digital temperature sensor with integrated NV memory
|
|
|
|
description: |
|
|
TI TMP116/117 - Digital temperature sensor with integrated NV memory that
|
|
supports I2C interface.
|
|
https://www.ti.com/lit/gpn/tmp116
|
|
https://www.ti.com/lit/gpn/tmp117
|
|
|
|
maintainers:
|
|
- Puranjay Mohan <puranjay12@gmail.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- ti,tmp116
|
|
- ti,tmp117
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
vcc-supply:
|
|
description: provide VCC power to the sensor.
|
|
|
|
label:
|
|
description: Unique name to identify which device this is.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- vcc-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
tmp117@48 {
|
|
compatible = "ti,tmp117";
|
|
reg = <0x48>;
|
|
vcc-supply = <&pmic_reg_3v3>;
|
|
};
|
|
};
|