As per the comment at the top of this file, this is a GPLv2 driver.
This patch updates the driver license accordingly.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b
To follow the prefix names used by the thermal exported functions,
this patch renames notify_thermal_framework to thermal_notify_framework.
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/thermal_sys.c |6 +++---
include/linux
To follow the prefix names used by the thermal exported functions,
this patch renames get_thermal_instance to thermal_instance_get.
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/fair_share.c|2 +-
drivers/thermal/thermal_sys.c
To follow the prefix names used by the thermal exported functions,
this patch renames get_tz_trend to thermal_zone_trend_get.
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt |2 +-
drivers/thermal/step_wise.c |2 +-
drivers/thermal/thermal_sys.c
Restrict usage of GPL modules.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c | 24
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index 242c82a..602596e 100644
--- a
This patch updates the documentation for thermal_zone_bind_cooling_device
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a
This patch updates the documentation for thermal_zone_unbind_cooling_device
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers
This patch updates the documentation for thermal_cooling_device_register
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers
This patch updates the documentation for create_trip_attrs
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c
This patch updates the documentation for thermal_zone_device_register
and removes the warnings generated by scripts/kernel-doc -v.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/thermal
hello Rui,
Here is a temperature lookup helper function.
The usage of it is exemplified on patch 02.
Please review. This may overlap with Durgas recent work. But I am resending
as no one has commented my RFC.
Cheers,
Eduardo Valentin (2):
thermal: introduce thermal_zone_lookup_temperature
code.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c | 32
include/linux/thermal.h |1 +
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index 5bd95d4
For boards that provide a PCB sensor close to SoC junction
temperature, it is possible to remove the cumulative heat
reported by the SoC temperature sensor.
This patch changes the extrapolation computation to consider
an external sensor in the extrapolation equations.
Signed-off-by: Eduardo
On 25-03-2013 02:23, Zhang Rui wrote:
On Fri, 2013-03-22 at 17:13 -0400, Eduardo Valentin wrote:
For boards that provide a PCB sensor close to SoC junction
temperature, it is possible to remove the cumulative heat
reported by the SoC temperature sensor.
This patch changes the extrapolation
On 25-03-2013 02:26, Zhang Rui wrote:
On Mon, 2013-03-25 at 00:20 -0600, R, Durgadoss wrote:
-Original Message-
From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm-
ow...@vger.kernel.org] On Behalf Of Zhang Rui
Sent: Monday, March 25, 2013 11:41 AM
To: Eduardo Valentin
Cc: linux
On 25-03-2013 14:22, Greg KH wrote:
On Tue, Mar 19, 2013 at 10:54:25AM -0400, Eduardo Valentin wrote:
This patch updates the documentation to remove
all warnings and errors reported by scripts/kernel-doc.
Most are missing arguments due to wrong format.
Cc: Nishanth Menon
Signed-off-by
On 10-07-2013 02:48, Wei Ni wrote:
> On 07/09/2013 10:00 PM, Eduardo Valentin wrote:
>> In order to be able to build thermal policies
>> based on generic sensors, like I2C device, that
>> can be places in different points on different boards,
>> there is a need
On 10-07-2013 11:16, Stephen Warren wrote:
> On 07/10/2013 12:48 AM, Wei Ni wrote:
>> On 07/09/2013 10:00 PM, Eduardo Valentin wrote:
>>> In order to be able to build thermal policies
>>> based on generic sensors, like I2C device, that
>>> can be places in
On 15-07-2013 13:03, R, Durgadoss wrote:
>> -Original Message-
>> From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm-
>> ow...@vger.kernel.org] On Behalf Of Eduardo Valentin
>> Sent: Monday, July 15, 2013 5:25 PM
>> To: Wei Ni
>> Cc: Eduardo V
ts.ozlabs.org
Signed-off-by: Eduardo Valentin
---
.../devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 3 ++
.../devicetree/bindings/thermal/thermal.txt| 34 ++
drivers/cpufreq/cpufreq-cpu0.c | 8 +
3 files changed, 45 insertions(+)
diff -
: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
.../devicetree/bindings/thermal/thermal.txt| 133 ++
drivers/thermal/Kconfig| 13 +
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal_dt.c
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/lm75.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/tmp102.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/hwmon/tmp102.c b/drivers
c: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/ar
On 09-07-2013 12:14, R, Durgadoss wrote:
> Hi Eduardo,
>
>> -Original Message-----
>> From: Eduardo Valentin [mailto:eduardo.valen...@ti.com]
>> Sent: Tuesday, July 09, 2013 7:30 PM
>> To: linux...@vger.kernel.org; R, Durgadoss; amit.dan...@samsung.com
>&
rences
and is composed by the cpufreq cooling device.
Cc: "Rafael J. Wysocki"
Cc: Viresh Kumar
Cc: Grant Likely
Cc: Rob Herring
Cc: cpuf...@vger.kernel.org
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-
Hi,
On 17-07-2013 11:02, Eduardo Valentin wrote:
> Hello all,
>
Looks like I sent duplicated series. Please consider the series
containing 9 patches. I will resend with proper set.
> As you noticed, I am working in a way to represent thermal data
> using device tree [1]. Essen
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/tmp102.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/hwmon/tmp102.c b/drivers
device. Loading the thermal data from
DT, the driver assumes someone else will add the cpufreq
cooling device, like the cpufreq driver.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/ti-soc-thermal/ti-thermal
for each trip point
inside a bind_param. The way the binding is performed is also
changed so that it uses the new data structure.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt | 7
nel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 31 +--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/arch/ar
device. Loading the thermal data from
DT, the driver assumes someone else will add the cpufreq
cooling device, like the cpufreq driver.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/ti-soc-thermal/ti-thermal
thermal locking. Also, some minor changes
in the code were required, as recommended by checkpatch.pl.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile| 3
p4430 (3.11-rc1 with minor changes for getting cpufreq
working)
BR,
Eduardo Valentin (9):
cpufreq: cpufreq-cpu0: add dt node parsing for 'needs-cooling'
thermal: hwmon: move hwmon support to single file
thermal: thermal_core: allow binding with limits on bind_params
arm: dts
nel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 31 +--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/arch/ar
c: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/ar
: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
.../devicetree/bindings/thermal/thermal.txt| 133 ++
drivers/thermal/Kconfig| 13 +
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal_dt.c
device. Loading the thermal data from
DT, the driver assumes someone else will add the cpufreq
cooling device, like the cpufreq driver.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/ti-soc-thermal/ti-thermal
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/lm75.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon
rences
and is composed by the cpufreq cooling device.
Cc: "Rafael J. Wysocki"
Cc: Viresh Kumar
Cc: Grant Likely
Cc: Rob Herring
Cc: cpuf...@vger.kernel.org
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-
c: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/ar
nel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 31 +--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/arch/ar
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/tmp102.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/hwmon/tmp102.c b/drivers
for each trip point
inside a bind_param. The way the binding is performed is also
changed so that it uses the new data structure.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt | 7
p4430 (3.11-rc1 with minor changes for getting cpufreq
working)
BR,
Eduardo Valentin (9):
cpufreq: cpufreq-cpu0: add dt node parsing for 'needs-cooling'
thermal: hwmon: move hwmon support to single file
thermal: thermal_core: allow binding with limits on bind_params
arm: dts
thermal locking. Also, some minor changes
in the code were required, as recommended by checkpatch.pl.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile| 3
thermal locking. Also, some minor changes
in the code were required, as recommended by checkpatch.pl.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile| 3
for each trip point
inside a bind_param. The way the binding is performed is also
changed so that it uses the new data structure.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt | 7
: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
.../devicetree/bindings/thermal/thermal.txt| 99 +
drivers/thermal/Kconfig| 13 +
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal_dt.c
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/lm75.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon
compiled tested on other drivers. I have done
a runtime test on OMAP and DRA devices though.
Please feel free to perform your own test and report issues
if you find some.
All best,
Eduardo Valentin (5):
thermal: hwmon: move hwmon support to single file
drivers: thermal: parent virtual hwmon with
thermal locking. Also, some minor changes
in the code were required, as recommended by checkpatch.pl.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Durgadoss R
Signed-off-by: Eduardo Valentin
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal
This patch avoids NULL pointer accesses while unregistering
cpu cooling devices, in case a NULL pointer is received.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/cpu_cooling.c | 6 +-
1 file changed, 5
for each trip point
inside a bind_param. The way the binding is performed is also
changed so that it uses the new data structure.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sysfs-api.txt | 7
ernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_hwmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c
index fdb0719..eeef0e2 100644
--- a/drivers/thermal/thermal_hwmon.c
: linux...@vger.kernel.org
Cc: linux-samsung-...@vger.kernel.org
Cc: Matthew Garrett
Cc: Peter Feuerer
Cc: platform-driver-...@vger.kernel.org
Cc: "Rafael J. Wysocki"
Cc: Rob Herring
Cc: Zhang Rui
Suggested-by: Wei Ni
Signed-off-by: Eduardo Valentin
---
Documentation/thermal/sys
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/lm75.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/drivers/hwmon/lm75.c b/drivers
zone that references
and is composed by the cpufreq cooling device.
Cc: "Rafael J. Wysocki"
Cc: Viresh Kumar
Cc: Grant Likely
Cc: Rob Herring
Cc: cpuf...@vger.kernel.org
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Signed-off-
://lkml.org/lkml/2013/8/23/572
In the above link you will find also the request to have a flag to
determine if virtual hwmon device will be created, based on thermal device.
All best,
Eduardo Valentin (14):
cpufreq: cpufreq-cpu0: add dt node parsing for 'cooling-zones'
drivers: thermal:
behavior
will be the same.
Cc: Jean Delvare
Cc: Guenter Roeck
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/hwmon/tmp102.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/drivers/hwmon/tmp102.c b/drivers
: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
.../devicetree/bindings/thermal/thermal.txt| 160 +++
drivers/thermal/Kconfig| 13 +
drivers/thermal/Makefile | 1 +
drivers/thermal/thermal_dt.c
rk Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap4460.dtsi | 5 +
1 file changed, 5
Cc: Mark Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap4460.dtsi | 1 +
1 file
nel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/ar
device. Loading the thermal data from
DT, the driver assumes someone else will add the cpufreq
cooling device, like the cpufreq driver.
Cc: Zhang Rui
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
drivers/thermal/ti-soc-thermal/ti-thermal
c: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap443x.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/ar
Cc: Mark Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap5.dtsi | 1 +
1 file changed, 1
rk Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap5-gpu-thermal
n
Cc: Rob Herring
Cc: Pawel Moll
Cc: Mark Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap
rk Rutland
Cc: Stephen Warren
Cc: Ian Campbell
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/boot/dts/omap5-core-thermal
file mode 100644
index 000..d74c565
--- /dev/null
+++ b/arch/arm/boot/dts/omap4-cpu-thermal.dtsi
@@ -0,0 +1,40 @@
+
+/*
+ * Device Tree Source for OMAP4/5 SoC CPU thermal
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Contact: Eduardo Valentin
+ *
+ * This file i
k.
>
> On Fri, 2013-07-26 at 20:55 +0100, Eduardo Valentin wrote:
>> On 25-07-2013 13:33, Pawel Moll wrote:
>>> On Thu, 2013-07-25 at 18:20 +0100, Eduardo Valentin wrote:
>>>>>> thermal_zone {
>>>>>> type = "CPU";
>>>
Hi Wei,
On 18-07-2013 01:33, Wei Ni wrote:
> On 07/17/2013 11:17 PM, Eduardo Valentin wrote:
>> This patch adds to lm75 temperature sensor the possibility
>> to expose itself as thermal zone device, registered on the
>> thermal framework.
>>
>> The thermal zo
Hello Guenter,
On 17-07-2013 18:09, Guenter Roeck wrote:
> On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin wrote:
>> Hello all,
>>
>> As you noticed, I am working in a way to represent thermal data
>> using device tree [1]. Essentially, this should be a way
On 18-07-2013 17:21, Guenter Roeck wrote:
> On Thu, Jul 18, 2013 at 11:18:05AM -0600, Stephen Warren wrote:
>> On 07/18/2013 07:53 AM, Eduardo Valentin wrote:
>>> Hello Guenter,
>>>
>>> On 17-07-2013 18:09, Guenter Roeck wrote:
>>>> On Wed, Ju
On 18-07-2013 17:11, Guenter Roeck wrote:
> On Thu, Jul 18, 2013 at 09:53:05AM -0400, Eduardo Valentin wrote:
>> Hello Guenter,
>>
>> On 17-07-2013 18:09, Guenter Roeck wrote:
>>> On Wed, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin wrote:
>>>>
On 19-07-2013 14:45, Stephen Warren wrote:
> On 07/19/2013 07:38 AM, Eduardo Valentin wrote:
>> On 18-07-2013 17:11, Guenter Roeck wrote:
>>> On Thu, Jul 18, 2013 at 09:53:05AM -0400, Eduardo Valentin
>>> wrote:
>>>> Hello Guenter,
>>>>
>>
lks (Guenter) seam to be
strongly against this series, as there is a fear that this may introduce
a mis-usage of DT. I still believe this is needed for hardware
description, and thus not a infringement on DT purposes.
Please let me know your thoughts on this topic and apologize me if my
previ
I still believe this is needed for hardware
description, and thus not a infringement on DT purposes.
Please let me know your thoughts on this topic and apologize me if my
previous messages on this topic did not reach you (hope they reach now).
All best,
Eduardo Valentin
[0] - https://lkml.org/lkm
On 23-07-2013 21:44, Stephen Warren wrote:
> On 07/22/2013 07:25 AM, Eduardo Valentin wrote:
>> Hello Grant and Rob,
>>
>> (Resending, as I got a message saying:
>> : Recipient address rejected:
>> User has moved to devicetree at vger.kernel.org)
>>
>>
On 24-07-2013 06:45, Mark Rutland wrote:
> On Wed, Jul 24, 2013 at 02:44:38AM +0100, Stephen Warren wrote:
>> On 07/22/2013 07:25 AM, Eduardo Valentin wrote:
>>> Hello Grant and Rob,
>>>
>>> (Resending, as I got a message saying:
>>> : Recipient addre
Pawel,
On 24-07-2013 07:19, Pawel Moll wrote:
> Greeting,
>
> Funnily enough I had this discussion couple a months ago and made my
> mind back then :-)
>
:-)
>> On 07/22/2013 07:25 AM, Eduardo Valentin wrote:
>>> representing in device tree would not
>>>
On 25-07-2013 12:15, Pawel Moll wrote:
> On Wed, 2013-07-24 at 16:04 +0100, Eduardo Valentin wrote:
>>> 1. As you have pointed out, the thermal limits are related to the
>>> *device being monitored*, not the sensor itself.
>>>
>> Yeah, thinking of it now
wanted to say was: ... so the zone would still be embedded in a
> device node :-)
>
ahh ok.. I see.
> Pawel
>
>
>
>
--
You have got to be excited about what you are doing. (L. Lamport)
Eduardo Valentin
signature.asc
Description: OpenPGP digital signature
On 25-07-2013 19:28, Rafael J. Wysocki wrote:
> On Wednesday, July 17, 2013 11:17:20 AM Eduardo Valentin wrote:
>> This patch changes the cpufreq-cpu0 driver to consider if
>> a cpu needs cooling (with cpufreq). In case the cooling is needed,
>> it can be flagged at the cpu0 d
devm_ioremap_resource(&pdev->dev, res);
> + if (IS_ERR(bgp->base))
> + return bgp->base;
>
> if (TI_BANDGAP_HAS(bgp, TSHUT)) {
> bgp->tshut_gpio = of_get_gpio(node, 0);
>
--
You have got to be excited about what you are doing. (L. Lamport)
Eduardo Valentin
signature.asc
Description: OpenPGP digital signature
On 25-07-2013 13:33, Pawel Moll wrote:
> On Thu, 2013-07-25 at 18:20 +0100, Eduardo Valentin wrote:
>>>>thermal_zone {
>>>>type = "CPU";
>>>
>>> So what does this exactly mean? What is so special about CPU? What other
>>
On 14-05-2013 05:58, Amit Daniel Kachhap wrote:
> Changes in V4:
> Almost all the changes in this version is as per suggestion from Eduardo.The
> major ones are listed below,
> * Added kconfig symbol ARCH_HAS_TMU which needs to be enabled by platform.
> With
> this change existing symbol EXYNO
...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
arch/arm/Kconfig| 3 +++
arch/arm/mach-omap2/Kconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d423d58..bcbdec9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm
This patch add the bandgap entry for OMAP4430 devices.
Cc: "Benoît Cousson"
Cc: Tony Lindgren
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduard
Include bandgap devices for OMAP4460 devices.
Cc: "Benoît Cousson"
Cc: Tony Lindgren
Cc: Russell King
Cc: linux-o...@vger.kernel.org
Cc: devicetree-disc...@lists.ozlabs.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin
---
far has not caused any issues, and I believe that most of
the interesting data is protected by the thermal framework.
I am sending this patch for your appreciation and also to get wider review.
All best,
Eduardo Valentin (2):
thermal: introduce TI SoC thermal driver
MAINTAINERS: update TI SoC
Update driver path and status for TI SoC thermal drivers
on MAINTAINERS file.
Signed-off-by: Eduardo Valentin
---
MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index bc3d340..2b8a7c5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
This patch moves the ti-soc-thermal driver out of
the staging tree to the thermal tree.
Cc: Grant Likely
Cc: Rob Herring
Cc: Rob Landley
Cc: Greg Kroah-Hartman
Cc: Zhang Rui
Cc: Eduardo Valentin
Cc: J Keerthy
Cc: Radhesh Fadnis
Cc: Cyril Roelandt
Cc: devicetree-disc...@lists.ozlabs.org
On 15-05-2013 11:23, Benoit Cousson wrote:
> Hi Eduardo,
>
> On 05/15/2013 04:58 PM, Eduardo Valentin wrote:
>> Include bandgap devices for OMAP4460 devices.
>>
>> Cc: "Benoît Cousson"
>> Cc: Tony Lindgren
>> Cc: Russell King
>>
On 16-05-2013 03:20, Benoit Cousson wrote:
> Hi Eduardo,
>
> On 05/15/2013 06:36 PM, Eduardo Valentin wrote:
>> On 15-05-2013 11:23, Benoit Cousson wrote:
>>> Hi Eduardo,
>>>
>>> On 05/15/2013 04:58 PM, Eduardo Valentin wrote:
>>>> Incl
On 15-05-2013 12:57, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 12:36 Wed 15 May , Eduardo Valentin wrote:
>> On 15-05-2013 11:23, Benoit Cousson wrote:
>>> Hi Eduardo,
>>>
>>> On 05/15/2013 04:58 PM, Eduardo Valentin wrote:
>>>> Include ba
On 15-05-2013 13:20, Dan Carpenter wrote:
> A surprising number of newbies interpret this section to mean that only
> one return statement is allowed per function. Part of the problem is
> that the "one return statement per function" rule is an actual style
> guideline that people are used to from
.
Eduardo Valentin (11):
thermal: use strlcpy instead of strcpy
thermal: update driver license
thermal: rename notify_thermal_framework to thermal_notify_framework
thermal: rename get_thermal_instance to thermal_instance_get
thermal: rename get_tz_trend to thermal_zone_trend_get
For memory boundaries safety, use strlcpy instead of strcpy.
Signed-off-by: Eduardo Valentin
---
drivers/thermal/thermal_sys.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c
index 5b7863a..7875607 100644
401 - 500 of 1922 matches
Mail list logo