diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt new file mode 100644 index 000000000000..28ef498a66e5 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | * Renesas R-Car Thermal | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "renesas,rcar-thermal" | ||
5 | - reg : Address range of the thermal registers. | ||
6 | The 1st reg will be recognized as common register | ||
7 | if it has "interrupts". | ||
8 | |||
9 | Option properties: | ||
10 | |||
11 | - interrupts : use interrupt | ||
12 | |||
13 | Example (non interrupt support): | ||
14 | |||
15 | thermal@e61f0100 { | ||
16 | compatible = "renesas,rcar-thermal"; | ||
17 | reg = <0xe61f0100 0x38>; | ||
18 | }; | ||
19 | |||
20 | Example (interrupt support): | ||
21 | |||
22 | thermal@e61f0000 { | ||
23 | compatible = "renesas,rcar-thermal"; | ||
24 | reg = <0xe61f0000 0x14 | ||
25 | 0xe61f0100 0x38 | ||
26 | 0xe61f0200 0x38 | ||
27 | 0xe61f0300 0x38>; | ||
28 | interrupts = <0 69 4>; | ||
29 | }; | ||