Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Shubhrajyoti
On Thursday 13 September 2012 11:34 AM, Shubhrajyoti wrote: > > At least on 3530/Overo and 3730/Overo, CORE no longer hits retenion (or > > off) during idle. I dont have an Overo, anyways will see if I can get one However on beagleXm even off count increases / # grep "^core_pwrdm" /debug/pm_deb

Re: [PATCH v2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-12 Thread Linus Walleij
On Wed, Sep 12, 2012 at 10:27 PM, Tony Lindgren wrote: > * Peter Ujfalusi [120911 01:54]: >> With pinctrl-single,bits it is possible to update just part of the register >> within the pinctrl-single,function-mask area. >> This is useful when one register configures mmore than one pin's mux. > >>

[PATCH V2] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-12 Thread Hebbar, Gururaja
From: Vaibhav Bedia In some cases mmc_suspend_host() is not able to claim the host and proceed with the suspend process. The core returns -EBUSY to the host controller driver. Unfortunately, the host controller driver does not pass on this information to the PM core and hence the system suspend p

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Felipe Balbi
Hi, On Thu, Sep 13, 2012 at 11:34:48AM +0530, Shubhrajyoti wrote: > On Thursday 13 September 2012 03:57 AM, Kevin Hilman wrote: > > Shubhrajyoti D writes: > > > > [...] > > > >> This is the cleanup only series. > >> > >> Tested on omap4sdp and 3430sdp. > > It would be extremely helpful if you

RE: [PATCH 2/2] arm/dts: AM33XX: Add device tree OPP table

2012-09-12 Thread AnilKumar, Chimata
On Wed, Sep 12, 2012 at 22:51:55, Cousson, Benoit wrote: > + Paul > > Hi Anil, > > On 08/31/2012 11:37 AM, AnilKumar Ch wrote: > > Add DT OPP table for AM33XX family of devices. This data is > > decoded by OF with of_init_opp_table() helper function. > > > > Also adds cpu0 supply name to the cor

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Shubhrajyoti
On Thursday 13 September 2012 03:57 AM, Kevin Hilman wrote: > Shubhrajyoti D writes: > > [...] > >> This is the cleanup only series. >> >> Tested on omap4sdp and 3430sdp. > It would be extremely helpful if you would describe how this was tested. > And for me, it would be a source of extreme joy

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Felipe Balbi
On Wed, Sep 12, 2012 at 03:27:22PM -0700, Kevin Hilman wrote: > Shubhrajyoti D writes: > > [...] > > > > > This is the cleanup only series. > > > > Tested on omap4sdp and 3430sdp. > > It would be extremely helpful if you would describe how this was tested. > And for me, it would be a source

Re: [PATCH v4 00/21] OMAP UART Patches

2012-09-12 Thread Felipe Balbi
On Wed, Sep 12, 2012 at 08:25:30PM +, Paul Walmsley wrote: > Hi > > On Wed, 12 Sep 2012, Felipe Balbi wrote: > > > On Tue, Sep 11, 2012 at 10:02:48PM +, Paul Walmsley wrote: > > > > > The bad news is that N800 no longer boots -- or the UART dies during > > > serial init: > > > > > > ht

Re: [GIT PULL] ARM: OMAP: omap_device updates for v3.7

2012-09-12 Thread Tony Lindgren
* Kevin Hilman [120912 13:22]: > Tony, > > Please pull the following omap_device changes for v3.7. This was a > collaboration between myself and Paul. > > Thanks, > > Kevin > > The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: > > Linux 3.6-rc1 (2012-08-02 16:38:

Re: [GIT PULL v2] ARM: AM33xx: hwmod/clock: add hwmod data and some clock/hwmod fixes for 3.7

2012-09-12 Thread Tony Lindgren
* Paul Walmsley [120912 16:46]: > Hi Tony > > The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: > > Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git > tag

Re: [GIT PULL] ARM: OMAP2+: clean up smatch warnings and unwrap strings, for 3.7

2012-09-12 Thread Tony Lindgren
* Paul Walmsley [120912 08:09]: > Hi Tony, > > The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: > > Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git > ta

Re: [GIT PULL] ARM: OMAP2+: some Makefile cleanup for 3.7

2012-09-12 Thread Tony Lindgren
* Paul Walmsley [120912 02:13]: > Hi Tony, > > The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: > > Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git > ta

Re: [PATCH v5 2/2] OMAP:IOMMU:flush L1 and L2 caches

2012-09-12 Thread Gupta, Ramesh
Hi Russell, On Wed, Sep 12, 2012 at 10:11 PM, Russell King - ARM Linux wrote: > On Wed, Sep 12, 2012 at 08:49:16PM +0530, Gupta, Ramesh wrote: >> Thanks to the RMK's suggestions. > > I should've made clear the distinction between _range and _area. > A _range function takes start and end. An _ar

Re: [PATCH V3 1/8] ARM: OMAP3: Add debugss HWMOD data

2012-09-12 Thread Jon Hunter
Oops meant to have Paul on the TO! Jon On 09/10/2012 10:23 AM, Jon Hunter wrote: > To enable PMU with runtime PM support on OMAP3 devices we need to be able to > dynamically enable and disable the debug sub-system at runtime. By adding > HWMOD > data for the debug sub-system for OMAP3, we can bui

Re: [PATCH 08/10] ARM: OMAP: Clean-up timer posted mode support

2012-09-12 Thread Jon Hunter
On 09/11/2012 11:34 AM, Tony Lindgren wrote: > * Jon Hunter [120911 09:26]: >> >> On 09/10/2012 07:58 PM, Tony Lindgren wrote: >>> * Jon Hunter [120910 15:00]: On 09/07/2012 05:22 PM, Tony Lindgren wrote: > * Jon Hunter [120905 12:05]: >> The dmtimer functions to read and writ

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-12 Thread Paul E. McKenney
On Wed, Sep 12, 2012 at 10:51:30PM +, Paul Walmsley wrote: > > Hi Paul > > Recently several of us have been seeing "INFO: rcu_sched self-detected > stall on CPU { 0} (t=20611 jiffies)" stack tracebacks on various OMAP3 > and 4 board. > > I only noticed it during v3.6-rc3, but I suspect it's

Re: [PATCH v6 0/7] ARM: OMAP2+: PM: introduce the power domains functional states

2012-09-12 Thread Kevin Hilman
Jean Pihet writes: > Here is a re-spin after some comments and suggestions after review > and discussions. > > Implement the functional states for the power domains: > - unify the API to use the functional states. The new API > consists of the pwrdm_set*_fpwrst and pwrdm_read*_fpwrst > functi

Re: [PATCH 4/7] ARM: OMAP2+: PM: use power domain functional state in stats counters

2012-09-12 Thread Kevin Hilman
Jean Pihet writes: > The PM code uses some counters to keep track of the power domains > transitions, in order to provide the information to drivers (in > pwrdm_get_context_loss_count) and to expose the information to > sysfs for debug purpose. nit: this is part of debugfs, not sysfs Otherwise,

Re: [PATCH 2/2] ARM: AM33XX: hwmod: Add OMAP_INTC_START offset to all module int nos

2012-09-12 Thread Paul Walmsley
Hi On Wed, 12 Sep 2012, Tony Lindgren wrote: > * Vaibhav Hiremath [120912 14:17]: > > With recent migration of omap architectures to SPARSE_IRQ framework, > > it is important to add OMAP_INTC_START to all interrupt numbers > > which will be eventually requested by drivers. > > > > This is requi

Re: [PATCH 7/7] ARM: OMAP2+: PM: reorganize the powerdomain API in public and private parts

2012-09-12 Thread Kevin Hilman
Jean Pihet writes: > The newly added code for functional power states re-defines the > API to query and control the power domains settings. > > The API is now split in the following parts in powerdomain.h: > - the public or external API, to be used by external PM components: > cpuidle, suspend,

[PATCH v2 1/2] OMAP: mailbox: add device tree support

2012-09-12 Thread Omar Ramirez Luna
Adapt driver to use DT if provided. Signed-off-by: Omar Ramirez Luna --- .../devicetree/bindings/arm/omap/mailbox.txt |9 + arch/arm/mach-omap2/devices.c |3 +++ arch/arm/mach-omap2/mailbox.c | 12 3 files changed, 24

[PATCH v2 2/2] arm/dts: OMAP2+: Add mailbox nodes

2012-09-12 Thread Omar Ramirez Luna
Add nodes for mailbox DT, to interface with hwmods. Signed-off-by: Omar Ramirez Luna Acked-by: Benoit Cousson --- arch/arm/boot/dts/omap2.dtsi |5 + arch/arm/boot/dts/omap3.dtsi |5 + arch/arm/boot/dts/omap4.dtsi |5 + 3 files changed, 15 insertions(+) diff --git a/arch

[PATCH v2 0/2] OMAP: mailbox initial device tree support

2012-09-12 Thread Omar Ramirez Luna
To allow mailbox driver to function with device tree. Tested in OMAP4 and OMAP3. OMAP2 untested. Patch: arm/dts: OMAP2+: Add mailbox nodes, was Acked by Benoit however it seems it wasn't picked up, so resend. http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69121.html Patch: OMAP: mail

[PATCH v2 0/2] OMAP: mailbox initial device tree support

2012-09-12 Thread Omar Ramirez Luna
To allow mailbox driver to function with device tree. Tested in OMAP4 and OMAP3. OMAP2 untested. Patch: arm/dts: OMAP2+: Add mailbox nodes, was Acked by Benoit however it seems it wasn't picked up, so resend. http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69121.html Patch: OMAP: mail

Re: [PATCH 5/7] ARM: OMAP2+: PM debug: trace the functional power domains states

2012-09-12 Thread Kevin Hilman
Jean Pihet writes: > Trace the power domain transitions using the functional power states, > which include the power and logic states. Just to be clear, this means that a trace will only contain functional power state changes, not logical ones, correct? > While at it, fix the trace in the case

[GIT PULL v2] ARM: AM33xx: hwmod/clock: add hwmod data and some clock/hwmod fixes for 3.7

2012-09-12 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tony The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git tags/omap

Re: [PATCHv7 07/12] ARM: OMAP4: PM: put all domains to OSWR during suspend

2012-09-12 Thread Kevin Hilman
Paul Walmsley writes: [...] > > It kind of looks to me like there are two or three separate sets within > the series. My feeling is that Kevin should take the first two, then I > should take the rest other than 6 and 7. Then once those are queued, > we can pull in 6 and 7. Does that make s

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Kevin Hilman
Kevin Hilman writes: > Wolfram Sang writes: > >> On Wed, Sep 12, 2012 at 04:27:54PM +0530, Shubhrajyoti D wrote: > > [...] > >>> This is the cleanup only series. >>> >>> Tested on omap4sdp and 3430sdp. >>> >>> The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: >>>

Re: [PATCHv8 21/22] i2c: omap: switch over to autosuspend API

2012-09-12 Thread Kevin Hilman
Shubhrajyoti D writes: > From: Felipe Balbi > > this helps us reduce unnecessary pm transitions > in case we have another i2c message starting soon. > > Signed-off-by: Felipe Balbi > Signed-off-by: Shubhrajyoti D I tracked the PM regression down to this patch. > --- > drivers/i2c/busses/i2c

rcu self-detected stall messages on OMAP3, 4 boards

2012-09-12 Thread Paul Walmsley
Hi Paul Recently several of us have been seeing "INFO: rcu_sched self-detected stall on CPU { 0} (t=20611 jiffies)" stack tracebacks on various OMAP3 and 4 board. I only noticed it during v3.6-rc3, but I suspect it's been happening for users at least since May: http://www.mail-archive.com/linu

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Kevin Hilman
Wolfram Sang writes: > On Wed, Sep 12, 2012 at 04:27:54PM +0530, Shubhrajyoti D wrote: [...] >> This is the cleanup only series. >> >> Tested on omap4sdp and 3430sdp. >> >> The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: >> >> Linux 3.6-rc5 (2012-09-08 16:43:

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Kevin Hilman
Shubhrajyoti D writes: [...] > > This is the cleanup only series. > > Tested on omap4sdp and 3430sdp. It would be extremely helpful if you would describe how this was tested. And for me, it would be a source of extreme joy if you described any PM testing. I gave this some additional PM test

Re: [PATCH v9 1/3] ARM: OMAP2/3: hwmod data: add gpmc

2012-09-12 Thread Paul Walmsley
Hi On Tue, 11 Sep 2012, Afzal Mohammed wrote: > Add gpmc hwmod and associated interconnect data > > Signed-off-by: Afzal Mohammed So this adds HWMOD_INIT_NO_RESET across all the GPMC hwmods: > + .flags = HWMOD_INIT_NO_IDLE | > + HWMOD_INIT_NO_RESET | >

RE: [PATCH 2/2] ARM: AM33XX: hwmod: Add OMAP_INTC_START offset to all module int nos

2012-09-12 Thread Hiremath, Vaibhav
On Thu, Sep 13, 2012 at 03:22:32, Tony Lindgren wrote: > * Vaibhav Hiremath [120912 14:17]: > > With recent migration of omap architectures to SPARSE_IRQ framework, > > it is important to add OMAP_INTC_START to all interrupt numbers > > which will be eventually requested by drivers. > > > > This

Re: [PATCH 1/2] ARM: AM33XX: hwmod: Remove platform specific header files

2012-09-12 Thread Tony Lindgren
* Vaibhav Hiremath [120912 14:16]: > With recent mainline changes on gpio and mcspi drivers, the > platform specific header files (plat/gpio.h and plat/mcspi.h) > have been removed, which results into build failure on > AM33XX hwmod data, which was still using these headers. > > This patch remove

Re: [PATCH 2/2] ARM: AM33XX: hwmod: Add OMAP_INTC_START offset to all module int nos

2012-09-12 Thread Tony Lindgren
* Vaibhav Hiremath [120912 14:17]: > With recent migration of omap architectures to SPARSE_IRQ framework, > it is important to add OMAP_INTC_START to all interrupt numbers > which will be eventually requested by drivers. > > This is required in order to get AM33XX boot functionality. > > Signed-

Re: [PATCHv7 06/12] ARM: OMAP4: suspend: Program all domains to retention

2012-09-12 Thread Kevin Hilman
Tero Kristo writes: > From: Rajendra Nayak > > Remove the FIXME's in the suspend sequence since > we now intend to support system level RET support. > > Signed-off-by: Rajendra Nayak > Signed-off-by: Tero Kristo > [Jean Pihet : ported on top of the functional power > states] > Reviewed-by: San

Re: [PATCHv7 04/12] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count

2012-09-12 Thread Paul Walmsley
Hi Well, anyway. This patch had some other issues that were found upon a closer inspection: - it adds a new 'hwmod_ops' set of function pointers rather than using the existing 'soc_ops' mechanism - it returns an unsigned int as a signed integer -- not sure why static analysis didn't catch th

[PATCH 0/2] ARM: AM33XX: hwmod: Minor fixes for v3.7

2012-09-12 Thread Vaibhav Hiremath
Today Paul had given pull request for AM33XX hwmod data and related patches, and I wanted to make sure that things are working fine irrespective of merge window changes coming in. I without adding any further delay I tried the pull request on linux-next/master (-rc6) linux-omap/master (-rc4 + omap

[PATCH 2/2] ARM: AM33XX: hwmod: Add OMAP_INTC_START offset to all module int nos

2012-09-12 Thread Vaibhav Hiremath
With recent migration of omap architectures to SPARSE_IRQ framework, it is important to add OMAP_INTC_START to all interrupt numbers which will be eventually requested by drivers. This is required in order to get AM33XX boot functionality. Signed-off-by: Vaibhav Hiremath Cc: Paul Walmsley ---

[PATCH 1/2] ARM: AM33XX: hwmod: Remove platform specific header files

2012-09-12 Thread Vaibhav Hiremath
With recent mainline changes on gpio and mcspi drivers, the platform specific header files (plat/gpio.h and plat/mcspi.h) have been removed, which results into build failure on AM33XX hwmod data, which was still using these headers. This patch removes such both gpio and spi header file entry from

RE: [GIT PULL] ARM: OMAP2+: PRCM/hwmod: some fixes for 3.6-rc

2012-09-12 Thread Hiremath, Vaibhav
On Thu, Sep 13, 2012 at 01:44:33, Paul Walmsley wrote: > On Wed, 12 Sep 2012, Hiremath, Vaibhav wrote: > > > On Wed, Sep 12, 2012 at 21:35:04, Paul Walmsley wrote: > > > > > http://marc.info/?l=linux-omap&m=13474656102&w=2 > > > > Just for my understanding, is this pull request you created

Re: [PATCH] perf: Use raw_smp_processor_id insted of smp_processor_id

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 11:44:29AM -0700, Stephen Boyd wrote: > On 09/12/12 05:05, Russell King - ARM Linux wrote: > > NAK. Using a different function which doesn't have the warning isn't a > > subsitute for fixing the problem properly. What you're doing is papering > > over the bug, making the w

Re: [PATCH v2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-12 Thread Tony Lindgren
* Peter Ujfalusi [120911 01:54]: > With pinctrl-single,bits it is possible to update just part of the register > within the pinctrl-single,function-mask area. > This is useful when one register configures mmore than one pin's mux. > size /= sizeof(*mux); /* Number of elements in array */

Re: [PATCH v4 00/21] OMAP UART Patches

2012-09-12 Thread Paul Walmsley
Hi On Wed, 12 Sep 2012, Felipe Balbi wrote: > On Tue, Sep 11, 2012 at 10:02:48PM +, Paul Walmsley wrote: > > > The bad news is that N800 no longer boots -- or the UART dies during > > serial init: > > > > http://www.pwsan.com/omap/testlogs/test_tty_next_e36851d0/20120910020323/boot/2420n80

[GIT PULL] ARM: OMAP: omap_device updates for v3.7

2012-09-12 Thread Kevin Hilman
Tony, Please pull the following omap_device changes for v3.7. This was a collaboration between myself and Paul. Thanks, Kevin The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: gi

RE: [GIT PULL] ARM: OMAP2+: PRCM/hwmod: some fixes for 3.6-rc

2012-09-12 Thread Paul Walmsley
On Wed, 12 Sep 2012, Hiremath, Vaibhav wrote: > On Wed, Sep 12, 2012 at 21:35:04, Paul Walmsley wrote: > > > http://marc.info/?l=linux-omap&m=13474656102&w=2 > > Just for my understanding, is this pull request you created based on > l-o/master? Or other baseline? That information is in th

Re: [PATCHv7 10/12] ARM: OMAP4: HWMOD: add support for lostcontext_mask

2012-09-12 Thread Paul Walmsley
On Thu, 19 Jul 2012, Tero Kristo wrote: > Currently hwmod only provides the offset for the context lose register, > and if we attempt to share the same register between two or more hwmods, > the resulting context loss counts get wrong. Thus, we need a way to > specify which bits are used for the c

Re: [PATCHv7 05/12] ARM: OMAP4: pwrdm: add support for reading prev logic and mem states

2012-09-12 Thread Paul Walmsley
On Thu, 19 Jul 2012, Tero Kristo wrote: > On OMAP4, there is no support to read previous logic state > or previous memory state achieved when a power domain transitions > to RET. Instead there are module level context registers. > > In order to support the powerdomain level logic/mem_off_counters

[PATCH v2 2/9] ARM: OMAP3: hwmod data: add mmu data for iva and isp

2012-09-12 Thread Omar Ramirez Luna
Add mmu hwmod data for iva and isp. Due to compatibility an ifdef CONFIG_OMAP_IOMMU_IVA2 needs to be propagated (previously on iommu resource info) to hwmod data in OMAP3, so users of iommu and tidspbridge can avoid issues of two modules managing mmu data/irqs/resets; this until tidspbridge can be

Re: [PATCHv7 04/12] ARM: OMAP: hwmod: Add support for per hwmod/module context lost count

2012-09-12 Thread Paul Walmsley
On Thu, 19 Jul 2012, Tero Kristo wrote: > From: Rajendra Nayak > > OMAP4 has module specific context lost registers which makes it now > possible to have module level context loss count, instead of relying > on the powerdomain level context count. > > Add 2 private hwmod api's to update/clear t

[PATCH v2 3/9] ARM: OMAP4: hwmod data: add mmu hwmod for ipu and dsp

2012-09-12 Thread Omar Ramirez Luna
Add mmu hwmod data for ipu and dsp. Cc: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 136 +++- 1 file changed, 134 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach

[PATCH v2 6/9] ARM: OMAP: iommu: pm runtime save and restore context

2012-09-12 Thread Omar Ramirez Luna
Save and restore context during pm runtime transitions. For now, the previous API for this purpose will trigger pm runtime functions, and will be left as exported symbol for compatibility with it's only user. Signed-off-by: Omar Ramirez Luna --- drivers/iommu/omap-iommu.c | 29 +++

[PATCH v2 1/9] ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected

2012-09-12 Thread Omar Ramirez Luna
If included without IOMMU_API being selected it will break compilation: arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu': arch/arm/plat-omap/include/plat/iommu.h:148: error: 'struct dev_archdata' has no member named 'iommu' This will be seen when hwmod incl

[PATCH v2 4/9] ARM: OMAP3/4: iommu: migrate to hwmod framework

2012-09-12 Thread Omar Ramirez Luna
Use hwmod data and device attributes to build and register an omap device for iommu driver. - Update the naming convention in isp module. - Remove unneeded check for number of resources, as this is now handled by omap_device and prevents driver from loading. - Now unused, remove platform dev

[PATCH v2 5/9] ARM: OMAP3/4: iommu: adapt to runtime pm

2012-09-12 Thread Omar Ramirez Luna
Use runtime PM functionality interfaced with hwmod enable/idle functions, to replace direct clock operations and sysconfig handling. Dues to reset sequence, pm_runtime_put_sync must be used, to avoid possible operations with the module under reset. Signed-off-by: Omar Ramirez Luna --- arch/arm/

[PATCH v2 7/9] ARM: OMAP: iommu: optimize save and restore routines

2012-09-12 Thread Omar Ramirez Luna
These functions save and restore registers irrespectively of their read or write permissions, this ends up in registers being saved that can't be restored because of read only attributes. OTOH, so far only 3 of them need to be saved. In future GP_REG (which is present only on OMAP4 ipu) needs to b

[PATCH v2 9/9] arm/dts: OMAP3/4: Add iommu nodes

2012-09-12 Thread Omar Ramirez Luna
Add nodes for iommu DT, to interface with hwmods. Cc: Grant Likely Cc: Rob Herring Cc: Benoit Cousson Signed-off-by: Omar Ramirez Luna --- arch/arm/boot/dts/omap3.dtsi | 12 +++- arch/arm/boot/dts/omap4.dtsi | 17 - 2 files changed, 27 insertions(+), 2 deletions(-)

Re: [PATCHv7 03/12] ARM: OMAP4: hwmod: flag hwmods/modules not supporting module level context status

2012-09-12 Thread Paul Walmsley
Hi Tero, On Thu, 19 Jul 2012, Tero Kristo wrote: > On OMAP4 most modules/hwmods support module level context status. On > OMAP3 and earlier, we relied on the power domain level context status. > Identify all modules that don't support 'context_offs' by marking the > offset as USHRT_MAX. Rest have

[PATCH v2 8/9] ARM: OMAP: iommu: add device tree support

2012-09-12 Thread Omar Ramirez Luna
Adapt driver to use DT if provided. Signed-off-by: Omar Ramirez Luna --- .../devicetree/bindings/arm/omap/iommu.txt | 10 +++ arch/arm/mach-omap2/omap-iommu.c |4 ++ drivers/iommu/omap-iommu.c | 65 +++- 3 files changed, 7

[PATCH v2 0/9] OMAP: iommu: hwmod, reset handling and runtime PM

2012-09-12 Thread Omar Ramirez Luna
These patches are needed for remoteproc to work on OMAP4. Introduced iommu hwmod support for OMAP3 (iva, isp) and OMAP4 (ipu, dsp), along with the corresponding runtime PM and routines to deassert reset lines, enable/disable clocks and configure sysc registers. Due to compatibility an ifdef needs

Re: [PATCH] perf: Use raw_smp_processor_id insted of smp_processor_id

2012-09-12 Thread Stephen Boyd
On 09/12/12 05:05, Russell King - ARM Linux wrote: > NAK. Using a different function which doesn't have the warning isn't a > subsitute for fixing the problem properly. What you're doing is papering > over the bug, making the warning go away without properly understanding > the problem. > > The w

Re: [GIT PULL] ARM: AM33xx: hwmod/clock: add hwmod data and some clock/hwmod fixes for 3.7

2012-09-12 Thread Paul Walmsley
On Wed, 12 Sep 2012, Vaibhav Hiremath wrote: > On 9/12/2012 9:30 PM, Paul Walmsley wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Hi Tony, > > > > The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: > > > > Linux 3.6-rc5 (2012-09-08 16:43:45 -070

Re: [GIT PULL] ARM: AM33xx: hwmod/clock: add hwmod data and some clock/hwmod fixes for 3.7

2012-09-12 Thread Vaibhav Hiremath
On 9/12/2012 9:30 PM, Paul Walmsley wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Tony, > > The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: > > Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) > > are available in the git repository at: > > git://g

Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-12 Thread Pihet-XID, Jean
On Wed, Sep 12, 2012 at 7:15 PM, Arnd Bergmann wrote: > On Wednesday 12 September 2012, Pihet-XID, Jean wrote: >> > diff --git a/arch/arm/plat-omap/include/plat/voltage.h >> > b/include/linux/platform_data/smartreflex-omap.h >> > similarity index 100% >> > rename from arch/arm/plat-omap/include/p

Re: [PATCH 2/2] arm/dts: AM33XX: Add device tree OPP table

2012-09-12 Thread Benoit Cousson
+ Paul Hi Anil, On 08/31/2012 11:37 AM, AnilKumar Ch wrote: > Add DT OPP table for AM33XX family of devices. This data is > decoded by OF with of_init_opp_table() helper function. > > Also adds cpu0 supply name to the corresponding dts files. > cpu0-supply name is used by cpufreq-cpu0 driver to

Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-12 Thread Arnd Bergmann
On Tuesday 11 September 2012, Peter Ujfalusi wrote: > OMAP McBSP has nothing to do with a dsp. > A better name would be: ti-mcbsp.h (or leave it as mcbsp.h) > McBSP stands for: Multichannel Buffered Serial Port and it is used for audio > connection (I2S, TDM, etc). changed to asoc-ti-mcbsp.h to, a

Re: [PATCH V2] arm/dts: Add omap3-beagle.dts

2012-09-12 Thread Benoit Cousson
Hi Jon, On 09/11/2012 06:01 PM, Jon Hunter wrote: > Add a minimal dts for original OMAP3430/3530 version of the Beagle board. This > version of the Beagle board has 256MB of DDR and features the same TWL4030 > power management IC (PMIC) as the Beagle board XM. > > Given that the Beagle and Beagle

Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-12 Thread Arnd Bergmann
On Wednesday 12 September 2012, Pihet-XID, Jean wrote: > > diff --git a/arch/arm/plat-omap/include/plat/voltage.h > > b/include/linux/platform_data/smartreflex-omap.h > > similarity index 100% > > rename from arch/arm/plat-omap/include/plat/voltage.h > > rename to include/linux/platform_data/smart

Re: [PATCH v5 2/2] OMAP:IOMMU:flush L1 and L2 caches

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 08:49:16PM +0530, Gupta, Ramesh wrote: > Thanks to the RMK's suggestions. I should've made clear the distinction between _range and _area. A _range function takes start and end. An _area function takes a start and size. So... > -static void flush_iopgd_range(u32 *first,

Re: [PATCH v9 3/3] ARM: OMAP2+: gpmc: minimal driver support

2012-09-12 Thread Paul Walmsley
Hi On Tue, 11 Sep 2012, Afzal Mohammed wrote: > Create a minimal driver out of gpmc code. > Responsibilities handled by earlier gpmc > initialization is now achieved in probe. > > Signed-off-by: Afzal Mohammed > Reviewed-by: Jon Hunter Two checkpatch warnings are added by this patch: CHECK:

RE: [GIT PULL] ARM: OMAP2+: PRCM/hwmod: some fixes for 3.6-rc

2012-09-12 Thread Hiremath, Vaibhav
On Wed, Sep 12, 2012 at 21:35:04, Paul Walmsley wrote: > On Fri, 7 Sep 2012, Vaibhav Hiremath wrote: > > > Isn't below patch good for -rc candidate (so as part of this 'fixes')? > > > > ARM: OMAP2+: dpll: Add missing soc_is_am33xx() check for common functions > > > > https://patchwork.kernel.org

Re: [GIT PULL] ARM: OMAP2+: PRCM/hwmod: some fixes for 3.6-rc

2012-09-12 Thread Paul Walmsley
On Fri, 7 Sep 2012, Vaibhav Hiremath wrote: > Isn't below patch good for -rc candidate (so as part of this 'fixes')? > > ARM: OMAP2+: dpll: Add missing soc_is_am33xx() check for common functions > > https://patchwork.kernel.org/patch/1371611/ It was queued for 3.7 because it didn't seem critica

[GIT PULL] ARM: AM33xx: hwmod/clock: add hwmod data and some clock/hwmod fixes for 3.7

2012-09-12 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tony, The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git tags/oma

[PATCH v5 2/2] OMAP:IOMMU:flush L1 and L2 caches

2012-09-12 Thread Gupta, Ramesh
>From d78ddb5b0dffed3fd77e6e010735e869ea41b02f Mon Sep 17 00:00:00 2001 From: Ramesh Gupta G Date: Wed, 12 Sep 2012 19:05:29 +0530 Subject: [PATCH v5 2/2] OMAP:IOMMU:flush L1 and L2 caches OMAP IOMMU need to make sure that data in the L1 and L2 caches is visible to the MMU hardware whenever the p

Re: [PATCH] ARM: OMAP2+: dpll: Add missing soc_is_am33xx() check for common functions

2012-09-12 Thread Paul Walmsley
On Fri, 24 Aug 2012, Vaibhav Hiremath wrote: > Add missing soc_is_am33xx() check for DPLL common control & clock > related functions, without this dpll programmability would be broken > for am33xx family of devices. > > Signed-off-by: Vaibhav Hiremath > Cc: Rajendra Nayak > Cc: Paul Walmsley >

[PATCH v5 1/2] ARM: new cache maintenance api for iommu

2012-09-12 Thread Gupta, Ramesh
>From 76b3ef08a73df3d14db30ffd1ff73db343954da1 Mon Sep 17 00:00:00 2001 From: Ramesh Gupta G Date: Wed, 12 Sep 2012 13:07:26 +0530 Subject: [PATCH v5 1/2] ARM: new cache maintenance api for iommu Non-coherent IOMMU drivers need to make sure that the data held in the caches is available for the sl

[PATCH v5 0/2] ARM: New cache API for iommu

2012-09-12 Thread Gupta, Ramesh
>From 7d2c3436a9225b774be1eeede599c7d5bfc4c9d0 Mon Sep 17 00:00:00 2001 From: Ramesh Gupta G Date: Wed, 12 Sep 2012 19:22:43 +0530 Subject: [PATCH v5 0/2] ARM: New cache API for iommu This patch series is the next version to - add a new cache maintenance api to support non-coherent iommu drivers.

[GIT PULL] ARM: OMAP2+: clean up smatch warnings and unwrap strings, for 3.7

2012-09-12 Thread Paul Walmsley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tony, The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending.git tags/oma

Re: [PATCH] CPUFreq: OMAP: remove unnecessary plat/ includes

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 7:27 PM, Kevin Hilman wrote: > "Shilimkar, Santosh" writes: > >> On Wed, Sep 12, 2012 at 6:02 AM, Paul Walmsley wrote: >>> >>> Remove some unnecessary plat/ includes that are interfering with >>> multi-subarch >>> ARM kernels. >>> >>> Signed-off-by: Paul Walmsley >>> Cc

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 06:50:00PM +0530, R, Sricharan wrote: > Hi, > On Wed, Sep 12, 2012 at 6:27 PM, Shilimkar, Santosh > wrote: > > On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: > >> > >> On 9/12/2012 1:50 AM, R Sricharan wrote: > >>> > >>> Even if CONFIG_DMA_ADDR_64BIT_T is enable

Re: [PATCHv7 00/23]I2C big cleanup

2012-09-12 Thread Shubhrajyoti Datta
On Wed, Sep 12, 2012 at 7:14 PM, Wolfram Sang wrote: > On Wed, Sep 12, 2012 at 12:18:50PM +0200, Wolfram Sang wrote: >> >> > I donot see the warning. Am I missing something? >> >> I deleted my logfiles already. Ignore it for now, if it comes up again >> with your new series, I will give a more det

[PATCH] ARM: OMAP: rx51: Fix a section mismatch warn

2012-09-12 Thread Shubhrajyoti D
rx51_si4713_dev is referenced only from rx51_init_si4713. So the memory for rx51_si4713_dev can be safely freed after init. Also it references rx51_si4713_board_info which is __initdata_or_module. fixes the below warning. WARNING: vmlinux.o(.data+0x30958): Section mismatch in reference from the

Re: [PATCH 11/11] ASoC: omap-pcm: Convert to use dmaengine

2012-09-12 Thread Peter Ujfalusi
On 09/12/2012 03:53 PM, Peter Ujfalusi wrote: > I need to look at this, but at first look we do wait for the drain in > omap_stop_dma(). We used to use omap_stop_dma/omap_start_dma for pause/resume > operations. > But sDMA also have a bit: CDPi: PAUSE_LINK_LIST which should do what we are > looking

Re: [PATCH 1/4] staging: omap-thermal: Correct checkpatch.pl warnings

2012-09-12 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 12:19:00PM +0300, Valentin, Eduardo wrote: > Hello Dan, > > On Wed, Sep 12, 2012 at 11:26 AM, Dan Carpenter > wrote: > > On Wed, Sep 12, 2012 at 11:11:27AM +0300, Dan Carpenter wrote: > >> On Tue, Sep 11, 2012 at 07:06:52PM +0300, Eduardo Valentin wrote: > >> > From: J Kee

Re: [alsa-devel] [PATCH 11/11] ASoC: omap-pcm: Convert to use dmaengine

2012-09-12 Thread Takashi Iwai
At Wed, 12 Sep 2012 13:00:28 +0100, Russell King - ARM Linux wrote: > > On Wed, Sep 12, 2012 at 02:47:07PM +0300, Peter Ujfalusi wrote: > > 2. Pause/Resume > >OMAP DMA engine backend does not support pausing and resuming > >an in-progress transfer. It is unclear from the specs what > >

Re: [PATCH] CPUFreq: OMAP: remove unnecessary plat/ includes

2012-09-12 Thread Kevin Hilman
"Shilimkar, Santosh" writes: > On Wed, Sep 12, 2012 at 6:02 AM, Paul Walmsley wrote: >> >> Remove some unnecessary plat/ includes that are interfering with >> multi-subarch >> ARM kernels. >> >> Signed-off-by: Paul Walmsley >> Cc: Kevin Hilman >> Cc: Rafael J. Wysocki >> Acked-by: Kevin Hilm

Re: [PATCH] omap-i2c: fix incorrect log message when using a device tree

2012-09-12 Thread Wolfram Sang
On Fri, Aug 31, 2012 at 01:02:55PM +0200, Florian Vaussard wrote: > When booting using a device tree, the adapter number is dynamically > assigned after the log message is sent. > This patch modifies the log message to get a correct adapter id. > > Applies on 3.6-rc3. Tested on OMAP3 (Gumstix Over

Re: [PATCH] spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function

2012-09-12 Thread Mark Brown
On Tue, Sep 11, 2012 at 12:13:20PM +0530, Shubhrajyoti D wrote: > Currently in omap2_mcspi_txrx_dma the tx and the rx support is > interleaved. Make the rx related code in omap2_mcspi_rx_dma > and the tx related code omap2_mcspi_tx_dma and call the functions. Applied, thanks. -- To unsubscribe fro

Re: [PATCH] spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function

2012-09-12 Thread Shubhrajyoti
On Wednesday 12 September 2012 07:09 PM, Felipe Balbi wrote: > seems to be working fine (at least from my quick tests) > > Tested-by: Felipe Balbi Thanks Felipe. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCHv7 00/23]I2C big cleanup

2012-09-12 Thread Wolfram Sang
On Wed, Sep 12, 2012 at 12:18:50PM +0200, Wolfram Sang wrote: > > > I donot see the warning. Am I missing something? > > I deleted my logfiles already. Ignore it for now, if it comes up again > with your new series, I will give a more detailed pointer. Sorry, the section mismatch was not related

Re: [PATCH] spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function

2012-09-12 Thread Felipe Balbi
On Tue, Sep 11, 2012 at 12:13:20PM +0530, Shubhrajyoti D wrote: > Currently in omap2_mcspi_txrx_dma the tx and the rx support is > interleaved. Make the rx related code in omap2_mcspi_rx_dma > and the tx related code omap2_mcspi_tx_dma and call the functions. > > While at it remove the braces in t

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread R, Sricharan
Hi, On Wed, Sep 12, 2012 at 6:55 PM, Shilimkar, Santosh wrote: > On Wed, Sep 12, 2012 at 6:49 PM, Catalin Marinas > wrote: >> On Wed, Sep 12, 2012 at 01:57:26PM +0100, Shilimkar, Santosh wrote: >>> On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: >>> > >>> > On 9/12/2012 1:50 AM, R Sric

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Shubhrajyoti
On Wednesday 12 September 2012 06:46 PM, Wolfram Sang wrote: >> Tested on omap4sdp and 3430sdp. >> > >> > The following changes since commit >> > 55d512e245bc7699a8800e23df1a24195dd08217: >> > >> > Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) >> > >> > are available in the git repository at: >>

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 6:49 PM, Catalin Marinas wrote: > On Wed, Sep 12, 2012 at 01:57:26PM +0100, Shilimkar, Santosh wrote: >> On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: >> > >> > On 9/12/2012 1:50 AM, R Sricharan wrote: >> >> >> >> Even if CONFIG_DMA_ADDR_64BIT_T is enabled by t

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread Catalin Marinas
On Wed, Sep 12, 2012 at 01:57:26PM +0100, Shilimkar, Santosh wrote: > On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: > > > > On 9/12/2012 1:50 AM, R Sricharan wrote: > >> > >> Even if CONFIG_DMA_ADDR_64BIT_T is enabled by the defconfig, > >> the feature is not getting selected. > >> Add

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread R, Sricharan
Hi, On Wed, Sep 12, 2012 at 6:27 PM, Shilimkar, Santosh wrote: > On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: >> >> On 9/12/2012 1:50 AM, R Sricharan wrote: >>> >>> Even if CONFIG_DMA_ADDR_64BIT_T is enabled by the defconfig, >>> the feature is not getting selected. >>> Adding a stri

Re: [PATCHv8 00/23]I2C big cleanup

2012-09-12 Thread Wolfram Sang
On Wed, Sep 12, 2012 at 04:27:54PM +0530, Shubhrajyoti D wrote: > Changes since v1: >- removed tabification on patch 6/17 >- removed dev_err() which was introduced on patch 09/17 > Changes since v2: > - do not set full fifo depth in the RDR interrupt. > - some change

Re: [PATCH 4/4] can: c_can: Add d_can suspend resume support

2012-09-12 Thread Marc Kleine-Budde
On 09/12/2012 02:48 PM, AnilKumar, Chimata wrote: > Hi Marc, > > On Tue, Sep 04, 2012 at 12:57:18, Marc Kleine-Budde wrote: >> On 09/04/2012 08:14 AM, AnilKumar, Chimata wrote: >>> Marc, >>> >>> Thanks for the comments, >>> >>> On Tue, Sep 04, 2012 at 01:31:35, Marc Kleine-Budde wrote: On 09/

Re: [RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 6:16 PM, Cyril Chemparathy wrote: > > On 9/12/2012 1:50 AM, R Sricharan wrote: >> >> Even if CONFIG_DMA_ADDR_64BIT_T is enabled by the defconfig, >> the feature is not getting selected. >> Adding a string description in the Kconfig resolves this. >> >> But not sure if this

  1   2   >