[PATCH] mmc: omap: Fix a section warning regression

2012-05-28 Thread Tony Lindgren
Commit b6e0703b (mmc: omap: make it behave well as a module) made some __devinit changes but missed one function causing a section warning: WARNING: vmlinux.o(.devinit.text+0x8604): Section mismatch in reference from the function mmc_omap_probe) The function __devinit mmc_omap_probe() references

RE: Ftrace Timer on OMAP3

2012-05-28 Thread Hiremath, Vaibhav
On Fri, May 25, 2012 at 20:49:07, Thomas Klute wrote: Hi everyone, we're having some trouble getting useful results from Ftrace on OMAP3 (Gumstix Overo). As you can see in the example output below, function duration can't be displayed with a precision higher than about 30.5 us, which

Re: [PATCH] mmc: omap: Fix a section warning regression

2012-05-28 Thread Felipe Balbi
On Sun, May 27, 2012 at 11:53:47PM -0700, Tony Lindgren wrote: Commit b6e0703b (mmc: omap: make it behave well as a module) made some __devinit changes but missed one function causing a section warning: WARNING: vmlinux.o(.devinit.text+0x8604): Section mismatch in reference from the function

Re: Ftrace Timer on OMAP3

2012-05-28 Thread Ming Lei
On Mon, May 28, 2012 at 2:56 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: On Fri, May 25, 2012 at 20:49:07, Thomas Klute wrote: Hi everyone, we're having some trouble getting useful results from Ftrace on OMAP3 (Gumstix Overo). As you can see in the example output below, function duration

Re: [RFC PATCH 01/11] ARM: OMAP4: Remove un-used control module headers and defines.

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: From: Santosh Shilimkar santosh.shilim...@ti.com Most of the OMAP4 control module register defines are not used and can be removed. Keep only needed defines and move them to common control module header just like

Re: [RFC PATCH 02/11] ARM: OMAP: expose control.h to mach area

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch exposes the definitions under control.h to drivers outside the machine code. Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- After second thought, this complete header movement needs to

Re: [RFC PATCH 10/11] omap4: thermal: add basic CPU thermal zone

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:56 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch exposes OMAP4 thermal sensor as a thermal zone named cpu. Only thermal creation is done here. TODO:  - Add cooling bindings  - Add extrapolation rules Signed-off-by: Eduardo Valentin

Re: [RFC PATCH 10/11] omap4: thermal: add basic CPU thermal zone

2012-05-28 Thread Felipe Balbi
Hi, On Mon, May 28, 2012 at 03:03:26PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 1:56 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch exposes OMAP4 thermal sensor as a thermal zone named cpu. Only thermal creation is done here. TODO:  - Add cooling

Re: [PATCHv9 00/10] I2C fixes

2012-05-28 Thread Shubhrajyoti
Hi Kevin, On Saturday 26 May 2012 03:43 AM, Kevin Hilman wrote: Shubhrajyoti D shubhrajy...@ti.com writes: The patch series does the following - Warn fixes if CONFIG_PM_RUNTIME is not selected. - In case of i2c remove register access was done without any get_sync fix the same. - Folds a

Re: [RFC PATCH 05/11] mfd: omap: control: core system control driver

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch introduces a MFD core device driver for OMAP system control module. The control module allows software control of various static modes supported by the device. It is composed of two control

Re: [PATCHv9 00/10] I2C fixes

2012-05-28 Thread Shubhrajyoti
On Saturday 26 May 2012 05:10 AM, Kevin Hilman wrote: Shubhrajyoti, Can you add one more patch to this series. Yes will add it. Thanks, Shubhro The patch below from Neil Brown has been circulating for awhile, and I've been using it locally for awhile now too. It would help if it got into

Re: [RFC PATCH 04/11] OMAP: Add early device for system control module

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This is a way to add an early device for system control module. the code is also requesting for driver registration and probing. Done at early_initcall because at that time, ioremapping is possible.

Re: [PATCHv9 02/10] I2C: OMAP: Fix the mismatch of pm_runtime enable and disable

2012-05-28 Thread Shubhrajyoti
On Saturday 26 May 2012 03:27 AM, Kevin Hilman wrote: Looks right. Can you be more specific in the changelog about when the errors/warning happens? By the way the count cribs Unbalanced pm_runtime_enable! is what happens. I found it by review, I did the testing with this patch. Since there

Re: [RFC PATCH 06/11] OMAP2+: use control module mfd driver in omap_type

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 6:23 PM, Cousson, Benoit b-cous...@ti.com wrote: Hi Eduardo, On 5/25/2012 10:25 AM, Eduardo Valentin wrote: OMAP system control module can be probed early, then omap_type is safe to use its APIs. TODO: add support for other omap versions Signed-off-by: Eduardo

Re: [RFC PATCH 08/11] ARM: OMAP4+: Adding the temperature sensor register set bit fields

2012-05-28 Thread Shilimkar, Santosh
On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: OMAP4460 specific temperature sensor register bit fields are added. Existing OMAP4 entries are renamed to OMAP4430. Signed-off-by: Keerthy j-keer...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com

Re: [RFC PATCH 10/11] omap4: thermal: add basic CPU thermal zone

2012-05-28 Thread Valentin, Eduardo
Hello Santosh, On Mon, May 28, 2012 at 12:48 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, May 28, 2012 at 03:03:26PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 1:56 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch exposes OMAP4 thermal sensor as a thermal

