[PATCH/RESEND #3 0/7] SmartReflex Patches

2011-11-15 Thread Felipe Balbi
Hi Tony, here's a bunch of patches to smartreflex which have been pending for months. Compile tested with omap2plus_defconfig + CONFIG_OMAP_SMARTREFLEX + CONFIG_OMAP_SMARTREFLEX_CLASS3. Felipe Balbi (6): arm: omap: smartreflex: add missing platform_set_drvdata() arm: omap: smartreflex: use

[PATCH/RESEND #3 1/7] OMAP3+: PM: SR: add suspend/resume handlers

2011-11-15 Thread Felipe Balbi
From: Nishanth Menon n...@ti.com SmartReflex should be disabled while entering low power mode due to the following reasons: a) SmartReflex values are not defined for retention voltage. b) With SmartReflex enabled, if the CPU enters low power state, FSM will try to bump the voltage to current

[PATCH/RESEND #3 2/7] arm: omap: smartreflex: add missing platform_set_drvdata()

2011-11-15 Thread Felipe Balbi
that's very useful to fetch the correct struct sr_info from PM handlers. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c

[PATCH/RESEND #3 4/7] arm: omap: smartreflex: move late_initcall() closer to its argument

2011-11-15 Thread Felipe Balbi
no functional changes, trivial patch. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index bb3bfc0..97375d2 100644 ---

[PATCH/RESEND #3 6/7] arm: omap: smartreflex: fix IRQ handling bug

2011-11-15 Thread Felipe Balbi
fix a bug which has been on this driver since it was added by the original commit 984aa6db which would never clear IRQSTATUS bits. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH/RESEND #3 7/7] arm: omap: smartreflex: micro-optimization for sanity check

2011-11-15 Thread Felipe Balbi
val (val != 1) == val 1 Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index a5399df..9fee277 100644 ---

[PATCH/RESEND #3 5/7] arm: omap: smartreflex: clean ups all over

2011-11-15 Thread Felipe Balbi
There are no functional changes here, only misc cleanups in general: tabifying variable declarations, converting if {} else if {} else {} into switch statements, etc. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c | 218 +++-- 1

[PATCH/RESEND #3 3/7] arm: omap: smartreflex: use dev_get_drvdata()

2011-11-15 Thread Felipe Balbi
When we need to fetch struct omap_sr on PM handlers, there's no need to access platform_data. Instead, we can use dev_get_drvdata(dev) like other drivers do. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/smartreflex.c | 51 ++-- 1 files

Re: [PATCH] OMAP2+: UART: Make the SERIAL_OMAP depend on ARCH_OMAP2PLUS

2011-11-15 Thread Russell King - ARM Linux
On Tue, Nov 15, 2011 at 11:57:40AM +0530, Shubhrajyoti D wrote: Making SERIAL_OMAP depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Acked-by: Felipe Balbi ba...@ti.com Suggested-by: Sricharan R r.sricha...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com There's another

Re: [PATCH] OMAP2+: UART: Make the SERIAL_OMAP depend on ARCH_OMAP2PLUS

2011-11-15 Thread Shubhrajyoti
On Tuesday 15 November 2011 02:36 PM, Russell King - ARM Linux wrote: On Tue, Nov 15, 2011 at 11:57:40AM +0530, Shubhrajyoti D wrote: Making SERIAL_OMAP depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Acked-by: Felipe Balbi ba...@ti.com Suggested-by: Sricharan R r.sricha...@ti.com

[PATCH] MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

2011-11-15 Thread Shubhrajyoti D
Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Reported-by: Russell King li...@arm.linux.org.uk Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/mtd/nand/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [RFC 0/5] OMAP groundwork for IOMMU-based DMA API

2011-11-15 Thread Roedel, Joerg
Hi Ohad, On Sun, Sep 25, 2011 at 06:58:52AM -0400, Ohad Ben-Cohen wrote: Ohad Ben-Cohen (5): ARM: dev_archdata: add private iommu extension ARM: OMAP: omap_device: add a method to set iommu private archdata ARM: OMAP: iommu: declare a private iommu binding struct ARM: OMAP3: bind

Re: [RFC 0/5] OMAP groundwork for IOMMU-based DMA API

2011-11-15 Thread Ohad Ben-Cohen
Hi Joerg, On Tue, Nov 15, 2011 at 12:39 PM, Roedel, Joerg joerg.roe...@amd.com wrote: It doesn't apply cleanly, can you please rebase the code, collect the Acked-by's and resend? Sure. I planned on resending after the hardware pgsize patches are merged, but please tell me if you prefer it the

Re: [RFC 0/5] OMAP groundwork for IOMMU-based DMA API

2011-11-15 Thread Roedel, Joerg
On Tue, Nov 15, 2011 at 12:45:33PM +0200, Ohad Ben-Cohen wrote: Hi Joerg, On Tue, Nov 15, 2011 at 12:39 PM, Roedel, Joerg joerg.roe...@amd.com wrote: It doesn't apply cleanly, can you please rebase the code, collect the Acked-by's and resend? Sure. I planned on resending after the

Re: [RFC 0/5] OMAP groundwork for IOMMU-based DMA API

2011-11-15 Thread Ohad Ben-Cohen
On Tue, Nov 15, 2011 at 1:10 PM, Roedel, Joerg joerg.roe...@amd.com wrote: It is almost merged :) I just had to struggle with some compile errors from upstream in my tests. But I think I will finish testing today and push everything out. ok great thanks :) -- To unsubscribe from this list:

Re: Help with clk API

2011-11-15 Thread Paul Walmsley
Hi Felipe On Fri, 11 Nov 2011, Felipe Balbi wrote: I have a doubt about using clk API to change CLKSEL_UTMI_P1 bit for a silicon errata (OMAP4460 i693) implementation. According to errata, I need to switch from external to internal clock during USB port suspend, wait 1ms and switch back

[PATCH v3 1/2] OMAPDSS: HDMI: Move duplicate code from boardfile

2011-11-15 Thread mythripk
From: Mythri P K mythr...@ti.com Move duplicate HDMI mux_init code from omap4 and panda board file to display file. Signed-off-by: Mythri P K mythr...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c| 16 +--- arch/arm/mach-omap2/board-omap4panda.c | 17 +

[PATCH v3 2/2] OMAPDSS: HDMI: Disable DDC internal pull up

2011-11-15 Thread mythripk
From: Mythri P K mythr...@ti.com Disables the internal pull resistor for SDA and SCL which are enabled by default, as there are expernal pull up's in 4460 and 4430 ES2.3 SDP, Blaze and Panda Boards, It is done to avoid the EDID read failure. Signed-off-by: Ricardo Salveti de Araujo

Re: [PATCH v4-rebased 0/7] iommu: split mapping to page sizes as supported by the hardware

2011-11-15 Thread Joerg Roedel
On Thu, Nov 10, 2011 at 11:32:24AM +0200, Ohad Ben-Cohen wrote: Ohad Ben-Cohen (7): iommu/core: stop converting bytes to page order back and forth iommu/core: split mapping to page sizes as supported by the hardware iommu/omap: announce supported page sizes iommu/msm: announce

Re: [PATCHv3 10/11] omap3+: use lp params for calculating clock setup times

2011-11-15 Thread Tero Kristo
Hi Kevin, Thanks for the comments and sorry for a bit late reply. I was busy with other stuff but can work on this again. Anyway, all your comments to all of the patches make sense, and I will apply the changes to the next version of the set, also merging some of the patches back together again.

Re: [PATCH] MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

2011-11-15 Thread Russell King - ARM Linux
On Tue, Nov 15, 2011 at 03:52:36PM +0530, Shubhrajyoti D wrote: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Reported-by: Russell King li...@arm.linux.org.uk Thanks, but please make this rmk+ker...@arm.linux.org.uk. Signed-off-by: Shubhrajyoti D

Re: [PATCH v16 09/12] OMAP: dmtimer: low-power mode support

2011-11-15 Thread Omar Ramirez Luna
Hi Tarun, On Tue, Sep 20, 2011 at 6:30 AM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: Clock is enabled only when timer is started and disabled when the the timer is stopped. Therefore before accessing registers in functions clock is enabled and then disabled back at the end of access.

[PATCH 0/4] mmc: logging neatening and mmc_host_level

2011-11-15 Thread Joe Perches
Joe Perches (4): mmc: Update logging style wbsd: Use current logging mmc: Logging neatening mmc: Add mmc_host_level logging drivers/mmc/card/block.c|4 +- drivers/mmc/card/mmc_test.c | 77 ++- drivers/mmc/card/queue.c|6 +-

[PATCH 1/4] mmc: Update logging style

2011-11-15 Thread Joe Perches
Convert pr_warning to pr_warn. Coalesce format strings. Align arguments. Add missing \n. Signed-off-by: Joe Perches j...@perches.com --- drivers/mmc/card/block.c |4 +- drivers/mmc/card/queue.c |6 +--- drivers/mmc/card/sdio_uart.c | 10 drivers/mmc/core/bus.c

Re: [PATCH/RESEND #3 5/7] arm: omap: smartreflex: clean ups all over

2011-11-15 Thread Valdis . Kletnieks
On Tue, 15 Nov 2011 10:46:03 +0200, Felipe Balbi said: - int srid; - int ip_type; + struct list_headnode; + struct platform_device *pdev; + struct omap_sr_nvalue_table *nvalue_table; +

Re: [PATCH 4/4] mmc: Add mmc_host_level logging

2011-11-15 Thread Joe Perches
On Wed, 2011-11-16 at 09:52 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: Centralize the pr_level uses of mmc_hostname into specific mmc_host_level calls to allow a flexible presentation style and shorten the code a bit. I don't know why pr_info should be surely

Re: [PATCH 4/4] mmc: Add mmc_host_level logging

2011-11-15 Thread NamJae Jeon
2011/11/16 Joe Perches j...@perches.com: On Wed, 2011-11-16 at 09:52 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: Centralize the pr_level uses of mmc_hostname into specific mmc_host_level calls to allow a flexible presentation style and shorten the code a bit. I

Re: [PATCH 4/4] mmc: Add mmc_host_level logging

2011-11-15 Thread Joe Perches
On Wed, 2011-11-16 at 10:14 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: On Wed, 2011-11-16 at 09:52 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: Centralize the pr_level uses of mmc_hostname into specific mmc_host_level calls to allow a

Re: [PATCH 3/4] mmc: Logging neatening

2011-11-15 Thread Joe Perches
On Wed, 2011-11-16 at 10:48 +0900, NamJae Jeon wrote: [123K of untrimmed reply] If you wrote something, I didn't find it. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 3/4] mmc: Logging neatening

2011-11-15 Thread Joe Perches
On Wed, 2011-11-16 at 10:55 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: On Wed, 2011-11-16 at 10:48 +0900, NamJae Jeon wrote: [123K of untrimmed reply] If you wrote something, I didn't find it. - dev_info(pdev-dev, DW MMC controller at irq %d, -

Re: [PATCH 3/4] mmc: Logging neatening

2011-11-15 Thread NamJae Jeon
2011/11/16 Joe Perches j...@perches.com: On Wed, 2011-11-16 at 10:55 +0900, NamJae Jeon wrote: 2011/11/16 Joe Perches j...@perches.com: On Wed, 2011-11-16 at 10:48 +0900, NamJae Jeon wrote: [123K of untrimmed reply] If you wrote something, I didn't find it. -      

Re: [PATCH 4/4] mmc: Add mmc_host_level logging

2011-11-15 Thread David Brown
On Tue, Nov 15, 2011 at 03:32:08PM -0800, Joe Perches wrote: Centralize the pr_level uses of mmc_hostname into specific mmc_host_level calls to allow a flexible presentation style and shorten the code a bit. drivers/mmc/host/msm_sdcc.c | 101 ++-

[PATCH] MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

2011-11-15 Thread Shubhrajyoti D
Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Reported-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/mtd/nand/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 2/4] OMAPDSS: HDMI: update static timing table

2011-11-15 Thread K, Mythri P
Hi Tomi, On Mon, Nov 14, 2011 at 12:50 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2011-11-11 at 18:39 +0530, mythr...@ti.com wrote: From: Mythri P K mythr...@ti.com Add the vsync polarity, hsync polarity, interlace to hdmi_video_timings. Remove the now duplicate structure

Re: [PATCH] MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

2011-11-15 Thread Shubhrajyoti
On Tuesday 15 November 2011 11:22 PM, Russell King - ARM Linux wrote: On Tue, Nov 15, 2011 at 03:52:36PM +0530, Shubhrajyoti D wrote: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of oring with ARCH2/3/4. Reported-by: Russell King li...@arm.linux.org.uk Thanks, but please make this

Re: [PATCH 4/4] mmc: Add mmc_host_level logging

2011-11-15 Thread NamJae Jeon
2011/11/16 Joe Perches j...@perches.com: Centralize the pr_level uses of mmc_hostname into specific mmc_host_level calls to allow a flexible presentation style and shorten the code a bit. Add mmc_host_level macros. Convert the logging calls from:        pr_level(%s: ..., mmc_hostname(foo)

Re: [PATCH 3/4] OMAPDSS: HDMI: change the timing match logic

2011-11-15 Thread K, Mythri P
On Mon, Nov 14, 2011 at 1:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2011-11-11 at 18:39 +0530, mythr...@ti.com wrote: From: Mythri P K mythr...@ti.com Change the timing match logic, Instead of the statically mapped method to get the corresponding timings for a given code and

Re: [PATCH v16 09/12] OMAP: dmtimer: low-power mode support

2011-11-15 Thread DebBarma, Tarun Kanti
On Tue, Nov 15, 2011 at 11:27 PM, Omar Ramirez Luna or.r...@gmail.com wrote: Hi Tarun, On Tue, Sep 20, 2011 at 6:30 AM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: Clock is enabled only when timer is started and disabled when the the timer is stopped. Therefore before accessing registers

[PATCH] I2C: OMAP: fix the clearing of interrupts

2011-11-15 Thread Shubhrajyoti D
The register IRQENABLE_CLR is a bit map of interrupt events. All the bits have to be cleared to clear the interrupts. Signed-off-by: Vikram Pandita vikram.pand...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/i2c/busses/i2c-omap.c |2 +- 1 files changed, 1