RE: OMAP3 Clock CPU frequency

2010-08-30 Thread Gopinath, Thara
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of msin...@eastcoreng.com Sent: Monday, August 30, 2010 12:33 AM To: linux-omap@vger.kernel.org Subject: OMAP3 Clock CPU frequency Kevin Hilman wrote: FWIW, the SR hwmods

RE: [PATCH v2] omap: 4430sdp board support for the the GPIO keys

2010-08-30 Thread Gopinath, Thara
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Shubhrajyoti D Sent: Tuesday, August 24, 2010 10:58 AM To: linux-omap@vger.kernel.org Cc: Datta, Shubhrajyoti Subject: [PATCH v2] omap: 4430sdp board support for the the GPIO

[PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Vishwanath BS
In current i2c core driver, pm_runtime_set_active call from i2c_device_pm_resume is not balanced by pm_runtime_set_suspended call from i2c_device_pm_suspend. pm_runtime_set_active called from resume path will increase the child_count of the device's parent. However, matching

RE: OMAP3 Clock CPU frequency

2010-08-30 Thread Matt Singer
Is it in mainline yet or still a patch? -Original Message- From: Gopinath, Thara [mailto:th...@ti.com] Sent: Monday, August 30, 2010 6:29 AM To: msin...@eastcoreng.com; linux-omap@vger.kernel.org Subject: RE: OMAP3 Clock CPU frequency -Original Message- From:

RE: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-30 Thread Sripathy, Vishwanath
Kevin, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Saturday, August 28, 2010 12:45 AM To: vishwanath.sripa...@linaro.org Cc: linux-omap@vger.kernel.org; linaro-...@lists.linaro.org Subject: Re:

Re: [PATCH] OMAP2: add cpuidle and cpufreq events tracing

2010-08-30 Thread Jean Pihet
On Fri, Aug 27, 2010 at 2:01 AM, Kevin Hilman khil...@deeprootsystems.com wrote: Jean Pihet jean.pi...@newoldbits.com writes: Hi Kevin, On Wed, Aug 25, 2010 at 8:22 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Hi Jean, Jean Pihet jean.pi...@newoldbits.com writes: ... Add the

RE: [PM-SR][PATCH 1/2 v2] omap3: sr: fix memory leak and simplify the code

2010-08-30 Thread Gopinath, Thara
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Wednesday, August 25, 2010 2:55 AM To: Menon, Nishanth; Gopinath, Thara Cc: linux-omap; Artem Bityutskiy; Peter p2 De Schrijver Subject: Re: [PM-SR][PATCH 1/2 v2] omap3: sr: fix memory leak and simplify the

RE: [PATCH v2] OMAP4: pm.c extensions for OMAP4 support

2010-08-30 Thread Gopinath, Thara
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Wednesday, August 25, 2010 4:43 AM To: Gopinath, Thara Cc: linux-omap@vger.kernel.org; p...@pwsan.com; Sripathy, Vishwanath; Sawant, Anand Subject: Re: [PATCH v2] OMAP4: pm.c extensions for OMAP4 support

RE: OMAP3 Clock CPU frequency

2010-08-30 Thread Gopinath, Thara
-Original Message- From: Matt Singer [mailto:msin...@eastcoreng.com] Sent: Monday, August 30, 2010 6:02 PM To: Gopinath, Thara; linux-omap@vger.kernel.org Subject: RE: OMAP3 Clock CPU frequency Is it in mainline yet or still a patch? Hello Matt, It is not in mainline and is only a

Re: [RFC: PATCH] New API to modify the autoidle bits of sysconfig register

2010-08-30 Thread Kevin Hilman
Kishon Vijay Abraham I kis...@ti.com writes: Though the sysconfig register values shouldn't be modified directly by the driver, MCBSP should be considered a special case where sysconfig registers need to be modified dynamically by the driver. For e.g MCBSP 2 and 3 in OMAP3 has sidetone

Re: OMAP4430 Public TRM is Available Now!

2010-08-30 Thread Jayabharath Goluguri
On Aug 27, 2:11 pm, Felipe Balbi wrote: In addition, you can find the first public version of the OMAP4430 Clock Tree Tool under Technical Documents section. tried that one, doesn't work with ubuntu 10.04, Gentoo or Debian Sid. Doesn't go passed splash screen. We have informed the

Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Felipe Balbi
Hi Dmitry, When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers, magnetometers, proximity, etc on the input layer because they are not user input, although I didn't fully agree with you, we had to modify the drivers and,

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
Hi Felipe, On Mon, Aug 30, 2010 at 11:04:39AM -0500, Felipe Balbi wrote: Hi Dmitry, When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers, magnetometers, proximity, etc on the input layer because they are not user

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Felipe Balbi
Hi, On Mon, 30 Aug 2010 09:28:56 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers, magnetometers, proximity, etc on the input layer because they are not

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
On Mon, Aug 30, 2010 at 12:10:41PM -0500, Felipe Balbi wrote: Hi, On Mon, 30 Aug 2010 09:28:56 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers,

[PATCH 1/3] omap4 hsmmc : Adding card detect support for MMC1

2010-08-30 Thread kishore kadiyala
Adding card detect callback function and card detect configuration function for MMC1 Controller. Card detect configuration function does initial configuration of the MMC Control PullUp-PullDown registers of Phoenix. For MMC1 Controller, Card detect interrupt source is twl6030 and the card

[PATCH 0/3] OMAP hsmmc : card detect and Register offset handling

2010-08-30 Thread kishore kadiyala
Hi, The patch series includes : adding carddetect feature for MMC1 controller on OMAP4 and register offset handling for OMAP3 OMAP4 and followed by a fix when CONFIG_MMC_OMAP_HS not selected for OMAP4. Patch series has been tested on OMAP3430SDP and OMAP4430SDP Kishore Kadiyala (2): omap4

[PATCH 2/3] omap4 hsmmc: Fix the init if CONFIG_MMC_OMAP_HS is not set

2010-08-30 Thread kishore kadiyala
Avoid possible crash if CONFIG_MMC_OMAP_HS is not set Cc: Tony Lindgren t...@atomide.com Cc: Adrian Hunter adrian.hun...@nokia.com Cc: Madhusudhan Chikkature madhu...@ti.com Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Kishore Kadiyala

[PATCH 3/3] omap3/omap4 hsmmc: Register offset handling

2010-08-30 Thread kishore kadiyala
OMAP4 not only have newly added hsmmc registers but also have registers which were there in OMAP3 and which doesn't have a common offset deviation compared to OMAP3. For generic handling, OMAP3 and OMAP4 has different array's of register offset maintained and right one is choosen during run time.

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Jonathan Cameron
On 08/30/10 18:10, Felipe Balbi wrote: Hi, On Mon, 30 Aug 2010 09:28:56 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers, magnetometers, proximity, etc

Nagging free/reclaim gpio's

2010-08-30 Thread Philip Balister
I've got a module that claims gpio's when it is loaded and frees them when it is unloaded. It looks like something goes wrong when I free them: gpio_unexport: gpio144 status -22 gpio_unexport: gpio146 status -22 gpio_unexport: gpio14 status -22 gpio_unexport: gpio21 status -22 gpio_unexport:

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Kevin Hilman
Vishwanath BS vishwanath...@ti.com writes: In current i2c core driver, pm_runtime_set_active call from i2c_device_pm_resume is not balanced by pm_runtime_set_suspended call from i2c_device_pm_suspend. pm_runtime_set_active called from resume path will increase the child_count of the

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Felipe Balbi
Hi, On Mon, 30 Aug 2010 10:21:44 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: My response to this - are gyroscopes will _only_ be used to turn around in a game? Are proximity sensor is _only_ usable as a trigger in FPS? Won't we ever see such chips controlling technological

Re: Nagging free/reclaim gpio's

2010-08-30 Thread Felipe Balbi
Hi, On Mon, 30 Aug 2010 14:25:39 -0400, Philip Balister phi...@balister.org wrote: I've got a module that claims gpio's when it is loaded and frees them when it is unloaded. It looks like something goes wrong when I free them: gpio_unexport: gpio144 status -22 gpio_unexport: gpio146 status

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Alan Cox
On Mon, 30 Aug 2010 11:04:39 -0500 Felipe Balbi m...@felipebalbi.com wrote: Hi Dmitry, When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers, magnetometers, proximity, etc on the input layer because they are not

Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias

2010-08-30 Thread Paul E. McKenney
On Fri, Aug 27, 2010 at 09:12:24AM +0300, Hiroshi DOYU wrote: Hi Catalin, From: Hiroshi DOYU hiroshi.d...@nokia.com Subject: Re: [RFC][PATCH 0/1] kmemleak: Fix false positive with alias Date: Tue, 10 Aug 2010 18:49:03 +0300 (EEST) snip The performance impact is indeed pretty high,

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
On Mon, Aug 30, 2010 at 09:40:25PM +0100, Alan Cox wrote: On Mon, 30 Aug 2010 11:04:39 -0500 Felipe Balbi m...@felipebalbi.com wrote: Hi Dmitry, When we tried to push N900's accelerometer driver as an input device you commented you didn't want sensors such as accelerometers,

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
On Mon, Aug 30, 2010 at 01:52:18PM -0500, Felipe Balbi wrote: Hi, On Mon, 30 Aug 2010 10:21:44 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: My response to this - are gyroscopes will _only_ be used to turn around in a game? Are proximity sensor is _only_ usable as a trigger in

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Linus Torvalds
On Monday, August 30, 2010, Dmitry Torokhov dmitry.torok...@gmail.com wrote: But do you believe that input should be the primary residence for the devices when they are only _sometimes_ used as input devices? Or it would make sense to employ a converter from XXX to input (either purely

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
On Mon, Aug 30, 2010 at 02:28:37PM -0700, Linus Torvalds wrote: On Monday, August 30, 2010, Dmitry Torokhov dmitry.torok...@gmail.com wrote: But do you believe that input should be the primary residence for the devices when they are only _sometimes_ used as input devices? Or it would make

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Linus Torvalds
On Monday, August 30, 2010, Dmitry Torokhov dmitry.torok...@gmail.com wrote: That is why I started taking accelerometers in. But I am concerned that taking accelerometers (which indeed are most often input devices) will lead people to try and use the same for temperature, ALS and other

Re: [RFC][PATCH 1/1] ARM: Add initial hibernation support

2010-08-30 Thread Kevin Hilman
On Fri, 2010-07-16 at 12:10 +0300, Hiroshi DOYU wrote: From: ext Russell King - ARM Linux li...@arm.linux.org.uk Subject: Re: [RFC][PATCH 1/1] ARM: Add initial hibernation support Date: Fri, 16 Jul 2010 09:52:44 +0200 On Thu, Jul 15, 2010 at 12:08:07PM +0300, Hiroshi DOYU wrote: From: ext

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Dmitry Torokhov
On Mon, Aug 30, 2010 at 03:05:32PM -0700, Linus Torvalds wrote: On Monday, August 30, 2010, Dmitry Torokhov dmitry.torok...@gmail.com wrote: That is why I started taking accelerometers in. But I am concerned that taking accelerometers (which indeed are most often input devices) will lead

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-30 Thread Tony Lindgren
* Will Deacon will.dea...@arm.com [100823 09:51]: Hi Tony, Hi all, Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan Wu is working on similar issues. The patches are

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-30 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux li...@arm.linux.org.uk [100819 13:13]: On Thu, Aug 19, 2010 at 12:57:06PM +0300, Tony Lindgren wrote: Looks like something is not quite right with smp_on_up part of __fixup_smp, returning early before

Re: [PATCH 01/13] OMAP: Introduce a user list for each voltage domain instance in the voltage driver.

2010-08-30 Thread Kevin Hilman
Kevin Hilman khil...@deeprootsystems.com writes: +if (!found) { +user = kzalloc(sizeof(struct omap_vdd_user_list), GFP_KERNEL); +if (!user) { +pr_err(%s: Unable to creat a new user for vdd_%s\n, +__func__,

Re: [PATCHv2 2/8] OMAP3: PM: Adding voltage driver support for OMAP3

2010-08-30 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch adds voltage driver support for OMAP3. The driver allows configuring the voltage controller and voltage processors during init and exports APIs to enable/disable voltage processors, scale voltage and reset voltage. The driver also maintains the

Re: [PATCHv2 2/8] OMAP3: PM: Adding voltage driver support for OMAP3

2010-08-30 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: +/* + * vc_bypass_scale_voltage - VC bypass method of voltage scaling + */ +static int vc_bypass_scale_voltage(struct omap_vdd_info *vdd, + unsigned long target_volt) +{ + struct omap_volt_data *volt_data; + u32 vc_bypass_value,

Re: [PATCH 10/13] OMAP3: Introduce custom set rate and get rate APIs for scalable devices

2010-08-30 Thread Kevin Hilman
Thara Gopinath th...@ti.com writes: This patch also introduces omap3_mpu_set_rate, omap3_iva_set_rate, omap3_l3_set_rate, omap3_mpu_get_rate, omap3_iva_get_rate, omap3_l3_get_rate as device specific set rate and get rate APIs for OMAP3 mpu, iva and l3_main devices. This patch also calls into

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-30 Thread Silesh C V
Hi Vishwa, On Mon, Aug 30, 2010 at 6:29 PM, Sripathy, Vishwanath vishwanath...@ti.com wrote: Kevin, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Kevin Hilman Sent: Saturday, August 28, 2010 12:45 AM To:

RE: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-30 Thread Sripathy, Vishwanath
-Original Message- From: Silesh C V [mailto:sailes...@gmail.com] Sent: Tuesday, August 31, 2010 9:53 AM To: Sripathy, Vishwanath Cc: Kevin Hilman; vishwanath.sripa...@linaro.org; linux-omap@vger.kernel.org; linaro-...@lists.linaro.org Subject: Re: [PATCH] OMAP CPUIDLE: CPU Idle

Re: Sensors and the input layer (was Re: [RFC] [PATCH V2 1/2] input: CMA3000 Accelerometer driver)

2010-08-30 Thread Felipe Balbi
Hi, On Mon, 30 Aug 2010 15:43:52 -0700, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Mon, Aug 30, 2010 at 03:05:32PM -0700, Linus Torvalds wrote: On Monday, August 30, 2010, Dmitry Torokhov dmitry.torok...@gmail.com wrote: That is why I started taking accelerometers in. But I am

Re: [RFC: PATCH] OMAP: hwmod: New API to modify the autoidle bits of sysconfig register

2010-08-30 Thread kishon
On Monday 30 August 2010 08:56 PM, Kevin Hilman wrote: Kishon Vijay Abraham Ikis...@ti.com writes: Though the sysconfig register values shouldn't be modified directly by the driver, MCBSP should be considered a special case where sysconfig registers need to be modified dynamically by

RE: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb

2010-08-30 Thread Kalliguddi, Hema
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, August 26, 2010 5:29 AM To: Kalliguddi, Hema Cc: linux-omap@vger.kernel.org; linux-...@vger.kernel.org; Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley Subject: Re: [PATCH 0/8

RE: [PATCH 0/8 v2]usb: musb: hwmod and runtime pm support for musb

2010-08-30 Thread Kalliguddi, Hema
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, August 26, 2010 5:29 AM To: Kalliguddi, Hema Cc: linux-omap@vger.kernel.org; linux-...@vger.kernel.org; Felipe Balbi; Tony Lindgren; Cousson, Benoit; Paul Walmsley Subject: Re: [PATCH 0/8

Re: Nagging free/reclaim gpio's

2010-08-30 Thread Felipe Balbi
Hi, On Mon, 30 Aug 2010 15:48:59 -0400, Philip Balister phi...@balister.org wrote: this is telling you, you have entered invalid arguments to gpio_unexport. I'm calling gpio_free, it must then be calling gpio_unexport for me ... yes, but please always keep the list in Cc. -- balbi -- To

Re: [PATCH 1/3] omap4 hsmmc : Adding card detect support for MMC1

2010-08-30 Thread Matt Fleming
On Mon, Aug 30, 2010 at 11:18:23PM +0530, kishore kadiyala wrote: Adding card detect callback function and card detect configuration function for MMC1 Controller. Card detect configuration function does initial configuration of the MMC Control PullUp-PullDown registers of Phoenix. For