Re: [RFC PATCH] thermal: Schedule a backup thermal shutdown workqueue after a known period of time to tackle failed poweroff

2015-12-31 Thread Eduardo Valentin
can we have a shorter title? On Tue, Dec 29, 2015 at 02:46:49PM +0530, Keerthy wrote: > Hi Nishanth, > > > > >I am not sure if this #ifdeffery is even needed. > > > > > >Eduardo, Rui: If this is not the suggested technique, maybe you guys > >could suggest how we could handle a case where

Re: [RFC PATCH] thermal: Schedule a backup thermal shutdown workqueue after a known period of time to tackle failed poweroff

2015-12-31 Thread Eduardo Valentin
On Mon, Dec 21, 2015 at 11:16:18AM +0530, Keerthy wrote: > In few rare conditions like during boot up the orderly_poweroff > function might not be able to complete fully leaving the device > running at dangerously high temperatures. Hence adding a backup > workqueue to act after a known period of

Re: [RFC PATCH] thermal: Schedule a backup thermal shutdown workqueue after a known period of time to tackle failed poweroff

2015-12-31 Thread Eduardo Valentin
On Thu, Dec 31, 2015 at 11:47:57AM -0600, Nishanth Menon wrote: > On 12/31/2015 11:29 AM, Eduardo Valentin wrote: > > can we have a shorter title? > > > > > > Orderly power off is supposed to take care of this. Looking at the code, > > it will force a shutd

Re: [PATCH] ARM: dts: omap3: Include missing bandgap data for ti-soc-thermal driver

2015-12-31 Thread Eduardo Valentin
Hello, On Sat, Dec 26, 2015 at 12:32:25AM +0100, Pali Rohár wrote: > Driver for omap3 with documentation is there since v4.4-rc1. > > Signed-off-by: Pali Rohár > --- > arch/arm/boot/dts/omap34xx.dtsi |5 + > arch/arm/boot/dts/omap36xx.dtsi |5 + > 2

[PATCH 1/2] ti-soc-thermal: implement omap3 support

2015-09-29 Thread Eduardo Valentin
From: Pavel Machek <pa...@ucw.cz> This adds support for OMAP3 chips to ti-soc-thermal. As requested by TI people, it is marked unreliable and warning is printed. Signed-off-by: Pavel Machek <pa...@ucw.cz> Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- .../devicetre

[PATCH 0/2] thermal: omap3 support

