Documentation: devicetree: Add DT binding document for pex9749-thermal

Add device tree binding document for the thermal sensor pex9749.

bug 3587973

Change-Id: I0793854fd5a22cc2daa59408bb9adcb4aa78cade
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2701480
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
Laxman Dewangan
2022-04-22 10:20:21 +00:00
committed by mobile promotions
parent ea19becc1b
commit 3c5adb91ea

View File

@@ -0,0 +1,40 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/thermal/pex9749-thermal.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: PEX9749 Thermal Sensor
maintainers:
- Laxman Dewangan <ldewangan@nvidia.com>
description: |
PEX9749 thermal sensor monitors the temperature.
properties:
compatible:
const: "pex9749"
reg:
maxItems: 1
"#thermal-sensor-cells":
const: 1
required:
- compatible
- reg
- "#thermal-sensor-cells"
additionalProperties: false
examples:
- |
i2c@3180000 {
pex9749: pex9749@5f {
compatible = "pex9749";
reg = <0x5f>;
#thermal-sensor-cells = <1>;
};
};