Skip to content

Commit 8f271fe

Browse files
gopi487krishnaDaniel Lezcano
authored andcommitted
dt-bindings: thermal: st,thermal-spear1340: convert to dtschema
Convert the SPEAr Thermal Sensor bindings to DT schema. Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://patch.msgid.link/20260329123449.309814-2-krishnagopi487@gmail.com
1 parent da2c4f3 commit 8f271fe

2 files changed

Lines changed: 36 additions & 14 deletions

File tree

Documentation/devicetree/bindings/thermal/spear-thermal.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/thermal/st,thermal-spear1340.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: SPEAr Thermal Sensor
8+
9+
maintainers:
10+
- Viresh Kumar <vireshk@kernel.org>
11+
12+
properties:
13+
compatible:
14+
const: st,thermal-spear1340
15+
16+
reg:
17+
maxItems: 1
18+
19+
st,thermal-flags:
20+
description: flags used to enable thermal sensor
21+
$ref: /schemas/types.yaml#/definitions/uint32
22+
23+
required:
24+
- compatible
25+
- reg
26+
- st,thermal-flags
27+
28+
additionalProperties: false
29+
30+
examples:
31+
- |
32+
thermal@fc000000 {
33+
compatible = "st,thermal-spear1340";
34+
reg = <0xfc000000 0x1000>;
35+
st,thermal-flags = <0x7000>;
36+
};

0 commit comments

Comments
 (0)