2015-09-29 Thread Eduardo Valentin
Folks, I am add these two patches for next merge window. Pavels patch was idling for some time in the mailing list and I found it and gave it a try. In the process, added 36xx support too. DTS part is not done though. Anyways, they are in linux-next now. Have fun. BR, Eduardo Valentin (1

[PATCH 2/2] thermal: ti-soc-thermal: add OMAP36xx support

2015-09-29 Thread Eduardo Valentin
Add OMAP36xx support to ti-soc-thermal driver. This chip is also unreliable. The data provided here is based on OMAP36xx TRM: http://www.ti.com/lit/ug/swpu177aa/swpu177aa.pdf Signed-off-by: Eduardo Valentin <edube...@gmail.com> Signed-off-by: Eduardo Valentin <edubez...@

Re: [PATCHv3 1/1] ti-soc-thermal: implement omap3 support

2015-09-29 Thread Eduardo Valentin
On Tue, Sep 15, 2015 at 01:24:16PM +0200, Pavel Machek wrote: > On Wed 2015-09-09 21:58:09, Eduardo Valentin wrote: > > From: Pavel Machek <pa...@ucw.cz> > > > > This adds support for OMAP3 chips to ti-soc-thermal. As requested by > > TI people, it is marked

[PATCHv2 09/10] thermal: ti-soc: allow compile test

2015-09-13 Thread Eduardo Valentin
Adding COMPILE_TEST flag to ti-soc driver to facilitate maintenance. Cc: Zhang Rui <rui.zh...@intel.com> Cc: linux...@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- drivers/thermal/ti-soc-the

[PATCHv2 10/10] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

2015-09-13 Thread Eduardo Valentin
Move the dependencies to menu, so we avoid showing it wrongly. Cc: Zhang Rui <rui.zh...@intel.com> Cc: linux...@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- drivers/thermal/Kconfig

[PATCH 1/1] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

2015-09-09 Thread Eduardo Valentin
Move the dependencies to menu, so we avoid showing it wrongly. Cc: Zhang Rui <rui.zh...@intel.com> Cc: linux...@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- drivers/thermal/Kconfig

[PATCHv3 1/1] ti-soc-thermal: implement omap3 support

2015-09-09 Thread Eduardo Valentin
r.kernel.org Signed-off-by: Pavel Machek <pa...@ucw.cz> Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- .../devicetree/bindings/thermal/ti_soc_thermal.txt | 7 ++ drivers/thermal/ti-soc-thermal/Kconfig | 15 +++ drivers/thermal/ti-soc-thermal/Makefile|

[PATCH 17/17] thermal: ti-soc: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to ti-soc driver to facilitate maintenance. Cc: Zhang Rui <rui.zh...@intel.com> Cc: linux...@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin <edubez...@gmail.com> --- drivers/thermal/ti-soc-the

Re: [PATCHv2] ti-soc-thermal: implement omap3 support

2015-04-07 Thread Eduardo Valentin
Hi Pavel, On Thu, Apr 02, 2015 at 04:49:07PM +0200, Pavel Machek wrote: This adds support for OMAP3 chips to ti-soc-thermal. As requested by TI people, it is marked unreliable and warning is printed. Signed-off-by: Pavel Machek pa...@ucw.cz --- Patch is against thermal linus tree,

Re: [PATCHv2] ti-soc-thermal: implement omap3 support

2015-04-07 Thread Eduardo Valentin
On Thu, Apr 02, 2015 at 04:49:07PM +0200, Pavel Machek wrote: This adds support for OMAP3 chips to ti-soc-thermal. As requested by TI people, it is marked unreliable and warning is printed. Signed-off-by: Pavel Machek pa...@ucw.cz --- Patch is against thermal linus tree, please

Re: [PATCH v2] thermal: ti-soc-thermal: dra7: Implement Workaround for Errata i814 - Bandgap Temperature read Dtemp can be corrupted

2015-04-07 Thread Eduardo Valentin
Hello K, On Tue, Apr 07, 2015 at 08:50:04AM +0530, Keerthy wrote: Hi Eduardo, On Friday 27 March 2015 02:15 PM, Keerthy wrote: Bandgap Temperature read Dtemp can be corrupted DESCRIPTION Read accesses to registers listed below can be corrupted due to incorrect

Re: [PATCHv2] ti-soc-thermal: request temperature periodically if hw can't do that itself

2015-03-24 Thread Eduardo Valentin
On Sun, Jan 18, 2015 at 09:24:47PM +0100, Pavel Machek wrote: When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek pa...@ucw.cz This is a malformed patch. here is patch output (or git am) patching file drivers/thermal/ti-soc-thermal/ti-bandgap.c

Re: [PATCH V2 2/2] ARM: dts: am57xx-beagle-x15: Add thermal map to include fan and tmp102

2015-03-24 Thread Eduardo Valentin
-by: Eduardo Valentin edubez...@gmail.com --- Changes since V1: - slight change in omap4-cpu-thermal for usage in am57xx-dtsi - Not carrying forward ack due to change V1: http://marc.info/?t=14268810274r=1w=2 arch/arm/boot/dts/am57xx-beagle-x15.dts | 49

Re: [PATCHv2] thermal: add omap3 support

2015-03-23 Thread Eduardo Valentin
On Sun, Jan 18, 2015 at 09:28:24PM +0100, Pavel Machek wrote: Add support for omap3430 sensor. Tested on Nokia N900. Fix help text to be closer to english. Ifdefs in ti-bandgap.h are not neccessary, as users have #ifdefs, already. Signed-off-by: Pavel Machek pa...@ucw.cz You need to

Re: [PATCHv2] thermal: add omap3 support

2015-03-23 Thread Eduardo Valentin
On Mon, Mar 23, 2015 at 04:58:30PM +0100, Pavel Machek wrote: On Mon 2015-03-23 10:31:51, Eduardo Valentin wrote: On Sun, Jan 18, 2015 at 09:28:24PM +0100, Pavel Machek wrote: Add support for omap3430 sensor. Tested on Nokia N900. Fix help text to be closer to english

Re: [PATCH 2/3] ARM: dts: DRA7: Add bandgap and related thermal nodes

2015-03-20 Thread Eduardo Valentin
j-keer...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Eduardo Valentin edubez...@gmail.com --- arch/arm/boot/dts/dra7.dtsi | 12 arch/arm/boot/dts/dra72x.dtsi |9 + arch/arm/boot/dts/dra74x.dtsi |9 + 3 files changed, 30 insertions

Re: [PATCH 3/3] ARM: dts: am57xx-beagle-x15: Add thermal map

2015-03-20 Thread Eduardo Valentin
-by: Eduardo Valentin edubez...@gmail.com --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 41642fe770a1..6a3621c23017

Re: [PATCH 1/3] ARM: dts: OMAP5+: separate the cpu thermal zone definition from omap4

2015-03-20 Thread Eduardo Valentin
On Fri, Mar 20, 2015 at 02:47:39PM -0500, Nishanth Menon wrote: From: Tero Kristo t-kri...@ti.com OMAP4 has a finer counter granularity, which allows for a delay of 1000ms in the thermal zone polling intervals. OMAP5/DRA7 have different counter mechanism, which allows at maximum a 500ms

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Eduardo Valentin
On Sun, Jan 18, 2015 at 09:28:24PM +0100, Pavel Machek wrote: Add support for omap3430 sensor. Tested on Nokia N900. Fix help text to be closer to english. Ifdefs in ti-bandgap.h are not neccessary, as users have #ifdefs, already. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git

Re: [PATCHv2] thermal: add omap3 support

2015-03-13 Thread Eduardo Valentin
Hey Pavel, On Fri, Mar 13, 2015 at 01:09:35PM +0100, Pavel Machek wrote: Hi! I checked 4.0-rc3 and linux-next as of today, and can not see omap3 thermal support. Can you apply the patches? Yeah, it should be possible. Apologize, it really fell into the cracks. There is a comment on it

Re: [PATCH] ARM: dts: OMAP5: fix polling intervals for thermal zones

2015-02-27 Thread Eduardo Valentin
4a0021e0.bandgap: Delay 1000 ms is not supported [1.560029] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Tony Lindgren t...@atomide.com Acked-by: Eduardo Valentin edubez...@gmail.com --- arch/arm/boot/dts/omap5-core

Re: [PATCH] thermal: ti-soc-thermal: bandgap: Fix build warning if !CONFIG_PM_SLEEP

2015-02-24 Thread Eduardo Valentin
of Linux 4.0-rc1 without any issues) No need to resend. I will add to my -fixes queue. BR, Eduardo Valentin -- regards, -grygorii signature.asc Description: Digital signature

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-21 Thread Eduardo Valentin
On Sun, Jan 18, 2015 at 09:18:21PM +0100, Pavel Machek wrote: Hi! Ok, what do you suggest? AFAICT, without MODE_CONFIG, continuous ADC mode is not available, so we have to force it periodically, so this should be correct. I will have a better look and let you know. for now, adding

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-05 Thread Eduardo Valentin
On Sat, Jan 03, 2015 at 05:22:42PM +0100, Pavel Machek wrote: Hi! When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek pa...@ucw.cz --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c +++

