Re: [PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-21 Thread Mikko Perttunen
On 20/08/14 23:25, Stephen Warren wrote: On 08/13/2014 06:41 AM, Mikko Perttunen wrote: This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal

[PATCH v5 0/4] Tegra124 soctherm driver

2014-08-21 Thread Mikko Perttunen
Hi, this series adds support for the thermal monitoring features of the soctherm unit on the Tegra124 SoC. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v5 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM

[PATCH v5 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-21 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen --- v5: reordered nodes arch/arm/boot/dts/tegra124.dtsi | 47

[PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-21 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen --- v5: - changed tsample_ate to 480 - constified structs - added missing

[PATCH v5 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-21 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen Acked-by: Stephen Warren --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 53 ++ include/dt-bindings/thermal/tegra124-soctherm.h| 13 ++ 2

[PATCH v5 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-21 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen --- v5: added cooling-maps nodes arch/arm/boot/dts/tegra124-jetson-tk1.dts | 41

Re: [PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-21 Thread Mikko Perttunen
On 20/08/14 22:50, Stephen Warren wrote: On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Since both

Re: [PATCH v3 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-21 Thread Mikko Perttunen
On 20/08/14 22:44, Stephen Warren wrote: On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. diff --git a/arch/arm/boot

Re: [PATCH v3 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-21 Thread Mikko Perttunen
On 20/08/14 22:44, Stephen Warren wrote: On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. diff --git a/arch/arm/boot

Re: [PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-21 Thread Mikko Perttunen
On 20/08/14 22:50, Stephen Warren wrote: On 08/06/2014 04:25 AM, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Since both

[PATCH v5 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-21 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v5: added cooling-maps nodes arch/arm/boot/dts/tegra124

[PATCH v5 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-21 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v5: - changed tsample_ate to 480 - constified

[PATCH v5 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-21 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Acked-by: Stephen Warren swar...@nvidia.com --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 53 ++ include/dt-bindings/thermal

[PATCH v5 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-21 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v5: reordered nodes arch/arm/boot/dts/tegra124.dtsi

[PATCH v5 0/4] Tegra124 soctherm driver

2014-08-21 Thread Mikko Perttunen
Hi, this series adds support for the thermal monitoring features of the soctherm unit on the Tegra124 SoC. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v5 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM

Re: [PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-21 Thread Mikko Perttunen
On 20/08/14 23:25, Stephen Warren wrote: On 08/13/2014 06:41 AM, Mikko Perttunen wrote: This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal

Re: [PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-19 Thread Mikko Perttunen
On 08/19/2014 05:33 PM, edubez...@gmail.com wrote: Juha-Matti, moro, On Tue, Aug 19, 2014 at 10:09 AM, Juha-Matti Tilli wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling

Re: [PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-19 Thread Mikko Perttunen
On 19/08/14 17:09, Juha-Matti Tilli wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. I have several comments about this patch. Overall, the code

Re: [PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-19 Thread Mikko Perttunen
On 19/08/14 17:09, Juha-Matti Tilli wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. I have several comments about this patch. Overall, the code

Re: [PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-19 Thread Mikko Perttunen
On 08/19/2014 05:33 PM, edubez...@gmail.com wrote: Juha-Matti, moro, On Tue, Aug 19, 2014 at 10:09 AM, Juha-Matti Tilli juha-matti.ti...@iki.fi wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver

[PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-15 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen --- v4: - constified struct - added bunch of defines for masks and shifts

[PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Mikko Perttunen
/unprepare and clk_set_rate calls to the probe function, leaving only clk_enable/disable to be done on each transfer. This solves the locking issue. Signed-off-by: Mikko Perttunen --- drivers/i2c/busses/i2c-tegra.c | 57 +- 1 file changed, 45 insertions(+), 12

[PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Mikko Perttunen
/unprepare and clk_set_rate calls to the probe function, leaving only clk_enable/disable to be done on each transfer. This solves the locking issue. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/i2c/busses/i2c-tegra.c | 57 +- 1 file changed

[PATCH v4 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-15 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v4: - constified struct - added bunch of defines

[PATCH v2 0/5] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
the sensors. Git repo at git://github.com/cyndis/linux.git pmc-thermtrip-v2 Testing script at https://gist.github.com/cyndis/66126c9c176b5f94a76f. If your fan stops it is working. Mikko Perttunen (5): of: Add descriptions of thermtrip properties to Tegra PMC bindings of: Add nvidia,controller-id

[PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-13 Thread Mikko Perttunen
This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm driver is also required. Signed-off-by: Mikko

[PATCH v2 2/5] of: Add nvidia,controller-id property to Tegra I2C bindings

2014-08-13 Thread Mikko Perttunen
to the device tree bindings, so that drivers can know what ID to write to a hardware register when configuring a block that sends I2C messages autonomously. Signed-off-by: Mikko Perttunen --- Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2 4/5] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen --- arch/arm/boot

[PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree

2014-08-13 Thread Mikko Perttunen
I2C controller ids are required when programming hardware blocks that send messages to devices connected to an I2C bus, such as when the PMC sends a poweroff message to the PMIC. Add ids to all I2C controllers in Tegra124. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124.dtsi | 6

[PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-13 Thread Mikko Perttunen
Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen --- .../bindings/arm/tegra/nvidia,tegra20-pmc.txt | 21

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 13:53, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 01:41:52PM +0300, Mikko Perttunen wrote: On 13/08/14 13:36, Thierry Reding wrote: Old Signed by an unknown key On Wed, Aug 13, 2014 at 12:52:22PM +0300, Mikko Perttunen wrote: On 13/08/14 11

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 13:36, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 12:52:22PM +0300, Mikko Perttunen wrote: On 13/08/14 11:57, Thierry Reding wrote: Old Signed by an unknown key On Wed, Aug 13, 2014 at 11:42:53AM +0300, Mikko Perttunen wrote: On 13/08/14 11

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:57, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 11:42:53AM +0300, Mikko Perttunen wrote: On 13/08/14 11:12, Mikko Perttunen wrote: On 13/08/14 11:07, Thierry Reding wrote: Old Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:12, Mikko Perttunen wrote: On 13/08/14 11:07, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote: Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:07, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote: Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device tree properties for specifying the I2C command

Re: [PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:03, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 10:52:18AM +0300, Mikko Perttunen wrote: On 13/08/14 10:37, Thierry Reding wrote: Old Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote: This adds

Re: [PATCH 3/3] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:53, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:13:00AM +0300, Mikko Perttunen wrote: This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra114 and Tegra124

Re: [PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:37, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote: This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC

Re: [PATCH 1/3] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:35, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:58AM +0300, Mikko Perttunen wrote: Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant

Re: [PATCH 1/3] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:35, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:58AM +0300, Mikko Perttunen wrote: Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant

Re: [PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:37, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote: This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC

Re: [PATCH 3/3] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 10:53, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:13:00AM +0300, Mikko Perttunen wrote: This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra114 and Tegra124

Re: [PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:03, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 10:52:18AM +0300, Mikko Perttunen wrote: On 13/08/14 10:37, Thierry Reding wrote: Old Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:59AM +0300, Mikko Perttunen wrote: This adds

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:07, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote: Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device tree properties for specifying the I2C command

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:12, Mikko Perttunen wrote: On 13/08/14 11:07, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM +0300, Mikko Perttunen wrote: Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 11:57, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 11:42:53AM +0300, Mikko Perttunen wrote: On 13/08/14 11:12, Mikko Perttunen wrote: On 13/08/14 11:07, Thierry Reding wrote: Old Signed by an unknown key On Tue, Aug 05, 2014 at 11:12:57AM

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 13:36, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 12:52:22PM +0300, Mikko Perttunen wrote: On 13/08/14 11:57, Thierry Reding wrote: Old Signed by an unknown key On Wed, Aug 13, 2014 at 11:42:53AM +0300, Mikko Perttunen wrote: On 13/08/14 11

Re: [PATCH 0/3] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
On 13/08/14 13:53, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 13, 2014 at 01:41:52PM +0300, Mikko Perttunen wrote: On 13/08/14 13:36, Thierry Reding wrote: Old Signed by an unknown key On Wed, Aug 13, 2014 at 12:52:22PM +0300, Mikko Perttunen wrote: On 13/08/14 11

[PATCH v2 3/5] ARM: tegra124: Add I2C controller ids to device tree

2014-08-13 Thread Mikko Perttunen
I2C controller ids are required when programming hardware blocks that send messages to devices connected to an I2C bus, such as when the PMC sends a poweroff message to the PMIC. Add ids to all I2C controllers in Tegra124. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot

[PATCH v2 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-13 Thread Mikko Perttunen
Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- .../bindings/arm/tegra/nvidia,tegra20-pmc.txt

[PATCH v2 5/5] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-13 Thread Mikko Perttunen
This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm driver is also required. Signed-off-by: Mikko

[PATCH v2 2/5] of: Add nvidia,controller-id property to Tegra I2C bindings

2014-08-13 Thread Mikko Perttunen
to the device tree bindings, so that drivers can know what ID to write to a hardware register when configuring a block that sends I2C messages autonomously. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 5 + 1 file changed, 5

[PATCH v2 4/5] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-13 Thread Mikko Perttunen
This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com

[PATCH v2 0/5] Thermal reset support in PMC

2014-08-13 Thread Mikko Perttunen
the sensors. Git repo at git://github.com/cyndis/linux.git pmc-thermtrip-v2 Testing script at https://gist.github.com/cyndis/66126c9c176b5f94a76f. If your fan stops it is working. Mikko Perttunen (5): of: Add descriptions of thermtrip properties to Tegra PMC bindings of: Add nvidia,controller-id

Re: [PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-12 Thread Mikko Perttunen
On 11/08/14 16:32, Eduardo Valentin wrote: Hello Mikko, It follows more small comments. On Wed, Aug 6, 2014 at 6:25 AM, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports

Re: [PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-12 Thread Mikko Perttunen
On 11/08/14 16:32, Eduardo Valentin wrote: Hello Mikko, It follows more small comments. On Wed, Aug 6, 2014 at 6:25 AM, Mikko Perttunen mperttu...@nvidia.com wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip

[PATCH] ata: ahci_tegra: Read calibration fuse

2014-08-11 Thread Mikko Perttunen
-by: Mikko Perttunen --- drivers/ata/ahci_tegra.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index f1fef74..ad99e0f5 100644 --- a/drivers/ata/ahci_tegra.c +++ b/drivers/ata/ahci_tegra.c @@ -26,6 +26,7 @@ #include

[PATCH] ata: ahci_tegra: Change include to fix compilation

2014-08-11 Thread Mikko Perttunen
Before this patch, the driver included , which was effectively renamed to at about the same time the ahci_tegra series landed. Fix the include path so that the driver compiles. Signed-off-by: Mikko Perttunen --- This would be for 3.17. drivers/ata/ahci_tegra.c | 2 +- 1 file changed, 1

[PATCH] ata: ahci_tegra: Change include to fix compilation

2014-08-11 Thread Mikko Perttunen
Before this patch, the driver included linux/tegra-powergate.h, which was effectively renamed to soc/tegra/pmc.h at about the same time the ahci_tegra series landed. Fix the include path so that the driver compiles. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- This would be for 3.17

[PATCH] ata: ahci_tegra: Read calibration fuse

2014-08-11 Thread Mikko Perttunen
-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/ata/ahci_tegra.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_tegra.c b/drivers/ata/ahci_tegra.c index f1fef74..ad99e0f5 100644 --- a/drivers/ata/ahci_tegra.c +++ b/drivers/ata/ahci_tegra.c @@ -26,6

[PATCH v3 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-06 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124.dtsi | 47

[PATCH v3 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-06 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen --- v3: updated text slightly, added example using define .../devicetree/bindings/thermal/tegra-soctherm.txt | 53 ++ include/dt-bindings/thermal/tegra124

[PATCH v3 0/4] Tegra124 soctherm driver

2014-08-06 Thread Mikko Perttunen
. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v3 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree ARM: tegra: Add thermal trip points for Jetson TK1

[PATCH v3 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-06 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 32 +++ 1

[PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-06 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen --- v3: - changed commit message - changed bool to tristate - added text

Re: [PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-06 Thread Mikko Perttunen
On 05/08/14 16:53, Eduardo Valentin wrote: Hello Mikko, On Tue, Aug 05, 2014 at 03:18:57PM +0300, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones

Re: [PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-06 Thread Mikko Perttunen
On 05/08/14 16:53, Eduardo Valentin wrote: Hello Mikko, On Tue, Aug 05, 2014 at 03:18:57PM +0300, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones

[PATCH v3 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-06 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports temperature polling for four thermal zones. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v3: - changed commit message - changed bool

[PATCH v3 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-06 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 32

[PATCH v3 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-06 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- v3: updated text slightly, added example using define .../devicetree/bindings/thermal/tegra-soctherm.txt | 53 ++ include/dt

[PATCH v3 0/4] Tegra124 soctherm driver

2014-08-06 Thread Mikko Perttunen
. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v3 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree ARM: tegra: Add thermal trip points for Jetson TK1

[PATCH v3 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-06 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra124.dtsi | 47

Re: [PATCH v2 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-05 Thread Mikko Perttunen
On 05/08/14 16:34, Eduardo Valentin wrote: Mikko, On Tue, Aug 05, 2014 at 03:18:54PM +0300, Mikko Perttunen wrote: This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen --- .../devicetree/bindings/thermal/tegra-soctherm.txt

Re: [PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-05 Thread Mikko Perttunen
On 05/08/14 15:18, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones with hardware-tracked trip points. .. does NOT support hardware-tracked trip points

[PATCH v2 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-05 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 35 ++ include/dt-bindings/thermal/tegra124-soctherm.h| 13 2 files changed, 48

[PATCH v2 0/4] Tegra124 soctherm driver

2014-08-05 Thread Mikko Perttunen
. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v2 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree ARM: tegra: Add thermal trip points for Jetson TK1

[PATCH v2 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-05 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124.dtsi | 47

[PATCH v2 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-05 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 32 +++ 1

[PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-05 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones with hardware-tracked trip points. Signed-off-by: Mikko Perttunen --- drivers/thermal/Kconfig | 7 + drivers

[PATCH 1/3] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-05 Thread Mikko Perttunen
Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt| 13

[PATCH 3/3] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-05 Thread Mikko Perttunen
This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm driver is also required. Signed-off-by: Mikko Perttunen

[PATCH 0/3] Thermal reset support in PMC

2014-08-05 Thread Mikko Perttunen
on Tegra30 and Tegra114 too. Thanks, Mikko Mikko Perttunen (3): of: Add descriptions of thermtrip properties to Tegra PMC bindings ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree ARM: tegra: Add thermal reset (thermtrip) support to PMC .../bindings/arm/tegra/nvidia,tegra20

[PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-05 Thread Mikko Perttunen
This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen --- arch/arm/boot

[PATCH 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-08-05 Thread Mikko Perttunen
This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com

[PATCH 0/3] Thermal reset support in PMC

2014-08-05 Thread Mikko Perttunen
on Tegra30 and Tegra114 too. Thanks, Mikko Mikko Perttunen (3): of: Add descriptions of thermtrip properties to Tegra PMC bindings ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree ARM: tegra: Add thermal reset (thermtrip) support to PMC .../bindings/arm/tegra/nvidia,tegra20

[PATCH 3/3] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-08-05 Thread Mikko Perttunen
This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm driver is also required. Signed-off-by: Mikko Perttunen

[PATCH 1/3] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-08-05 Thread Mikko Perttunen
Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- .../devicetree/bindings/arm/tegra/nvidia

[PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-05 Thread Mikko Perttunen
This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones with hardware-tracked trip points. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- drivers/thermal/Kconfig

[PATCH v2 3/4] ARM: tegra: Add thermal trip points for Jetson TK1

2014-08-05 Thread Mikko Perttunen
This adds critical trip points to the Jetson TK1 device tree. The device will do a controlled shutdown when either the CPU, GPU or MEM thermal zone reaches 101 degrees Celsius. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 32

[PATCH v2 2/4] ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree

2014-08-05 Thread Mikko Perttunen
This adds the soctherm thermal sensing and management unit to the Tegra124 device tree along with the four thermal zones corresponding to the four thermal sensors provided by soctherm. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- arch/arm/boot/dts/tegra124.dtsi | 47

[PATCH v2 0/4] Tegra124 soctherm driver

2014-08-05 Thread Mikko Perttunen
. The branch is also available in my github repo, git://github.com/cyndis/linux.git soctherm-v2 Thanks, Mikko Mikko Perttunen (4): of: Add bindings for nvidia,tegra124-soctherm ARM: tegra: Add soctherm and thermal zones to Tegra124 device tree ARM: tegra: Add thermal trip points for Jetson TK1

[PATCH v2 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-05 Thread Mikko Perttunen
This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 35 ++ include/dt-bindings/thermal/tegra124-soctherm.h| 13 2

Re: [PATCH v2 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-08-05 Thread Mikko Perttunen
On 05/08/14 15:18, Mikko Perttunen wrote: This adds support for the Tegra SOCTHERM thermal sensing and management system found in the Tegra124 system-on-chip. This initial driver supports the four thermal zones with hardware-tracked trip points. .. does NOT support hardware-tracked trip points

Re: [PATCH v2 1/4] of: Add bindings for nvidia,tegra124-soctherm

2014-08-05 Thread Mikko Perttunen
On 05/08/14 16:34, Eduardo Valentin wrote: Mikko, On Tue, Aug 05, 2014 at 03:18:54PM +0300, Mikko Perttunen wrote: This adds binding documentation and headers for the Tegra124 SOCTHERM device tree node. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com --- .../devicetree/bindings/thermal

Re: [PATCH] clk: tegra: Implement memory-controller clock

2014-08-04 Thread Mikko Perttunen
Perttunen Tested-by: Mikko Perttunen Cheers, Mikko On 01/08/14 15:09, Thierry Reding wrote: From: Thierry Reding The memory controller clock runs either at half or the same frequency as the EMC clock. Signed-off-by: Thierry Reding ... -- To unsubscribe from this list: send the line

Re: [PATCH] clk: tegra: Implement memory-controller clock

2014-08-04 Thread Mikko Perttunen
Perttunen mperttu...@nvidia.com Tested-by: Mikko Perttunen mperttu...@nvidia.com Cheers, Mikko On 01/08/14 15:09, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com The memory controller clock runs either at half or the same frequency as the EMC clock. Signed-off-by: Thierry Reding tred

Re: [PATCH 1/6] thermal: of: Add support for hardware-tracked trip points

2014-08-01 Thread Mikko Perttunen
Moi Eduardo :) On 30/07/14 17:16, Eduardo Valentin wrote: Terve Mikko, On Fri, Jun 27, 2014 at 11:11:34AM +0300, Mikko Perttunen wrote: This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-08-01 Thread Mikko Perttunen
On 01/08/14 02:08, Mike Turquette wrote: ... That is sensible, and all the more reason that this patch shouldn't implement the rate-change feature within the clock driver. So consider it NAK'd. Also I agree that the per-clock debugfs entries are very useful for RO operations, especially

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-08-01 Thread Mikko Perttunen
On 01/08/14 02:08, Mike Turquette wrote: ... That is sensible, and all the more reason that this patch shouldn't implement the rate-change feature within the clock driver. So consider it NAK'd. Also I agree that the per-clock debugfs entries are very useful for RO operations, especially

Re: [PATCH 1/6] thermal: of: Add support for hardware-tracked trip points

2014-08-01 Thread Mikko Perttunen
Moi Eduardo :) On 30/07/14 17:16, Eduardo Valentin wrote: Terve Mikko, On Fri, Jun 27, 2014 at 11:11:34AM +0300, Mikko Perttunen wrote: This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points

<    5   6   7   8   9   10   11   12   13   >