Skip to content

Commit f552075

Browse files
lpovlsengroeck
authored andcommitted
dt-bindings: hwmon: Add Sparx5 temperature sensor
This add the DT binding specification for the Sparx5 temperature sensor. Signed-off-by: Lars Povlsen <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent e53ee18 commit f552075

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Microchip Sparx5 Temperature Monitor
8+
9+
maintainers:
10+
- Lars Povlsen <[email protected]>
11+
12+
description: |
13+
Microchip Sparx5 embedded temperature monitor
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- microchip,sparx5-temp
19+
20+
reg:
21+
maxItems: 1
22+
23+
clocks:
24+
items:
25+
- description: AHB reference clock
26+
27+
'#thermal-sensor-cells':
28+
const: 0
29+
30+
required:
31+
- compatible
32+
- reg
33+
- clocks
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
tmon0: tmon@610508110 {
40+
compatible = "microchip,sparx5-temp";
41+
reg = <0x10508110 0xc>;
42+
#thermal-sensor-cells = <0>;
43+
clocks = <&ahb_clk>;
44+
};

0 commit comments

Comments
 (0)