Re: [PATCH] thermal: add omap3 support

2015-01-05 Thread Eduardo Valentin
On Sat, Jan 03, 2015 at 11:02:19PM +0100, Pavel Machek wrote: Hi! Thanks for sending your code. You are welcome. Add support for omap3430 sensor. Tested on Nokia N900. To my understanding, and as already mentioned by Nishanth Menon (currently TIer), TI has intentionally avoided

Re: [PATCH] MAINTAINERS: Add linux-omap to list of reviewers for TI Thermal

2015-01-05 Thread Eduardo Valentin
On Mon, Jan 05, 2015 at 05:44:38PM -0400, Eduardo Valentin wrote: On Sat, Jan 03, 2015 at 01:13:30PM -0600, Nishanth Menon wrote: Add linux-omap mailing list to the TI THERMAL list for wider review. Reported-by: Pavel Machek pa...@ucw.cz Signed-off-by: Nishanth Menon n...@ti.com

Re: [PATCH] thermal: ti-soc-thermal: ti-bandgap.c: Remove unused function

2015-01-05 Thread Eduardo Valentin
On Wed, Dec 24, 2014 at 08:57:14AM -0600, Nishanth Menon wrote: On 12/21/2014 11:43 AM, Rickard Strandqvist wrote: Remove the function ti_bandgap_write_thot() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by:

Re: [PATCH] MAINTAINERS: Add linux-omap to list of reviewers for TI Thermal

2015-01-05 Thread Eduardo Valentin
a/MAINTAINERS b/MAINTAINERS index ddb9ac8..dc9efd5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9533,6 +9533,7 @@ F: drivers/platform/x86/thinkpad_acpi.c TI BANDGAP AND THERMAL DRIVER M: Eduardo Valentin edubez...@gmail.com L: linux...@vger.kernel.org +L: linux-omap

