Re: [PATCH V6 04/30] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-06-19 Thread Eduardo Valentin
/* CONFIG_EXYNOS_THERMAL_CORE */ +#endif /* _EXYNOS_THERMAL_COMMON_H */ -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 06/30] thermal: exynos: Move exynos_thermal.h from include/* to driver/* folder

2013-06-19 Thread Eduardo Valentin
-by: Eduardo Valentin eduardo.valen...@ti.com unsigned int freq_tab_count; }; -#endif /* _LINUX_EXYNOS_THERMAL_H */ +#endif /* _EXYNOS_TMU_H */ -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 06/30] thermal: exynos: Move exynos_thermal.h from include/* to driver/* folder

2013-06-19 Thread Eduardo Valentin
On 19-06-2013 15:18, Eduardo Valentin wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch renames and moves include/linux/platform_data/exynos_thermal.h to drivers/thermal/samsung/exynos_tmu.h. This file movement is needed as exynos SOC's are not supporting non-DT based platforms

Re: [PATCH V6 07/30] thermal: exynos: Bifurcate exynos tmu driver and configuration data

2013-06-19 Thread Eduardo Valentin
@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com This patch looks good to me, you may want to add my: Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/Kconfig |3 +- drivers/thermal/samsung/Makefile |1 + drivers/thermal

Re: [PATCH V6 07/30] thermal: exynos: Bifurcate exynos tmu driver and configuration data

2013-06-19 Thread Eduardo Valentin
On 19-06-2013 15:35, Eduardo Valentin wrote: Rui, On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This code splits the exynos tmu driver code into SOC specific data parts. This will simplify adding new SOC specific data to the same TMU controller. Acked-by: Kukjin Kim kgene@samsung.com

Re: [PATCH V6 08/30] thermal: exynos: Add missing definations and code cleanup

2013-06-19 Thread Eduardo Valentin
for instance. so, Is this a fix? Just to be clear, is this what you want ? interrupt_en = 0; /* Disable all interrupts */ } writel(interrupt_en, data-base + EXYNOS_TMU_REG_INTEN); -- You have got to be excited about what you are doing. (L. Lamport) Eduardo

Re: [PATCH V2] thermal: exynos: Support for TMU regulator defined at device tree

2013-06-19 Thread Eduardo Valentin
) clk_unprepare(data-clk); + if (!IS_ERR(data-regulator)) + regulator_disable(data-regulator); + platform_set_drvdata(pdev, NULL); return 0; -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description

Re: [PATCH V6 09/30] thermal: exynos: Add extra entries in the tmu platform data

2013-06-19 Thread Eduardo Valentin
, .temp_level = 85, -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 09/30] thermal: exynos: Add extra entries in the tmu platform data

2013-06-19 Thread Eduardo Valentin
On 19-06-2013 16:19, Eduardo Valentin wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch adds entries min_efuse_value, max_efuse_value, default_temp_offset, trigger_type, cal_type, trim_first_point, trim_second_point, max_trigger_level trigger_enable in the TMU platform data

Re: [PATCH V6 10/30] thermal: exynos: Move register definitions from driver to data file

2013-06-19 Thread Eduardo Valentin
@samsung.com Acked-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_tmu.c | 172 +--- drivers/thermal/samsung/exynos_tmu.h

Re: [PATCH V6 11/30] thermal: exynos: Support thermal tripping

2013-06-19 Thread Eduardo Valentin
@samsung.com Acked-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_tmu.c | 45

Re: [PATCH V6 12/30] thermal: exynos: Fix to clear only the generated interrupts

2013-06-19 Thread Eduardo Valentin
amit.dan...@samsung.com --- Acked-by: Eduardo Valentin eduardo.valen...@ti.com drivers/thermal/samsung/exynos_tmu.c | 11 +-- drivers/thermal/samsung/exynos_tmu_data.c |2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/samsung

Re: [PATCH V6 13/30] thermal: exynos: Add support for instance based register/unregister

2013-06-19 Thread Eduardo Valentin
jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_thermal_common.c | 36 ++ drivers/thermal/samsung/exynos_thermal_common.h |9 +++-- drivers/thermal

Re: [PATCH V6 14/30] thermal: exynos: Modify private_data to appropriate name driver_data

