diff options
| author | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-06-07 11:11:53 -0400 |
|---|---|---|
| committer | Eduardo Valentin <eduardo.valentin@ti.com> | 2013-07-08 10:11:59 -0400 |
| commit | 57d1617137dd61825a3a7cebf61015f58afce510 (patch) | |
| tree | 435ee366eca2964c02d51a755d75a588ef1a84a2 /Documentation/devicetree/bindings/thermal | |
| parent | 65d467e84600754712fb36accd74b036cd775e5e (diff) | |
thermal: ti-soc-thermal: use standard GPIO DT bindings
This change updates the ti-soc-thermal driver to use
standard GPIO DT bindings to read the GPIO number associated
to thermal shutdown IRQ, in case the device features it.
Previously, the code was using a specific DT bindings.
As now OMAP supports the standard way to model GPIOs,
there is no point in having a ti specific binding.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal')
| -rw-r--r-- | Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt b/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt index 1953b33cad51..0c9222d27fae 100644 --- a/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt +++ b/Documentation/devicetree/bindings/thermal/ti_soc_thermal.txt | |||
| @@ -17,8 +17,9 @@ Required properties: | |||
| 17 | - interrupts : this entry should indicate which interrupt line | 17 | - interrupts : this entry should indicate which interrupt line |
| 18 | the talert signal is routed to; | 18 | the talert signal is routed to; |
| 19 | Specific: | 19 | Specific: |
| 20 | - ti,tshut-gpio : this entry should be used to inform which GPIO | 20 | - gpios : this entry should be used to inform which GPIO |
| 21 | line the tshut signal is routed to; | 21 | line the tshut signal is routed to. The informed GPIO will |
| 22 | be treated as an IRQ; | ||
| 22 | - regs : this entry must also be specified and it is specific | 23 | - regs : this entry must also be specified and it is specific |
| 23 | to each bandgap version, because the mapping may change from | 24 | to each bandgap version, because the mapping may change from |
| 24 | soc to soc, apart of depending on available features. | 25 | soc to soc, apart of depending on available features. |
| @@ -37,7 +38,7 @@ bandgap { | |||
| 37 | 0x4a002378 0x18>; | 38 | 0x4a002378 0x18>; |
| 38 | compatible = "ti,omap4460-bandgap"; | 39 | compatible = "ti,omap4460-bandgap"; |
| 39 | interrupts = <0 126 4>; /* talert */ | 40 | interrupts = <0 126 4>; /* talert */ |
| 40 | ti,tshut-gpio = <86>; | 41 | gpios = <&gpio3 22 0>; /* tshut */ |
| 41 | }; | 42 | }; |
| 42 | 43 | ||
| 43 | OMAP4470: | 44 | OMAP4470: |
| @@ -47,7 +48,7 @@ bandgap { | |||
| 47 | 0x4a002378 0x18>; | 48 | 0x4a002378 0x18>; |
| 48 | compatible = "ti,omap4470-bandgap"; | 49 | compatible = "ti,omap4470-bandgap"; |
| 49 | interrupts = <0 126 4>; /* talert */ | 50 | interrupts = <0 126 4>; /* talert */ |
| 50 | ti,tshut-gpio = <86>; | 51 | gpios = <&gpio3 22 0>; /* tshut */ |
| 51 | }; | 52 | }; |
| 52 | 53 | ||
| 53 | OMAP5430: | 54 | OMAP5430: |
