Re: Beaglebone Black Core temperature

2013-10-09 Thread Eduardo Valentin
. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

[PATCH 2/2] thermal_functions: simplify the search for objects

2012-04-18 Thread Eduardo Valentin
This patch simplifies the way we search for objects inside the thermal sysfs tree. In some cases, the current code is not listing all expected objects. With this simplification, all objects are now listed. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- include/thermal_functions.sh

[PATCH 0/2] Couple of fixes for thermal test scripts

2012-04-18 Thread Eduardo Valentin
Hello Amit, I noticed that the current scripts may be missing some of the thermal objects. Also some tests were failing because of the manipulation of the 'ps' command output. They have been tested on panda board and with these two patches, I see the pass rate much higher. Eduardo Valentin (2

[PATCH 1/2] Improve the way we check for running binaries

2012-04-18 Thread Eduardo Valentin
The current way we are check for running process may lead to wrong results. The 'ps | grep' command may return more than one line, which will cause a false result in the test comparison. Now we use 'pidof' to check if we have the process running. Signed-off-by: Eduardo Valentin eduardo.valen

[PATCH 1/4] thermal: omap: fix get mode function

2012-04-18 Thread Eduardo Valentin
This patch changes the behavior of omap thermal zone so that if the data structures are not setup, it will always return 'disabled' while if data structures are set, then it will return the actual state. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/omap_thermal.c

[PATCH 2/4] MFD: omap scm: remove all references to TI THERMAL_FRAMEWORK config

2012-04-18 Thread Eduardo Valentin
The TI thermal framework is a non existing entity in mainline kernel. It is a framework present inside TI android tree. This patch removes references to this config entry from the SCM driver code. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/mfd/omap4460plus_temp_sensor.c

[PATCH 3/4] MFD: omap temp sensor: rework initialization sequence

2012-04-18 Thread Eduardo Valentin
This is a simplification of the initialization sequence of the omap temp sensor. Now all code related to cpu cooling is concentrated in only one place. This patch also properly handle the fail path, by freeing the right resources, in case the initialization fails. Signed-off-by: Eduardo Valentin

[PATCH 4/4] omap thermal: fix off by one issue

2012-04-18 Thread Eduardo Valentin
As of now, the function to check what have triggered a thermal event is accessing wrong data area. This patch changes the way to match the trip point triggering the thermal event. Now it won't access the memory out of its usable range. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[PATCH 0/4] OMAP thermal fixes

2012-04-18 Thread Eduardo Valentin
. So, I was wondering if same needs to be done for OMAP code, because as of today the sensor code is residing under drivers/mfd. I will cook something and send it across to see how it looks like. Eduardo Valentin (4): thermal: omap: fix get mode function MFD: omap scm: remove all references to TI

Re: [linux-pm] [PATCH 1/4] thermal: Add a new trip type to use cooling device instance number

2012-04-03 Thread Eduardo Valentin
Hello, On Thu, Feb 23, 2012 at 04:50:14PM +0530, Amit Kachhap wrote: On 23 February 2012 12:16, R, Durgadoss durgados...@intel.com wrote: Hi Amit, -Original Message- From: amit kachhap [mailto:amitdani...@gmail.com] On Behalf Of Amit Daniel Kachhap Sent: Wednesday, February

Re: [linux-pm] [PATCH 0/4] thermal: Adding generic cpu cooling devices

2012-02-22 Thread Eduardo Valentin
Hello Amit, Thanks for keeping this up. On Wed, Feb 22, 2012 at 03:44:06PM +0530, Amit Daniel Kachhap wrote: Changes since RFC: *Changed the cpu cooling registration/unregistration API's to instance based *Changed the STATE_ACTIVE trip type to pass correct instance id *Adding support to

Re: [linux-pm] [RFC PATCH 2/2] thermal: Add generic cpu cooling implementation

2012-02-07 Thread Eduardo Valentin
Hello Amit, On Tue, Dec 13, 2011 at 08:43:16PM +0530, Amit Daniel Kachhap wrote: This patch adds support for generic cpu thermal cooling low level implementations using frequency scaling and cpuhotplugg currently. Different cpu related cooling devices can be registered by the user and the

Re: [linux-pm] [RFC PATCH 2/2] thermal: Add generic cpu cooling implementation

2012-02-07 Thread Eduardo Valentin
Hello Amit, On Tue, Feb 07, 2012 at 10:21:15AM -0800, Amit Kachhap wrote: Hi eduardo, Again thanks for the review. On 7 February 2012 00:25, Eduardo Valentin eduardo.valen...@ti.com wrote: Hello Amit, On Tue, Dec 13, 2011 at 08:43:16PM +0530, Amit Daniel Kachhap wrote: This patch

Re: [linux-pm] [RFC PATCH] thermal: Add support to report cooling statistics achieved by cooling devices

2012-02-06 Thread Eduardo Valentin
Hello Amit, some comments embedded. On Wed, Jan 18, 2012 at 02:51:07PM +0530, Amit Daniel Kachhap wrote: Add a sysfs node code to report effective cooling of all cooling devices attached to each trip points of a thermal zone. The cooling data reported will be absolute if the higher