2013-06-19 Thread Eduardo Valentin
-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_thermal_common.c |4 ++-- drivers/thermal/samsung/exynos_thermal_common.h |2 +- drivers/thermal

Re: [PATCH V6 15/30] thermal: exynos: Return success even if no cooling data supplied

2013-06-19 Thread Eduardo Valentin
sensors, just like SOC_ARCH_EXYNOS5440. Would you register cpufreq_cooling device for all of them? In other way, are you having 3 cpufreq_cooling devices? -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital

Re: [PATCH V6 16/30] thermal: exynos: Make the zone handling use trip information

2013-06-19 Thread Eduardo Valentin
; -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 15/30] thermal: exynos: Return success even if no cooling data supplied

2013-06-19 Thread Eduardo Valentin
On 19-06-2013 18:54, Eduardo Valentin wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch removes the error return in the bind/unbind routine as the platform may not register any cpufreq cooling data. Acked-by: Kukjin Kim kgene@samsung.com Acked-by: Jonghwa Lee jonghwa3

Re: [PATCH V6 17/30] thermal: exynos: Remove non DT based support

2013-06-19 Thread Eduardo Valentin
...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_tmu.c | 17 + 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index acbd295

Re: [PATCH V6 18/30] thermal: exynos: Add support to handle many instances of TMU

2013-06-19 Thread Eduardo Valentin
exynos5250_default_tmu_data; +extern struct exynos_tmu_init_data const exynos5250_default_tmu_data; #define EXYNOS5250_TMU_DRV_DATA (exynos5250_default_tmu_data) #else #define EXYNOS5250_TMU_DRV_DATA (NULL) -- You have got to be excited about what you are doing. (L. Lamport) Eduardo

Re: [PATCH V6 19/30] thermal: exynos: Add TMU features to check instead of using SOC type

2013-06-19 Thread Eduardo Valentin
@samsung.com Acked-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_tmu.c | 26 +++- drivers/thermal/samsung/exynos_tmu.h | 31

Re: [PATCH V6 20/30] thermal: exynos: use device resource management infrastructure

2013-06-19 Thread Eduardo Valentin
amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_thermal_common.c | 39 ++ 1 files changed, 25 insertions(+), 14 deletions(-) diff --git a/drivers/thermal/samsung/exynos_thermal_common.c b/drivers/thermal

Re: [PATCH V6 21/30] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-06-19 Thread Eduardo Valentin
; + }; -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 22/30] thermal: exynos: Add support to access common register for multistance

2013-06-19 Thread Eduardo Valentin
kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com This patch is fine: Acked-by: Eduardo Valentin eduardo.valen...@ti.com But please read my concern on next patch. --- .../devicetree/bindings/thermal/exynos-thermal.txt |6 +- drivers/thermal/samsung

Re: [PATCH V6 23/30] thermal: exynos: Add driver support for exynos5440 TMU sensor

2013-06-19 Thread Eduardo Valentin
) -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 24/30] thermal: exynos: Add thermal configuration data for exynos5440 TMU sensor

2013-06-19 Thread Eduardo Valentin
*/ -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 25/30] thermal: exynos: Fix to set the second point correction value

2013-06-19 Thread Eduardo Valentin
...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/exynos_tmu.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index a4dbc84..af0e6ca

Re: [PATCH V6 26/30] thermal: exynos: Add hardware mode thermal calibration support

2013-06-19 Thread Eduardo Valentin
to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH V6 27/30] Documentation: thermal: Explain the exynos thermal driver model

2013-06-19 Thread Eduardo Valentin
-by: Eduardo Valentin eduardo.valen...@ti.com --- Documentation/thermal/exynos_thermal | 43 ++--- 1 files changed, 34 insertions(+), 9 deletions(-) diff --git a/Documentation/thermal/exynos_thermal b/Documentation/thermal/exynos_thermal index 2b46f67..9010c44

Re: [PATCH V6 28/30] thermal: exynos: Support for TMU regulator defined at device tree

2013-06-19 Thread Eduardo Valentin
l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |4 +++ drivers/thermal/samsung/exynos_tmu.c

Re: [PATCH V6 29/30] ARM: dts: Add device tree node for exynos5440 TMU controller

2013-06-19 Thread Eduardo Valentin
amit.dan...@samsung.com Reviewed-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/exynos5440.dtsi | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index