[PATCH 1/1] MAINTAINERS: update ti-soc-thermal status

2015-01-05 Thread Eduardo Valentin
Changing to Maintained. Signed-off-by: Eduardo Valentin edubez...@gmail.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index dc9efd5..bc91817 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9534,7 +9534,7 @@ TI BANDGAP AND THERMAL

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Eduardo Valentin
On Sat, Jan 03, 2015 at 12:46:32PM +0100, Pavel Machek wrote: For omap3, proper implementation of eocz bit is needed. It was actually a TODO in the driver. When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git

Re: [PATCH] thermal: add omap3 support

2015-01-03 Thread Eduardo Valentin
Hello Pavel, Thanks for sending your code. On Sat, Jan 03, 2015 at 12:11:46PM +0100, Pavel Machek wrote: Add support for omap3430 sensor. Tested on Nokia N900. To my understanding, and as already mentioned by Nishanth Menon (currently TIer), TI has intentionally avoided adding this support.

Re: [PATCHv5 10/20] arm: dts: add omap4430 thermal data

2013-11-21 Thread Eduardo Valentin
Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm

[PATCHv5 19/20] arm: dts: make OMAP4460 bandgap node to belong to OCP

2013-11-12 Thread Eduardo Valentin
Campbell ijc+devicet...@hellion.org.uk Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Suggested-by: Nishanth Menon n...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen

[PATCHv5 17/20] arm: dts: add cooling properties on omap5 cpu node

2013-11-12 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 187cb71..a35cd61 100644

[PATCHv5 18/20] arm: dts: make OMAP443x bandgap node to belong to OCP

2013-11-12 Thread Eduardo Valentin
Campbell ijc+devicet...@hellion.org.uk Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Suggested-by: Nishanth Menon n...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen

[PATCHv5 16/20] arm: dts: add omap5 thermal data

2013-11-12 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch

[PATCHv5 14/20] arm: dts: add omap5 GPU thermal data

2013-11-12 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- Change from v4: - Using string constants instead of macros on trip types arch/arm/boot/dts/omap5-gpu-thermal.dtsi | 28 1 file changed, 28 insertions

[PATCHv5 09/20] arm: dts: add omap4 CPU thermal data

2013-11-12 Thread Eduardo Valentin
: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- Change from v4: - Using string constants instead of macros on trip types arch/arm/boot/dts/omap4-cpu

[PATCHv5 11/20] arm: dts: add omap4460 thermal data

2013-11-12 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index

[PATCHv5 10/20] arm: dts: add omap4430 thermal data

2013-11-12 Thread Eduardo Valentin
li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 10 -- 1 file changed, 8

[PATCHv5 12/20] arm: dts: add cooling properties on omap4430 cpu node

2013-11-12 Thread Eduardo Valentin
Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 5 + 1 file

[PATCHv5 13/20] arm: dts: add cooling properties on omap4460 cpu node

2013-11-12 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index 4d93aba

[PATCHv5 15/20] arm: dts: add omap5 CORE thermal data

2013-11-12 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- Change from v4: - Using string constants instead of macros on trip types arch/arm/boot/dts/omap5-core-thermal.dtsi | 28 1 file changed, 28 insertions

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: [PATCHv4 11/18] arm: dts: add omap4430 thermal data

2013-09-27 Thread Eduardo Valentin
On 27-09-2013 08:24, Nishanth Menon wrote: On 23:13-20130926, Eduardo Valentin wrote: This patch changes the dtsi entry on omap4430 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C

Re: [PATCHv4 11/18] arm: dts: add omap4430 thermal data

2013-09-27 Thread Eduardo Valentin
On 27-09-2013 09:26, Nishanth Menon wrote: On Fri, Sep 27, 2013 at 8:20 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: On 27-09-2013 08:24, Nishanth Menon wrote: On 23:13-20130926, Eduardo Valentin wrote: This patch changes the dtsi entry on omap4430 to contain the thermal data

[PATCHv4 16/18] arm: dts: add omap5 CORE thermal data

2013-09-26 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-core-thermal.dtsi | 28 1 file changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-core-thermal.dtsi diff --git

[PATCHv4 13/18] arm: dts: add cooling properties on omap4430 cpu node

2013-09-26 Thread Eduardo Valentin
Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 5 + 1 file

[PATCHv4 18/18] arm: dts: add cooling properties on omap5 cpu node

2013-09-26 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 187cb71..a35cd61 100644

[PATCHv4 11/18] arm: dts: add omap4430 thermal data

