diff options
author | Olof Johansson <olof@lixom.net> | 2015-01-23 17:53:54 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-01-23 17:53:54 -0500 |
commit | 82483ad67e965f6edd61c6c2cdb4ba295cf0af96 (patch) | |
tree | 22708288cab53cfd07b63a2bd5b11ee8771a8b0e /Documentation | |
parent | 085dd64e537b06c7b741dac5f0ff3734d27f9a13 (diff) | |
parent | 3568df3d31d62b4368830cc6aac868cecdefd187 (diff) |
Merge tag 'tegra-for-3.20-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/soc
Merge "ARM: tegra: Core code changes for v3.20" from Thierry Reding:
This contains a couple of preparatory patches for 64-bit support. A new
feature is implemented in the power-management controller which allows
it to switch off the SoC if it overheats.
* tag 'tegra-for-3.20-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
soc: tegra: Add thermal reset (thermtrip) support to PMC
ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree
of: Add descriptions of thermtrip properties to Tegra PMC bindings
soc/tegra: pmc: Add Tegra132 support
soc/tegra: fuse: Add Tegra132 support
soc/tegra: fuse: Constify tegra_fuse_info structures
soc/tegra: Add Tegra132 support
clocksource: Build Tegra timer on 32-bit ARM only
soc/tegra: pmc: restrict compilation of suspend-related support to ARM
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt index 68ac65f82a1c..2fd50511ab4b 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt | |||
@@ -47,6 +47,23 @@ Required properties when nvidia,suspend-mode=<0>: | |||
47 | sleep mode, the warm boot code will restore some PLLs, clocks and then | 47 | sleep mode, the warm boot code will restore some PLLs, clocks and then |
48 | bring up CPU0 for resuming the system. | 48 | bring up CPU0 for resuming the system. |
49 | 49 | ||
50 | Hardware-triggered thermal reset: | ||
51 | On Tegra30, Tegra114 and Tegra124, if the 'i2c-thermtrip' subnode exists, | ||
52 | hardware-triggered thermal reset will be enabled. | ||
53 | |||
54 | Required properties for hardware-triggered thermal reset (inside 'i2c-thermtrip'): | ||
55 | - nvidia,i2c-controller-id : ID of I2C controller to send poweroff command to. Valid values are | ||
56 | described in section 9.2.148 "APBDEV_PMC_SCRATCH53_0" of the | ||
57 | Tegra K1 Technical Reference Manual. | ||
58 | - nvidia,bus-addr : Bus address of the PMU on the I2C bus | ||
59 | - nvidia,reg-addr : I2C register address to write poweroff command to | ||
60 | - nvidia,reg-data : Poweroff command to write to PMU | ||
61 | |||
62 | Optional properties for hardware-triggered thermal reset (inside 'i2c-thermtrip'): | ||
63 | - nvidia,pinmux-id : Pinmux used by the hardware when issuing poweroff command. | ||
64 | Defaults to 0. Valid values are described in section 12.5.2 | ||
65 | "Pinmux Support" of the Tegra4 Technical Reference Manual. | ||
66 | |||
50 | Example: | 67 | Example: |
51 | 68 | ||
52 | / SoC dts including file | 69 | / SoC dts including file |
@@ -69,6 +86,15 @@ pmc@7000f400 { | |||
69 | / Tegra board dts file | 86 | / Tegra board dts file |
70 | { | 87 | { |
71 | ... | 88 | ... |
89 | pmc@7000f400 { | ||
90 | i2c-thermtrip { | ||
91 | nvidia,i2c-controller-id = <4>; | ||
92 | nvidia,bus-addr = <0x40>; | ||
93 | nvidia,reg-addr = <0x36>; | ||
94 | nvidia,reg-data = <0x2>; | ||
95 | }; | ||
96 | }; | ||
97 | ... | ||
72 | clocks { | 98 | clocks { |
73 | compatible = "simple-bus"; | 99 | compatible = "simple-bus"; |
74 | #address-cells = <1>; | 100 | #address-cells = <1>; |