Re: [PATCH V6 09/30] thermal: exynos: Add extra entries in the tmu platform data

2013-06-21 Thread Eduardo Valentin
On 21-06-2013 04:50, amit daniel kachhap wrote: Hi, On Thu, Jun 20, 2013 at 2:22 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 19-06-2013 16:19, Eduardo Valentin wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch adds entries min_efuse_value, max_efuse_value

Re: [PATCH V6 18/30] thermal: exynos: Add support to handle many instances of TMU

2013-06-21 Thread Eduardo Valentin
On 21-06-2013 08:46, amit daniel kachhap wrote: Hi Eduardo, On Thu, Jun 20, 2013 at 4:57 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch adds support to handle multiple instances of the TMU controllers. This is done by removing

Re: [PATCH V6 04/30] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-06-21 Thread Eduardo Valentin
On 20-06-2013 21:50, amit daniel kachhap wrote: On Thu, Jun 20, 2013 at 12:15 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: Amit, On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common

Re: [PATCH V6 08/30] thermal: exynos: Add missing definations and code cleanup

2013-06-21 Thread Eduardo Valentin
On 20-06-2013 22:01, amit daniel kachhap wrote: Hi Eduardo, On Thu, Jun 20, 2013 at 1:25 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This patch adds some extra register bitfield definations and cleans up the code to prepare for moving

Re: [PATCH V6 16/30] thermal: exynos: Make the zone handling use trip information

2013-06-21 Thread Eduardo Valentin
On 21-06-2013 08:30, amit daniel kachhap wrote: Hi On Thu, Jun 20, 2013 at 4:33 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 17-06-2013 02:46, Amit Daniel Kachhap wrote: This code simplifies the zone handling to use the trip information passed by the TMU driver

Re: [PATCH V6 04/30] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-06-21 Thread Eduardo Valentin
to cleanly add support for new TMU sensors. Acked-by: Kukjin Kim kgene@samsung.com Acked-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/samsung/Kconfig

[PATCH 1/1] thermal: MAINTAINERS: Add git tree path for SoC specific updates

2013-06-21 Thread Eduardo Valentin
: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3d7782b..48ff6282 100644 --- a/MAINTAINERS +++ b

[PATCH 3/8] cpufreq: cpufreq-cpu0: add dt node parsing on cooling need

2013-07-17 Thread Eduardo Valentin
Cc: linux-kernel@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 3 ++ .../devicetree/bindings/thermal/thermal.txt| 34 ++ drivers/cpufreq/cpufreq

[PATCH 5/9] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/thermal/thermal.txt| 133 ++ drivers/thermal/Kconfig| 13 + drivers/thermal/Makefile | 1

[PATCH 8/9] hwmon: lm75: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/lm75.c | 29 + 1 file changed, 29

[PATCH 9/9] hwmon: tmp102: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/tmp102.c | 25 + 1 file changed, 25

[PATCH 6/8] arm: dts: flag omap4430 with needs-cooling for cpu node

2013-07-17 Thread Eduardo Valentin
: Russell King li...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

Re: [RFC PATCH 2/4] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
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 Cc: Zhang, Rui; Eduardo Valentin; linux-kernel

[PATCH 1/9] cpufreq: cpufreq-cpu0: add dt node parsing for 'needs-cooling'

2013-07-17 Thread Eduardo Valentin
: devicetree-disc...@lists.ozlabs.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 3 +++ drivers/cpufreq/cpufreq-cpu0.c | 8 2 files changed, 11 insertions(+) diff --git a/Documentation

Re: [PATCH 0/9] thermal: introduce DT thermal zone build

2013-07-17 Thread Eduardo Valentin
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]. Essentially, this should

[PATCH 8/8] hwmon: tmp102: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/tmp102.c | 25 + 1 file changed, 25

[PATCH 4/8] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[PATCH 1/8] thermal: thermal_core: allow binding with limits on bind_params

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[PATCH 7/9] arm: dts: add omap4430 thermal data

2013-07-17 Thread Eduardo Valentin
...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

[PATCH 6/9] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[PATCH 2/9] thermal: hwmon: move hwmon support to single file

2013-07-17 Thread Eduardo Valentin
thermal locking. Also, some minor changes in the code were required, as recommended by checkpatch.pl. Cc: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/Kconfig | 9