Re: [RFC PATCH 02/11] ARM: OMAP: expose control.h to mach area

2012-05-28 Thread Valentin, Eduardo
Hello, On Mon, May 28, 2012 at 12:25 PM, Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch exposes the definitions under control.h to drivers outside the machine code. Signed-off-by: Eduardo

[PATCH] mmc: omap: Fix NULL pointer dereference if mmc_omap_new_slot() fails

2012-05-28 Thread Tony Lindgren
Commit b01a4f1c (mmc: omap: convert to per instance workqueue) initializes the workqueue too late causing the following: Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 5 [#1] SMP ARM Modules linked in:

Re: [RFC PATCH 09/11] ARM: OMAP4+: thermal: introduce bandgap temperature sensor

2012-05-28 Thread Eduardo Valentin
Hello Konstantin, On Fri, May 25, 2012 at 08:39:09PM +0400, Konstantin Baydarov wrote: Hi. On 05/25/2012 12:25 PM, Eduardo Valentin wrote: In the System Control Module, OMAP supplies a voltage reference and a temperature sensor feature that are gathered in the band gap voltage and

Re: [RFC PATCH 09/11] ARM: OMAP4+: thermal: introduce bandgap temperature sensor

2012-05-28 Thread Eduardo Valentin
Hello again, On Fri, May 25, 2012 at 05:49:44PM +0200, Cousson Benoit wrote: On 5/25/2012 10:25 AM, Eduardo Valentin wrote: big cut + +static const struct omap_bandgap_data omap4460_data = { +.has_talert = true, +.has_tshut = true, +.fclock_name = bandgap_ts_fclk, +

Re: [RFC PATCH 08/11] ARM: OMAP4+: Adding the temperature sensor register set bit fields

2012-05-28 Thread Eduardo Valentin
On Fri, May 25, 2012 at 05:13:26PM +0200, Cousson Benoit wrote: On 5/25/2012 10:25 AM, Eduardo Valentin wrote: OMAP4460 specific temperature sensor register bit fields are added. Existing OMAP4 entries are renamed to OMAP4430. Signed-off-by: Keerthyj-keer...@ti.com Signed-off-by: Eduardo

Re: [RFC PATCH 08/11] ARM: OMAP4+: Adding the temperature sensor register set bit fields

2012-05-28 Thread Eduardo Valentin
On Mon, May 28, 2012 at 03:34:28PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: OMAP4460 specific temperature sensor register bit fields are added. Existing OMAP4 entries are renamed to OMAP4430. Signed-off-by: Keerthy

Re: [PATCHv9 07/10] I2C: OMAP: Handle error check for pm runtime

2012-05-28 Thread Shubhrajyoti
On Saturday 26 May 2012 03:36 AM, Kevin Hilman wrote: +r = pm_runtime_get_sync(dev-dev); + if (r 0) + return r; nit: please use IS_ERR_VALUE() Will fix that and resend. Kevin -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: [RFC PATCH 06/11] OMAP2+: use control module mfd driver in omap_type

2012-05-28 Thread Eduardo Valentin
Hello, On Mon, May 28, 2012 at 03:32:50PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 6:23 PM, Cousson, Benoit b-cous...@ti.com wrote: Hi Eduardo, On 5/25/2012 10:25 AM, Eduardo Valentin wrote: OMAP system control module can be probed early, then omap_type is safe to

Re: [RFC PATCH 05/11] mfd: omap: control: core system control driver

2012-05-28 Thread Eduardo Valentin
Hello, On Fri, May 25, 2012 at 02:52:08PM +0200, Cousson Benoit wrote: On 5/25/2012 10:25 AM, Eduardo Valentin wrote: This patch introduces a MFD core device driver for OMAP system control module. The control module allows software control of various static modes supported by the device.

Re: [RFC PATCH 05/11] mfd: omap: control: core system control driver

2012-05-28 Thread Eduardo Valentin
Hello, On Mon, May 28, 2012 at 03:24:01PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch introduces a MFD core device driver for OMAP system control module. The control module allows software control of

Re: [RFC PATCH 05/11] mfd: omap: control: core system control driver

2012-05-28 Thread Shilimkar, Santosh
On Mon, May 28, 2012 at 5:12 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: Hello, On Mon, May 28, 2012 at 03:24:01PM +0530, Shilimkar, Santosh wrote: On Fri, May 25, 2012 at 1:55 PM, Eduardo Valentin eduardo.valen...@ti.com wrote: This patch introduces a MFD core device driver for

Regression for non-eMMC cards with commit fa550189?

2012-05-28 Thread Tony Lindgren
Hi Ulf Chris, Looks like commit fa550189 (mmc: core: Prevent eMMC VCC supply to be cut from late init) causes MMC card to stop working at least with n8x0 using drivers/mmc/host/omap.c. The card(s) on it are not eMMC. Reverting fa550189 makes things work again. Any ideas what could be causing

Re: tps65910

2012-05-28 Thread Mark Brown
On Fri, May 18, 2012 at 07:46:26PM +0300, Maxim Podbereznyy wrote: Thanks a lot! This code certainly can be used as a reference. I just wonder why it was not possible to rewrite tps65910 driver to comply with current twl interface? For example tps65910 API for the Eh? Both devices use the