2013-09-26 Thread Eduardo Valentin
li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 10 -- 1 file changed, 8

[PATCHv4 17/18] arm: dts: add omap5 thermal data

2013-09-26 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch

[PATCHv4 14/18] arm: dts: add cooling properties on omap4460 cpu node

2013-09-26 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index 4d93aba

[PATCHv4 15/18] arm: dts: add omap5 GPU thermal data

2013-09-26 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-gpu-thermal.dtsi | 28 1 file changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-gpu-thermal.dtsi diff --git

[PATCHv4 10/18] arm: dts: add omap4 CPU thermal data

2013-09-26 Thread Eduardo Valentin
: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4-cpu-thermal.dtsi | 41 1 file changed, 41

[PATCHv4 12/18] arm: dts: add omap4460 thermal data

2013-09-26 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index

[PATCH 15/16] arm: dts: add omap5 thermal data

2013-09-15 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch

[PATCH 16/16] arm: dts: add cooling properties on omap5 cpu node

2013-09-15 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index b2ca0cf..9eb95b7 100644

[PATCH 10/16] arm: dts: add omap4460 thermal data

2013-09-15 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index

[PATCH 14/16] arm: dts: add omap5 CORE thermal data

2013-09-15 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-core-thermal.dtsi | 28 1 file changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-core-thermal.dtsi diff --git

[PATCH 13/16] arm: dts: add omap5 GPU thermal data

2013-09-15 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-gpu-thermal.dtsi | 28 1 file changed, 28 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-gpu-thermal.dtsi diff --git

[PATCH 12/16] arm: dts: add cooling properties on omap4460 cpu node

2013-09-15 Thread Eduardo Valentin
: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index b6b9b83

[PATCH 09/16] arm: dts: add omap4430 thermal data

2013-09-15 Thread Eduardo Valentin
li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 10 -- 1 file changed, 8

[PATCH 08/16] arm: dts: add omap4 CPU thermal data

2013-09-15 Thread Eduardo Valentin
: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4-cpu-thermal.dtsi | 41 1 file changed, 41

[RFC PATCH 11/14] arm: dts: add omap5 GPU thermal data

2013-08-23 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-gpu-thermal.dtsi | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-gpu-thermal.dtsi diff --git

[RFC PATCH 10/14] arm: dts: point to cooling-zones on omap4460 cpu node

2013-08-23 Thread Eduardo Valentin
-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index 9855f29..991bd1b

[RFC PATCH 12/14] arm: dts: add omap5 CORE thermal data

2013-08-23 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5-core-thermal.dtsi | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 arch/arm/boot/dts/omap5-core-thermal.dtsi diff --git a/arch

[RFC PATCH 14/14] arm: dts: point to cooling-zones on omap5 cpu node

2013-08-23 Thread Eduardo Valentin
-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 4a33fe0..335fcea 100644

[RFC PATCH 08/14] arm: dts: add omap4460 thermal data

2013-08-23 Thread Eduardo Valentin
...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index c2f0f39..9855f29 100644

[RFC PATCH 06/14] arm: dts: add omap4 CPU thermal data

2013-08-23 Thread Eduardo Valentin
: linux-omap@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4-cpu-thermal.dtsi | 40 1 file changed, 40

[RFC PATCH 09/14] arm: dts: point to cooling-zones on omap4430 cpu node

2013-08-23 Thread Eduardo Valentin
King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

[RFC PATCH 13/14] arm: dts: add omap5 thermal data

2013-08-23 Thread Eduardo Valentin
...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi

[RFC PATCH 07/14] arm: dts: add omap4430 thermal data

2013-08-23 Thread Eduardo Valentin
...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 5 + 1 file changed, 5 insertions

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

2013-07-17 Thread Eduardo Valentin
...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

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

2013-07-17 Thread Eduardo Valentin
...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

[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-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

[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-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@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-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 31 +-- 1 file

[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-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 1 + 1 file changed, 1

Re: Division by zero caused by CCF

2013-07-16 Thread Eduardo Valentin
) even though driver passed 19.2MHz, best_parent_rate ends up being zero which triggers the division by zero above. cheers - -- You have got to be excited about what you are doing. (L. Lamport) Eduardo Valentin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using

Re: [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver

2013-06-24 Thread Eduardo Valentin
Tony, On 18-06-2013 16:27, Eduardo Valentin wrote: Tony, On 07-06-2013 16:46, Eduardo Valentin wrote: Enable the bandgap driver for TI SoCs thermal support. Cc: Russell King li...@arm.linux.org.uk Cc: Tony Lindgren t...@atomide.com Cc: Javier Martinez Canillas javier.marti

Re: [PATCH 1/1] arm: add bandgap DT entry for OMAP5

2013-06-19 Thread Eduardo Valentin
On 19-06-2013 06:36, Benoit Cousson wrote: Hi Eduardo, On 06/18/2013 09:36 PM, Eduardo Valentin wrote: Add bandgap device DT entry for OMAP5 dtsi. Cc: Benoît Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap

Re: [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices

2013-06-18 Thread Eduardo Valentin
Benoit, On 07-06-2013 16:46, Eduardo Valentin wrote: This patch add the bandgap entry for OMAP4430 devices. Cc: Benoît Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org

Re: [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices

2013-06-18 Thread Eduardo Valentin
Benoit On 07-06-2013 16:46, Eduardo Valentin wrote: Include bandgap devices for OMAP4460 devices. Cc: Benoît Cousson b-cous...@ti.com Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Cc

Re: [PATCHv3 2/6] arm: introduce config HAS_BANDGAP

2013-06-18 Thread Eduardo Valentin
On 12-06-2013 13:07, Tony Lindgren wrote: * Eduardo Valentin eduardo.valen...@ti.com [130607 13:53]: Bandgap is a device used to measure temperature on electronic equipments. It is widely used in digital integrated circuits. It is based on the dependency between silicon voltage

Re: [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver

2013-06-18 Thread Eduardo Valentin
Tony, On 07-06-2013 16:46, Eduardo Valentin wrote: Enable the bandgap driver for TI SoCs thermal support. Cc: Russell King li...@arm.linux.org.uk Cc: Tony Lindgren t...@atomide.com Cc: Javier Martinez Canillas javier.marti...@collabora.co.uk Cc: AnilKumar Ch anilku...@ti.com Cc: Santosh

[PATCH 1/1] arm: add bandgap DT entry for OMAP5

2013-06-18 Thread Eduardo Valentin
...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com Signed-off-by: J Keerthy j-keer...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 8 1 file changed, 8 insertions(+) --- Benoit, Sorry for this very late request, but can you please consider these patches for 3.11 still? I completely

[PATCHv3 0/6] arm: enable TI SoC thermal driver

2013-06-07 Thread Eduardo Valentin
, as it is not supposed to be DTS related. Eduardo Valentin (6): thermal: ti-soc-thermal: use standard GPIO DT bindings arm: introduce config HAS_BANDGAP arm: dts: add bandgap entry for OMAP443x devices arm: dts: add bandgap entry for OMAP4460 devices arm: omap2plus_defconfig: enable TI bandgap

[PATCHv3 1/6] thermal: ti-soc-thermal: use standard GPIO DT bindings

2013-06-07 Thread Eduardo Valentin
in having a ti specific binding. Cc: Zhang Rui rui.zh...@intel.com Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr...@calxeda.com Cc: linux...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Eduardo Valentin eduardo.valen

[PATCHv3 2/6] arm: introduce config HAS_BANDGAP

2013-06-07 Thread Eduardo Valentin
feste...@gmail.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- 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

[PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default

2013-06-07 Thread Eduardo Valentin
tomi.valkei...@ti.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs

[PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver

2013-06-07 Thread Eduardo Valentin
tomi.valkei...@ti.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/configs/omap2plus_defconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch

[PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices

2013-06-07 Thread Eduardo Valentin
...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap4460.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index 2cf227c..ea97201 100644 --- a/arch/arm/boot/dts/omap4460.dtsi +++ b

[PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices

2013-06-07 Thread Eduardo Valentin
...@vger.kernel.org Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- arch/arm/boot/dts/omap443x.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index cccf39a..8d6c968 100644 --- a/arch/arm/boot/dts/omap443x.dtsi

Re: [PATCHv2 1/3] arm: introduce config HAS_BANDGAP

2013-06-04 Thread Eduardo Valentin
Fabio, On 31-05-2013 11:12, Fabio Estevam wrote: On Wed, May 15, 2013 at 11:58 AM, Eduardo Valentin eduardo.valen...@ti.com wrote: Introduce HAS_BANDGAP config entry. This config is a boolean value so that arch code can flag is they feature a bandgap device. This config entry follows

[PATCHv3 1/3] arm: introduce config HAS_BANDGAP

2013-06-04 Thread Eduardo Valentin
feste...@gmail.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- 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

  1   2   3   4   5   6   7   >