diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-11 10:04:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-11 10:04:17 -0400 |
commit | 5fd41f2a10b38ab84b4c2436140ce490d34291fa (patch) | |
tree | 0c5e39f8c0ca03004db863cf05e5b20873c0cb48 /Documentation | |
parent | 2213d7c29a434626a15ffb285182cd19ed0b722d (diff) | |
parent | 47d104ba5879790c7c91c3390b0b08399e168efe (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal updates from Zhang Rui:
"Specifics:
- adds full support for 2 types of Thermal Controllers produced by
STMicroelectronics. One is a more traditional memory mapped
variant, the other is controlled solely by system configuration
registers. From Lee Jones.
- add TMU (Thermal Management Unit) support for Exynos3250 Soc.
From Chanwoo Choi.
- add critical and passive trip point support for int3403 thermal
driver. From Srinivas Pandruvada.
- a couple of small fixes/cleanups from Javi Merino, and Geert
Uytterhoeven"
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
thermal: document struct thermal_zone_device and thermal_governor
thermal: cpu_cooling: fix typo highjack -> hijack
thermal: rcar: Document SoC-specific bindings
thermal: samsung: Add TMU support for Exynos3250 SoC
thermal: exynos: fix ordering in exynos_tmu_remove()
thermal: allow building dove_thermal with mvebu
thermal: sti: Add support for ST's Memory Mapped based Thermal controller
thermal: sti: Add support for ST's System Config Register based Thermal controller
thermal: sti: Introduce ST Thermal core code
thermal: sti: Supply Device Tree documentation
Thermal: int3403: Add CRT and PSV trip
Diffstat (limited to 'Documentation')
3 files changed, 55 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt index c94909215c07..ae738f562acc 100644 --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt | |||
@@ -3,6 +3,7 @@ | |||
3 | ** Required properties: | 3 | ** Required properties: |
4 | 4 | ||
5 | - compatible : One of the following: | 5 | - compatible : One of the following: |
6 | "samsung,exynos3250-tmu" | ||
6 | "samsung,exynos4412-tmu" | 7 | "samsung,exynos4412-tmu" |
7 | "samsung,exynos4210-tmu" | 8 | "samsung,exynos4210-tmu" |
8 | "samsung,exynos5250-tmu" | 9 | "samsung,exynos5250-tmu" |
diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt index 28ef498a66e5..0ef00be44b01 100644 --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt | |||
@@ -1,7 +1,13 @@ | |||
1 | * Renesas R-Car Thermal | 1 | * Renesas R-Car Thermal |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "renesas,rcar-thermal" | 4 | - compatible : "renesas,thermal-<soctype>", "renesas,rcar-thermal" |
5 | as fallback. | ||
6 | Examples with soctypes are: | ||
7 | - "renesas,thermal-r8a73a4" (R-Mobile AP6) | ||
8 | - "renesas,thermal-r8a7779" (R-Car H1) | ||
9 | - "renesas,thermal-r8a7790" (R-Car H2) | ||
10 | - "renesas,thermal-r8a7791" (R-Car M2) | ||
5 | - reg : Address range of the thermal registers. | 11 | - reg : Address range of the thermal registers. |
6 | The 1st reg will be recognized as common register | 12 | The 1st reg will be recognized as common register |
7 | if it has "interrupts". | 13 | if it has "interrupts". |
@@ -12,18 +18,18 @@ Option properties: | |||
12 | 18 | ||
13 | Example (non interrupt support): | 19 | Example (non interrupt support): |
14 | 20 | ||
15 | thermal@e61f0100 { | 21 | thermal@ffc48000 { |
16 | compatible = "renesas,rcar-thermal"; | 22 | compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; |
17 | reg = <0xe61f0100 0x38>; | 23 | reg = <0xffc48000 0x38>; |
18 | }; | 24 | }; |
19 | 25 | ||
20 | Example (interrupt support): | 26 | Example (interrupt support): |
21 | 27 | ||
22 | thermal@e61f0000 { | 28 | thermal@e61f0000 { |
23 | compatible = "renesas,rcar-thermal"; | 29 | compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; |
24 | reg = <0xe61f0000 0x14 | 30 | reg = <0xe61f0000 0x14 |
25 | 0xe61f0100 0x38 | 31 | 0xe61f0100 0x38 |
26 | 0xe61f0200 0x38 | 32 | 0xe61f0200 0x38 |
27 | 0xe61f0300 0x38>; | 33 | 0xe61f0300 0x38>; |
28 | interrupts = <0 69 4>; | 34 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; |
29 | }; | 35 | }; |
diff --git a/Documentation/devicetree/bindings/thermal/st-thermal.txt b/Documentation/devicetree/bindings/thermal/st-thermal.txt new file mode 100644 index 000000000000..3b9251b4a145 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/st-thermal.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | Binding for Thermal Sensor driver for STMicroelectronics STi series of SoCs. | ||
2 | |||
3 | Required parameters: | ||
4 | ------------------- | ||
5 | |||
6 | compatible : st,<SoC>-<module>-thermal; should be one of: | ||
7 | "st,stih415-sas-thermal", | ||
8 | "st,stih415-mpe-thermal", | ||
9 | "st,stih416-sas-thermal" | ||
10 | "st,stih416-mpe-thermal" | ||
11 | "st,stid127-thermal" or | ||
12 | "st,stih407-thermal" | ||
13 | according to the SoC type (stih415, stih416, stid127, stih407) | ||
14 | and module type (sas or mpe). On stid127 & stih407 there is only | ||
15 | one die/module, so there is no module type in the compatible | ||
16 | string. | ||
17 | clock-names : Should be "thermal". | ||
18 | See: Documentation/devicetree/bindings/resource-names.txt | ||
19 | clocks : Phandle of the clock used by the thermal sensor. | ||
20 | See: Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
21 | |||
22 | Optional parameters: | ||
23 | ------------------- | ||
24 | |||
25 | reg : For non-sysconf based sensors, this should be the physical base | ||
26 | address and length of the sensor's registers. | ||
27 | interrupts : Standard way to define interrupt number. | ||
28 | Interrupt is mandatory to be defined when compatible is | ||
29 | "stih416-mpe-thermal". | ||
30 | NB: For thermal sensor's for which no interrupt has been | ||
31 | defined, a polling delay of 1000ms will be used to read the | ||
32 | temperature from device. | ||
33 | |||
34 | Example: | ||
35 | |||
36 | temp1@fdfe8000 { | ||
37 | compatible = "st,stih416-mpe-thermal"; | ||
38 | reg = <0xfdfe8000 0x10>; | ||
39 | clock-names = "thermal"; | ||
40 | clocks = <&clk_m_mpethsens>; | ||
41 | interrupts = <GIC_SPI 23 IRQ_TYPE_NONE>; | ||
42 | }; | ||