diff --git a/Documentation/devicetree/bindings/thermal/pex9749-thermal.yaml b/Documentation/devicetree/bindings/thermal/pex9749-thermal.yaml new file mode 100644 index 00000000..fda10b5a --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/pex9749-thermal.yaml @@ -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 + +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>; + }; + };