[PATCH 0/9] thermal: introduce DT thermal zone build

2013-07-17 Thread Eduardo Valentin
(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: flag omap4430

[PATCH 5/8] arm: dts: add omap4430 thermal data

2013-07-17 Thread Eduardo Valentin
...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

[PATCH 4/9] arm: dts: flag omap4430 with needs-cooling for cpu node

2013-07-17 Thread Eduardo Valentin
: Russell King li...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

[RESEND PATCH V1 5/9] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/thermal/thermal.txt| 133 ++ drivers/thermal/Kconfig| 13 + drivers/thermal/Makefile | 1

[RESEND PATCH V1 6/9] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[RESEND PATCH V1 8/9] hwmon: lm75: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/lm75.c | 29 + 1 file changed, 29

[RESEND PATCH V1 1/9] cpufreq: cpufreq-cpu0: add dt node parsing for 'needs-cooling'

2013-07-17 Thread Eduardo Valentin
: devicetree-disc...@lists.ozlabs.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- Documentation/devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 3 +++ drivers/cpufreq/cpufreq-cpu0.c | 8 2 files changed, 11 insertions(+) diff --git a/Documentation

[RESEND PATCH V1 4/9] arm: dts: flag omap4430 with needs-cooling for cpu node

2013-07-17 Thread Eduardo Valentin
: Russell King li...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

[RESEND PATCH V1 7/9] arm: dts: add omap4430 thermal data

2013-07-17 Thread Eduardo Valentin
...@arm.linux.org.uk 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 eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

[RESEND PATCH V1 9/9] hwmon: tmp102: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/tmp102.c | 25 + 1 file changed, 25

[RESEND PATCH V1 3/9] thermal: thermal_core: allow binding with limits on bind_params

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[RESEND PATCH V1 0/9] thermal: introduce DT thermal zone build

2013-07-17 Thread Eduardo Valentin
(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: flag omap4430

[PATCH 1/8] thermal: hwmon: move hwmon support to single file

2013-07-17 Thread Eduardo Valentin
thermal locking. Also, some minor changes in the code were required, as recommended by checkpatch.pl. Cc: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/Kconfig | 9

[RESEND PATCH V1 2/9] thermal: hwmon: move hwmon support to single file

2013-07-17 Thread Eduardo Valentin
thermal locking. Also, some minor changes in the code were required, as recommended by checkpatch.pl. Cc: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/Kconfig | 9

[PATCH 3/9] thermal: thermal_core: allow binding with limits on bind_params

2013-07-17 Thread Eduardo Valentin
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 rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

[PATCH 2/8] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/thermal/thermal.txt| 99 + drivers/thermal/Kconfig| 13 + drivers/thermal/Makefile | 1

[PATCH 7/8] hwmon: lm75: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
behavior will be the same. Cc: Jean Delvare kh...@linux-fr.org Cc: Guenter Roeck li...@roeck-us.net Cc: lm-sens...@lm-sensors.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/hwmon/lm75.c | 29 + 1 file changed, 29

Re: [RESEND PATCH V1 8/9] hwmon: lm75: expose to thermal fw via DT nodes

2013-07-18 Thread Eduardo Valentin
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 zone is built only if a device tree node

Re: [lm-sensors] [RESEND PATCH V1 0/9] thermal: introduce DT thermal zone build

2013-07-18 Thread Eduardo Valentin
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 to say what to do with a sensor

Re: [lm-sensors] [RESEND PATCH V1 0/9] thermal: introduce DT thermal zone build

2013-07-19 Thread Eduardo Valentin
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, Jul 17, 2013 at 11:17:19AM -0400, Eduardo Valentin wrote: Hello all

Re: [lm-sensors] [RESEND PATCH V1 0/9] thermal: introduce DT thermal zone build

2013-07-19 Thread Eduardo Valentin
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: Hello all, As you noticed, I am working in a way

Re: [PATCH] typo in drivers/thermal/Kconfig: lpatform instead of platform

2013-09-09 Thread Eduardo Valentin
On 08-09-2013 17:58, Regid Ichira wrote: Applied to the HEAD of linux.git, VERSION = 3 PATCHLEVEL = 11 SUBLEVEL = 0 Signed-off-by: Regid Ichira regi...@nt1.in Acked-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1

[PATCHv2 3/7] arm: dts: dra7: add bandgap entry

2013-11-06 Thread Eduardo Valentin
This patch adds bandgap IP entry on DRA7 dtsi device tree file. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 12 1 file changed, 12 insertions(+) --- Hi all, Difference from V1: now the BG node belongs to OCP. Tero, this is the patch

[PATCH 0/7] DRA7: DT thermal support

2013-10-01 Thread Eduardo Valentin
runtime tested on DRA7-evm. All best, [1] - https://lkml.org/lkml/2013/9/26/787 [2] - git://github.com/rrnayak/linux.git out-of-tree/dra-integrated-v3 Eduardo Valentin (7): arm: dts: add dra7 DSPEVE thermal data arm: dts: add dra7 IVA thermal data arm: dts: dra7: add bandgap entry arm: dts

[PATCH 2/7] arm: dts: add dra7 IVA thermal data

2013-10-01 Thread Eduardo Valentin
This patch changes a dtsi file to contain the thermal data for IVA domain on DRA7 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal data can be reused across TI SoC devices. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7-iva

[PATCH 1/7] arm: dts: add dra7 DSPEVE thermal data

2013-10-01 Thread Eduardo Valentin
This patch changes a dtsi file to contain the thermal data for DSPEVE domain on DRA7 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal data can be reused across TI SoC devices. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7-dspeve

[PATCH 4/7] arm: dts: add cooling properties on dra7 cpu node

2013-10-01 Thread Eduardo Valentin
DRA7 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch adds the required cooling device properties so that cpufreq-cpu0 driver loads the cooling device. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts

[PATCH 3/7] arm: dts: dra7: add bandgap entry

2013-10-01 Thread Eduardo Valentin
This patch adds bandgap IP entry on DRA7 dtsi device tree file. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 3a746c2

[PATCH 5/7] arm: dts: dra7: add thermal data

2013-10-01 Thread Eduardo Valentin
This patch adds thermal data for DRA7 SoCs. Cpufreq cooling will be enabled for MPU domain whenever it crosses 100C. GPU, CORE, DSPEVE, IVA will be exposed and system shall shutdown when they cross 125C. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 9

[PATCH 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm

2013-10-01 Thread Eduardo Valentin
On dra7-evm there is an tmp102 temperature sensor on i2c bus 1. This patch adds its device tree node. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm

[PATCH 7/7] arm: dts: add thermal zones info on tmp102 for DRA7-EVM

2013-10-01 Thread Eduardo Valentin
Add simple thermal zone on tmp102. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 3b6c16a..70e1a12 100644

Re: [PATCH 2/7] arm: dts: add dra7 IVA thermal data

2013-10-01 Thread Eduardo Valentin
On 01-10-2013 18:33, Nishanth Menon wrote: On 14:32-20131001, Eduardo Valentin wrote: minor comments follow This patch changes a dtsi file to contain the thermal data s/changes/introduces? for IVA domain on DRA7 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal

Re: [PATCH 3/7] arm: dts: dra7: add bandgap entry

2013-10-01 Thread Eduardo Valentin
On 01-10-2013 18:46, Nishanth Menon wrote: On 14:32-20131001, Eduardo Valentin wrote: This patch adds bandgap IP entry on DRA7 dtsi device tree file. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 12 1 file changed, 12 insertions

Re: [PATCH 1/7] arm: dts: add dra7 DSPEVE thermal data

2013-10-01 Thread Eduardo Valentin
On 01-10-2013 18:37, Nishanth Menon wrote: On 14:32-20131001, Eduardo Valentin wrote: This patch changes a dtsi file to contain the thermal data ^^ introduces? for DSPEVE domain on DRA7 and later SoCs. This data will enable a thermal shutdown at 125C. This thermal data can

Re: [PATCH 6/7] arm: dts: add tmp102 i2c sensor node on dra7-evm

2013-10-01 Thread Eduardo Valentin
On 01-10-2013 18:51, Nishanth Menon wrote: On 14:32-20131001, Eduardo Valentin wrote: On dra7-evm there is an tmp102 temperature sensor on i2c bus 1. This patch adds its device tree node. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8

Re: [PATCH 0/7] DRA7: DT thermal support

2013-10-01 Thread Eduardo Valentin
On 01-10-2013 18:58, Nishanth Menon wrote: On 14:32-20131001, Eduardo Valentin wrote: Hello all, This is a complementary patch series with themal DT support for DRA7. Although this work depends on the thermal dt parser work [1], I decided to share it before hand. It also depends on DRA7 DT

Re: [PATCH 1/6] thermal: exynos: fix: Return from exynos_report_trigger() when therm_dev is NULL

2013-10-03 Thread Eduardo Valentin
; if (th_zone-bind == false) { -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH 2/6] thermal: exynos: Provide separate TMU data for Exynos4412

2013-10-03 Thread Eduardo Valentin
. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH 3/6] thermal: exynos: Provide initial setting for TMU's test MUX address at Exynos4412

2013-10-03 Thread Eduardo Valentin
+#define EXYNOS4412_MUX_ADDR_SHIFT 20 + /*exynos5440 specific registers*/ #define EXYNOS5440_TMU_S0_7_TRIM 0x000 #define EXYNOS5440_TMU_S0_7_CTRL 0x020 -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc

Re: [PATCH 4/6] thermal: exynos: Replace SOC_ARCH_EXYNOS with SOC_ARCH_EXYNOS5250

2013-10-03 Thread Eduardo Valentin
, - .type = SOC_ARCH_EXYNOS, + .type = SOC_ARCH_EXYNOS5250, }, }, .tmu_count = 1, -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH 4/6] thermal: exynos: Replace SOC_ARCH_EXYNOS with SOC_ARCH_EXYNOS5250

2013-10-04 Thread Eduardo Valentin
of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH 1/2] thermal: TI: remove TI_THERMAL dependency on CPU_THERMAL

2013-10-04 Thread Eduardo Valentin
= cpufreq_cooling_register(cpu_present_mask); -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH] thermal: offer TI thermal support only when ARCH_OMAP2PLUS is defined

2013-10-04 Thread Eduardo Valentin
to select ARCH_HAS_BANDGAP. source drivers/thermal/ti-soc-thermal/Kconfig endmenu -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH 2/2] thermal: TI: always register sensor driver with core thermal framework

2013-10-04 Thread Eduardo Valentin
are doing. (L. Lamport) Eduardo Valentin signature.asc Description: OpenPGP digital signature

Re: [PATCH] thermal: offer TI thermal support only when ARCH_OMAP2PLUS is defined

2013-10-04 Thread Eduardo Valentin
On 04-10-2013 14:22, Eduardo Valentin wrote: On 04-10-2013 08:35, Bartlomiej Zolnierkiewicz wrote: Menu for Texas Instruments thermal support is visible on all platforms and TI_SOC_THERMAL + TI_THERMAL config options can be selected also on EXYNOS platform (on which ARCH_HAS_BANDGAP config

[PATCH] drivers: thermal: allow ti-soc-thermal run without pcb zone

2013-09-15 Thread Eduardo Valentin
rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b

[PATCH 04/16] cpufreq: cpufreq-cpu0: add dt node parsing for cooling device properties

2013-09-15 Thread Eduardo Valentin
: devicetree-disc...@lists.ozlabs.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- .../devicetree/bindings/cpufreq/cpufreq-cpu0.txt | 7 +++ drivers/cpufreq/Kconfig | 2 +- drivers/cpufreq/cpufreq-cpu0.c | 16

[PATCH 00/16] device thermal limits represented in device tree nodes (v3)

2013-09-15 Thread Eduardo Valentin
to upstream. All best, Eduardo Valentin (16): drivers: thermal: allow registering without .get_temp drivers: thermal: introduce device tree parser drivers: thermal: cpu_cooling: introduce of_cpufreq_cooling_register cpufreq: cpufreq-cpu0: add dt node parsing for cooling device properties

[PATCH 03/16] drivers: thermal: cpu_cooling: introduce of_cpufreq_cooling_register

2013-09-15 Thread Eduardo Valentin
. Cc: Zhang Rui rui.zh...@intel.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/thermal/Kconfig | 1 + drivers/thermal/cpu_cooling.c | 31 +++ include/linux/cpu_cooling.h | 25

<    1   2   3   4   5   6   7   8   9   10   >