-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: rcar: add Device Tree support
Support for loading the Renesas R-Car thermal module via devicetree. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
- Loading branch information
Kuninori Morimoto
authored and
Zhang Rui
committed
Feb 8, 2013
1 parent
e6e053f
commit 76cc188
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/thermal/rcar-thermal.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
* Renesas R-Car Thermal | ||
|
||
Required properties: | ||
- compatible : "renesas,rcar-thermal" | ||
- reg : Address range of the thermal registers. | ||
The 1st reg will be recognized as common register | ||
if it has "interrupts". | ||
|
||
Option properties: | ||
|
||
- interrupts : use interrupt | ||
|
||
Example (non interrupt support): | ||
|
||
thermal@e61f0100 { | ||
compatible = "renesas,rcar-thermal"; | ||
reg = <0xe61f0100 0x38>; | ||
}; | ||
|
||
Example (interrupt support): | ||
|
||
thermal@e61f0000 { | ||
compatible = "renesas,rcar-thermal"; | ||
reg = <0xe61f0000 0x14 | ||
0xe61f0100 0x38 | ||
0xe61f0200 0x38 | ||
0xe61f0300 0x38>; | ||
interrupts = <0 69 4>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters