Re: How to use the generic thermal sysfs.

2012-08-01 Thread Wei Ni
On Wed, 2012-08-01 at 09:02 +0800, Zhang Rui wrote: > On 五, 2012-07-27 at 18:48 +0800, Wei Ni wrote: > > On Fri, 2012-07-27 at 15:39 +0800, Zhang Rui wrote: > > > On 五, 2012-07-27 at 09:30 +0200, Jean Delvare wrote: > > > > On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > > > > > On Fri, 2012-07

Re: How to use the generic thermal sysfs.

2012-07-31 Thread Zhang Rui
On 五, 2012-07-27 at 18:48 +0800, Wei Ni wrote: > On Fri, 2012-07-27 at 15:39 +0800, Zhang Rui wrote: > > On 五, 2012-07-27 at 09:30 +0200, Jean Delvare wrote: > > > On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > > > > On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > > > > > is it possible

Re: How to use the generic thermal sysfs.

2012-07-27 Thread Wei Ni
On Fri, 2012-07-27 at 15:39 +0800, Zhang Rui wrote: > On 五, 2012-07-27 at 09:30 +0200, Jean Delvare wrote: > > On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > > > On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > > > > is it possible to program the sensor at this time, in your own thermal >

Re: How to use the generic thermal sysfs.

2012-07-27 Thread Zhang Rui
On 五, 2012-07-27 at 09:30 +0200, Jean Delvare wrote: > On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > > On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > > > is it possible to program the sensor at this time, in your own thermal > > > driver? > > > > Since we are using the generic thermal

Re: How to use the generic thermal sysfs.

2012-07-27 Thread Jean Delvare
On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > > is it possible to program the sensor at this time, in your own thermal > > driver? > > Since we are using the generic thermal driver lm90.c, I'm not sure if we > could program these limits i

RE: How to use the generic thermal sysfs.

2012-07-26 Thread Wei Ni
On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > On 四, 2012-07-26 at 17:31 +0800, Wei Ni wrote: > > On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > > > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > > > > > > Our tegra thermal framework also will use the generic thermal layer. It

RE: How to use the generic thermal sysfs.

2012-07-26 Thread Zhang Rui
On 四, 2012-07-26 at 17:31 +0800, Wei Ni wrote: > On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > > > > Our tegra thermal framework also will use the generic thermal layer. It > > > will register the cooling device, and run the throttling

RE: How to use the generic thermal sysfs.

2012-07-26 Thread Wei Ni
On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > > Our tegra thermal framework also will use the generic thermal layer. It > > will register the cooling device, and run the throttling in this generic > > framework. > > But we have a special

RE: How to use the generic thermal sysfs.

2012-07-13 Thread Wei Ni
On Fri, 2012-07-13 at 16:11 +0800, Wei Ni wrote: > On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > > Our tegra thermal framework also will use the generic thermal layer. It > > > will register the cooling device, and run the throttling in t

RE: How to use the generic thermal sysfs.

2012-07-13 Thread Wei Ni
On Fri, 2012-07-13 at 15:41 +0800, Zhang Rui wrote: > On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > > Our tegra thermal framework also will use the generic thermal layer. It > > will register the cooling device, and run the throttling in this generic > > framework. > > But we have a special mech

RE: How to use the generic thermal sysfs.

2012-07-13 Thread Zhang Rui
On 五, 2012-07-13 at 15:30 +0800, Wei Ni wrote: > On Fri, 2012-07-13 at 09:51 +0800, Zhang Rui wrote: > > On 四, 2012-07-12 at 04:54 -0600, R, Durgadoss wrote: > > > Hi, > > > > > > > -Original Message- > > > > From: Wei Ni [mailto:w...@nvidia.com] > > > > Sent: Thursday, July 12, 2012 3:53

RE: How to use the generic thermal sysfs.

2012-07-13 Thread Wei Ni
On Fri, 2012-07-13 at 09:51 +0800, Zhang Rui wrote: > On 四, 2012-07-12 at 04:54 -0600, R, Durgadoss wrote: > > Hi, > > > > > -Original Message- > > > From: Wei Ni [mailto:w...@nvidia.com] > > > Sent: Thursday, July 12, 2012 3:53 PM > > > To: Zhang, Rui; Brown, Len; a...@linux-foundation.or

Re: How to use the generic thermal sysfs.

2012-07-12 Thread Zhang Rui
On 五, 2012-07-13 at 15:08 +0900, Alex Courbot wrote: > On Fri 13 Jul 2012 02:54:26 PM JST, R, Durgadoss wrote: > > As of now, we are getting the definitions done through the platform layer > > data. Considerations for device tree .. yes.. but I do not have any sample > > implementation.. > > Maybe

Re: How to use the generic thermal sysfs.

2012-07-12 Thread Alex Courbot
On Fri 13 Jul 2012 02:54:26 PM JST, R, Durgadoss wrote: As of now, we are getting the definitions done through the platform layer data. Considerations for device tree .. yes.. but I do not have any sample implementation.. Maybe we can help with that then, since we are going to need it. On the

RE: How to use the generic thermal sysfs.

2012-07-12 Thread R, Durgadoss
l.org; linux- > te...@ger.kernel.org > Subject: Re: How to use the generic thermal sysfs. > > On 07/12/2012 07:54 PM, R, Durgadoss wrote: > > We are working on a notification API from any generic sensor driver to > > the thermal framework. > > Please have a look at the 'noti

Re: How to use the generic thermal sysfs.

2012-07-12 Thread Alex Courbot
On 07/12/2012 07:54 PM, R, Durgadoss wrote: We are working on a notification API from any generic sensor driver to the thermal framework. Please have a look at the 'notify_thermal_framework' API in the patch here: http://www.spinics.net/lists/linux-acpi/msg36049.html At first sight these patche

RE: How to use the generic thermal sysfs.

2012-07-12 Thread Zhang Rui
On 四, 2012-07-12 at 04:54 -0600, R, Durgadoss wrote: > Hi, > > > -Original Message- > > From: Wei Ni [mailto:w...@nvidia.com] > > Sent: Thursday, July 12, 2012 3:53 PM > > To: Zhang, Rui; Brown, Len; a...@linux-foundation.org; kh...@linux-fr.org; > > j...@perches.com; R, Durgadoss > > Cc:

RE: How to use the generic thermal sysfs.

2012-07-12 Thread R, Durgadoss
Hi, > -Original Message- > From: Wei Ni [mailto:w...@nvidia.com] > Sent: Thursday, July 12, 2012 3:53 PM > To: Zhang, Rui; Brown, Len; a...@linux-foundation.org; kh...@linux-fr.org; > j...@perches.com; R, Durgadoss > Cc: linux-kernel@vger.kernel.org; linux-te...@ger.kernel.org; > acour...@