diff options
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/rcar-thermal.txt')
-rw-r--r-- | Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt index 332e625f6ed0..e5ee3f159893 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt | |||
@@ -1,8 +1,9 @@ | |||
1 | * Renesas R-Car Thermal | 1 | * Renesas R-Car Thermal |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "renesas,thermal-<soctype>", "renesas,rcar-thermal" | 4 | - compatible : "renesas,thermal-<soctype>", |
5 | as fallback. | 5 | "renesas,rcar-gen2-thermal" (with thermal-zone) or |
6 | "renesas,rcar-thermal" (without thermal-zone) as fallback. | ||
6 | Examples with soctypes are: | 7 | Examples with soctypes are: |
7 | - "renesas,thermal-r8a73a4" (R-Mobile APE6) | 8 | - "renesas,thermal-r8a73a4" (R-Mobile APE6) |
8 | - "renesas,thermal-r8a7779" (R-Car H1) | 9 | - "renesas,thermal-r8a7779" (R-Car H1) |
@@ -36,3 +37,35 @@ thermal@e61f0000 { | |||
36 | 0xe61f0300 0x38>; | 37 | 0xe61f0300 0x38>; |
37 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; | 38 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; |
38 | }; | 39 | }; |
40 | |||
41 | Example (with thermal-zone): | ||
42 | |||
43 | thermal-zones { | ||
44 | cpu_thermal: cpu-thermal { | ||
45 | polling-delay-passive = <1000>; | ||
46 | polling-delay = <5000>; | ||
47 | |||
48 | thermal-sensors = <&thermal>; | ||
49 | |||
50 | trips { | ||
51 | cpu-crit { | ||
52 | temperature = <115000>; | ||
53 | hysteresis = <0>; | ||
54 | type = "critical"; | ||
55 | }; | ||
56 | }; | ||
57 | cooling-maps { | ||
58 | }; | ||
59 | }; | ||
60 | }; | ||
61 | |||
62 | thermal: thermal@e61f0000 { | ||
63 | compatible = "renesas,thermal-r8a7790", | ||
64 | "renesas,rcar-gen2-thermal", | ||
65 | "renesas,rcar-thermal"; | ||
66 | reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; | ||
67 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; | ||
68 | clocks = <&mstp5_clks R8A7790_CLK_THERMAL>; | ||
69 | power-domains = <&cpg_clocks>; | ||
70 | #thermal-sensor-cells = <0>; | ||
71 | }; | ||