[PATCH] omap: Use CONFIG_SMP for test_for_ipi and test_for_ltirq belong (Re: PM branch updated to v2.6.35, SRF dropped)

2010-08-06 Thread Tony Lindgren
* Kevin Hilman khil...@deeprootsystems.com [100806 01:48]: Also with omap_4430sdp_defconfig, I see these compile errors arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:48: Error: bad instruction `test_for_ipi r0,r6,r5,lr' arch/arm/kernel/entry-armv.S:48:

[PATCH] omap: Fix sev instruction usage for multi-omap

2010-08-06 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100806 09:55]: * Kevin Hilman khil...@deeprootsystems.com [100806 01:48]: Also with omap_4430sdp_defconfig, I see these compile errors arch/arm/kernel/entry-armv.S: Assembler messages: arch/arm/kernel/entry-armv.S:48: Error: bad instruction

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-06 Thread Linus Walleij
2010/8/4 Ohad Ben-Cohen o...@wizery.com: On Wed, Aug 4, 2010 at 2:41 PM, Russell King - ARM Linux Why not arrange for a small piece of code to be built into the kernel when this driver is selected as a module or built-in, which handles the passing of platform data to the driver? It's

RE: [PM-SR][PATCH 04/12] omap3: sr: device: cleanup pr_xxx

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 04/12] omap3: sr: device: cleanup pr_xxx Strings in c dont need to be split accross multiple lines with \ . instead

RE: [PM-SR][PATCH 06/12] omap3: sr: device: fail sr_dev_init should return error

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 06/12] omap3: sr: device: fail sr_dev_init should return error sr_dev_init should return error on error conditions

RE: [PM-SR][PATCH 07/12] omap3: sr: device: make omap_sr_latency static

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 07/12] omap3: sr: device: make omap_sr_latency static omap_sr_latency definition does not need to be exposed to the

RE: [PM-SR][PATCH 05/12] omap3: sr: device: check for dev_attr

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 05/12] omap3: sr: device: check for dev_attr In the unlikely case that hwmod database is messed up, dont crash report

RE: [PM-SR][PATCH 12/12] omap3: sr: class3: make class3_data static

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 12/12] omap3: sr: class3: make class3_data static we dont expose the structure to the world, so this should be static

Re: [PATCH] omap3: Remove non-existent config option

2010-08-06 Thread Hiroshi DOYU
Hi Hari, On Thu, 5 Aug 2010 17:12:11 +0200 ext Kanigeri, Hari h-kanige...@ti.com wrote: Hiroshi, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Hiroshi DOYU Sent: Wednesday, August 04, 2010 6:20 AM To:

RE: [PM-SR][PATCH 02/12] omap3: voltage: make required variables static

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 02/12] omap3: voltage: make required variables static debugfs voltage_dir - used only by voltage layer and no reason

RE: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Gopinath, Thara
-Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_ Few more pr_ need cleanup for printing the function name and not using

RE: [PATCH 4/6] TI816X: Create board support for TI816X_EVM

2010-08-06 Thread Pedanekar, Hemant
Kevin Hilman wrote: Hemant Pedanekar hema...@ti.com writes: This patch adds minimal support for TI816X EVM to enable kernel boot. Signed-off-by: Hemant Pedanekar hema...@ti.com [...] +#include linux/kernel.h +#include linux/init.h +#include linux/device.h +#include linux/spi/spi.h

[GIT PULL] omap updates for 2.6.36 merge window

2010-08-06 Thread Tony Lindgren
Hi Linus, Please pull omap updates from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git omap-for-linus Regards, Tony The following changes since commit be82ae0238b0453afcf4a76f0512b7dde34ba500: Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm

RE: [PATCH v4 0/4] nand prefetch-irq support and ecc layout chanage

2010-08-06 Thread Ghorai, Sukumar
Tony, -Original Message- From: Ghorai, Sukumar Sent: Wednesday, August 04, 2010 9:29 AM To: linux-omap@vger.kernel.org; 'Tony Lindgren' Cc: linux-arm-ker...@lists.infradead.org; linux-...@lists.infradead.org Subject: RE: [PATCH v4 0/4] nand prefetch-irq support and ecc layout

Re: Board mux entries ignored?

2010-08-06 Thread Tony Lindgren
* John Faith jfai...@gmail.com [100805 19:09]: On Wed, Aug 4, 2010 at 11:54 PM, Tony Lindgren t...@atomide.com wrote: * John Faith jfai...@gmail.com [100804 22:22]: Hi, I'm trying to set mux modes for a 3530, package CBC in my board.c (2.6.32 kernel) using an omap_board_mux entry:  

Re: [PATCH v4 0/4] nand prefetch-irq support and ecc layout chanage

2010-08-06 Thread Tony Lindgren
* Ghorai, Sukumar s-gho...@ti.com [100806 11:56]: Would you please check the status of these patch(s). Need to look at these after this merge window. In general, we need to have our patches reviewed and tested and sitting in the for-next tree by -rc6. Regards, Tony -- To unsubscribe from

Re: [PATCH] [RFC] Remove the debug print noise

2010-08-06 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [100802 16:40]: Datta, Shubhrajyoti had written, on 08/02/2010 07:59 AM, the following: -Original Message- From: Felipe Balbi [mailto:felipe.ba...@nokia.com] Sent: Monday, August 02, 2010 6:22 PM To: Datta, Shubhrajyoti Cc: linux-omap@vger.kernel.org;

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-06 Thread Ohad Ben-Cohen
On Fri, Aug 6, 2010 at 10:07 AM, Linus Walleij linus.ml.wall...@gmail.com wrote: 2010/8/4 Ohad Ben-Cohen o...@wizery.com: On Wed, Aug 4, 2010 at 2:41 PM, Russell King - ARM Linux Why not arrange for a small piece of code to be built into the kernel when this driver is selected as a module or

Re: [PM-SR][PATCH 09/12] omap3: sr: enable/disable sr only if required

2010-08-06 Thread Nishanth Menon
On 08/05/2010 11:51 PM, Gopinath, Thara wrote: -Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 09/12] omap3: sr: enable/disable sr only if required We dont need to

Re: [PM-SR][PATCH 06/12] omap3: sr: device: fail sr_dev_init should return error

2010-08-06 Thread Nishanth Menon
On 08/06/2010 02:24 AM, Gopinath, Thara wrote: -Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 06/12] omap3: sr: device: fail sr_dev_init should return error

Re: [PM-SR][PATCH 05/12] omap3: sr: device: check for dev_attr

2010-08-06 Thread Nishanth Menon
On 08/06/2010 02:27 AM, Gopinath, Thara wrote: -Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 05/12] omap3: sr: device: check for dev_attr In the unlikely case

Re: [PM-SR][PATCH 02/12] omap3: voltage: make required variables static

2010-08-06 Thread Nishanth Menon
On 08/06/2010 02:39 AM, Gopinath, Thara wrote: -Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 02/12] omap3: voltage: make required variables static debugfs

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Nishanth Menon
On 08/06/2010 02:42 AM, Gopinath, Thara wrote: -Original Message- From: Menon, Nishanth Sent: Friday, August 06, 2010 3:54 AM To: linux-omap Cc: Menon, Nishanth; Kevin Hilman; Gopinath, Thara Subject: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_ Few more pr_ need cleanup

RE: [PATCH] omap: Fix sev instruction usage for multi-omap

2010-08-06 Thread Nayak, Rajendra
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Friday, August 06, 2010 12:35 PM To: Kevin Hilman Cc: Nayak, Rajendra; linux-omap@vger.kernel.org Subject: [PATCH] omap: Fix sev instruction usage for multi-omap * Tony Lindgren t...@atomide.com [100806

[PATCH] omap: Fix omap_4430sdp_defconfig for make oldconfig

2010-08-06 Thread Tony Lindgren
* Nayak, Rajendra rna...@ti.com [100806 14:22]: Now with this, omap4 build using omap_4430sdp_defconfig seems to go through, but like you said, boot is still an issue. Hmm, I guess these issues pop up if you do yes | make oldconfig. Can you try the patch below? After applying the patch, you

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Mark Brown
On Fri, Aug 06, 2010 at 06:08:03AM -0500, Nishanth Menon wrote: Well that is my motivation here. if driver reports a warning to kernel syslog, well, I expect the log to contain the function name for me to maintain faster. That's really not the expectation for Linux log messages - the

[PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4

2010-08-06 Thread Charulatha V
This patch includes cpu_is check for omap44xx cpu inorder to do omap_hwmod_late_init() without which hwmods initialization does not happen for omap4. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap2/io.c |2 +- 1 files changed, 1

[PATCH 02/13 v5] OMAP: GPIO: Introduce support for OMAP15xx chip GPIO init

2010-08-06 Thread Charulatha V
This patch introduces platform_data structure for GPIO so that GPIO module can be implemented in platform device model. This patch also adds support for handling OMAP15xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V ch...@ti.com

[PATCH 00/13 v5] OMAP: GPIO: Implement GPIO in HWMOD way

2010-08-06 Thread Charulatha V
This patch series makes OMAP2PLUS specific GPIO implemented in HWMOD FW way. This is done by implementing GPIO module in platform device model. This patch series is generated on origin/pm-wip/hwmods-omap4. This patch series is created on top of the following two patches: - OMAP4: HWMOD: Do

[PATCH 08/13 v5] OMAP: GPIO: Add gpio dev_attr and correct clks in OMAP4 hwmod struct

2010-08-06 Thread Charulatha V
This patch adds gpio_dev_attr to OMAP4 gpio hwmod structure. This patch also corrects the gpio .main_clk and .clk fields in gpio hwmod structures. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 40

[PATCH 11/13 v5] OMAP: GPIO: Make gpio_context as part of gpio_bank structure

2010-08-06 Thread Charulatha V
gpio_context array, which is used to save gpio bank's context, is used only for OMAP3 architecture. This patch moves gpio_context as part of gpio_bank structure so that it can be specific to each gpio bank and can be used for any OMAP architecture Signed-off-by: Charulatha V ch...@ti.com

[PATCH 09/13 v5] OMAP: GPIO: Introduce support for OMAP2PLUS chip GPIO init

2010-08-06 Thread Charulatha V
This patch adds support for handling GPIO as a HWMOD FW adapted platform device for OMAP2PLUS chips. gpio_init needs to be done before machine_init functions access gpio APIs.Hence gpio_init is made as a postcore_initcall. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha

[PATCH 10/13 v5] OMAP: GPIO: Implement GPIO as a platform device

2010-08-06 Thread Charulatha V
This patch implements GPIO as a platform device. Also it implements OMAP2PLUS specific GPIO as HWMOD FW adapted device. This patch makes GPIO to use runtime APIs. GPIO APIs are used in machine_init functions. Hence it is required to complete GPIO probe before machine_init. Therefore GPIO device

[PATCH 12/13 v5] OMAP: GPIO: Use dev_pm_ops instead of sys_dev_class

2010-08-06 Thread Charulatha V
This patch makes GPIO driver to use dev_pm_ops instead of sysdev_class. With this approach, gpio_bank_suspend gpio_bank_resume are not part of sys_dev_class. According to this patch, a GPIO bank relinquishes the clock using PM runtime APIs when all the gpios in that bank are freed. It also

[PATCH 13/13 v5] OMAP: GPIO: Remove omap_gpio_init()

2010-08-06 Thread Charulatha V
This patch removes the usage of omap_gpio_init() from all omap board files since omap_gpio_init() does nothing, after gpio is implemented as a platform device. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap1/board-ams-delta.c |

[PATCH 04/13 v5] OMAP: GPIO: Introduce support for OMAP7xx chip GPIO init

2010-08-06 Thread Charulatha V
This patch adds support for handling OMAP7xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap1/gpio7xx.c | 274

[PATCH 05/13 v5] OMAP: GPIO: add GPIO hwmods structures for OMAP3

2010-08-06 Thread Charulatha V
Add hwmod structures for GPIO module on OMAP3 Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 382 1 files changed, 382 insertions(+),

[PATCH 07/13 v5] OMAP: GPIO: add GPIO hwmods structures for OMAP243X

2010-08-06 Thread Charulatha V
Add hwmod structures for GPIO module on OMAP243X Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 290 1 files changed, 290 insertions(+), 0 deletions(-) diff --git

[PATCH 06/13 v5] OMAP: GPIO: add GPIO hwmods structures for OMAP242X

2010-08-06 Thread Charulatha V
Add hwmod structures for GPIO module on OMAP242X Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 234 1 files changed, 234 insertions(+), 0 deletions(-) diff --git

[PATCH 03/13 v5] OMAP: GPIO: Introduce support for OMAP16xx chip GPIO init

2010-08-06 Thread Charulatha V
This patch adds support for handling OMAP16xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Basak, Partha p-bas...@ti.com --- arch/arm/mach-omap1/gpio16xx.c | 208

RE: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4

2010-08-06 Thread Shilimkar, Santosh
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Varadarajan, Charulatha Sent: Friday, August 06, 2010 6:01 PM To: linux-omap@vger.kernel.org Cc: p...@pwsan.com; khil...@deeprootsystems.com; Cousson, Benoit; Nayak,

Re: [PATCH] OMAP4: HWMOD: Do omap_hwmod_late_init for OMAP4

2010-08-06 Thread Cousson, Benoit
Hi Charu, On 8/6/2010 2:31 PM, Varadarajan, Charulatha wrote: This patch includes cpu_is check for omap44xx cpu inorder to do omap_hwmod_late_init() without which hwmods initialization does not happen for omap4. Signed-off-by: Charulatha Vch...@ti.com Signed-off-by: Basak,

Re: [PATCH 7/7] omap3: make coresight register save across OFF modes a sysfs option

2010-08-06 Thread Alexander Shishkin
On Sun, Jul 25, 2010 at 08:05:20 +0300, Alexander Shishkin wrote: This adds a sysfs file at /sys/power/coresight_save which is used to control if the ETM and debug components' states should be saved and restored across OFF modes. The non-omap patches are merged to Russell's tree, so these

[PATCH] omap2: McBSP: Remove mux code for OMAP2420 McBSP2 and do cleanups

2010-08-06 Thread Jarkko Nikula
This 'legacy' OMAP2420 McBSP2 muxing code is currently broken after recent conversion to new mux code. The omap_mcbsp_request calling this code is usually called after booting whereas the omap_mux_init_signal is __init marked so null pointer dereference would occur. Fix this by removing the

Re: [PATCH 7/7] omap3: make coresight register save across OFF modes a sysfs option

2010-08-06 Thread Tony Lindgren
* Alexander Shishkin virtu...@slind.org [100806 15:30]: On Sun, Jul 25, 2010 at 08:05:20 +0300, Alexander Shishkin wrote: This adds a sysfs file at /sys/power/coresight_save which is used to control if the ETM and debug components' states should be saved and restored across OFF modes.

[GIT PULL] OMAP DSS updates for 2.6.36

2010-08-06 Thread Tomi Valkeinen
Hi Linus, Please pull OMAP Display Subsystem patches from below. Mostly fixes and improvements to existing features. Tomi The following changes since commit 9fe6206f400646a2322096b56c59891d530e8d51: Linus Torvalds (1): Linux 2.6.35 are available in the git repository at:

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Nishanth Menon
Mark Brown had written, on 08/06/2010 07:18 AM, the following: On Fri, Aug 06, 2010 at 06:08:03AM -0500, Nishanth Menon wrote: Well that is my motivation here. if driver reports a warning to kernel syslog, well, I expect the log to contain the function name for me to maintain faster.

RE: [PATCH] omap: Fix omap_4430sdp_defconfig for make oldconfig

2010-08-06 Thread Nayak, Rajendra
-Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Friday, August 06, 2010 5:20 PM To: Nayak, Rajendra Cc: Kevin Hilman; linux-omap@vger.kernel.org Subject: [PATCH] omap: Fix omap_4430sdp_defconfig for make oldconfig * Nayak, Rajendra rna...@ti.com [100806

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Mark Brown
On Fri, Aug 06, 2010 at 08:10:44AM -0500, Nishanth Menon wrote: a) when the strings are split up when they go multiple lines: E.g.: abcd efg print comes out abcd efg That's generally considered bad practice for precisely this reason. c) time required: $ time git grep DEBUG

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Nishanth Menon
Mark Brown had written, on 08/06/2010 08:32 AM, the following: On Fri, Aug 06, 2010 at 08:10:44AM -0500, Nishanth Menon wrote: a) when the strings are split up when they go multiple lines: E.g.: abcd efg print comes out abcd efg That's generally considered bad practice for

Re: [PM-SR][PATCH 01/12] omap3: voltage: cleanup pr_xxxx

2010-08-06 Thread Mark Brown
On Fri, Aug 06, 2010 at 08:37:52AM -0500, Nishanth Menon wrote: Interesting, I see better performance than that, especially hot cache, and of course an educated guess as to where to look helps greatly. tell me about it.. ;) mebbe I can use this thread to get a machine upgrade budget :P.. but

omap3camera and linux-omap

2010-08-06 Thread Michael Jones
I am currently using Sakari's omap3camera repository (branch 'devel'). 'git merge-base linux-omap omap3camera' tells me that the last commit omap3camera has in common with linux-omap is 40a0c47, from July 7 2010. But there are 1000 commits which are only in omap3camera, dating back to 2008.

RE: Issues with calling pm_runtime functions in platform_pm_suspend_noirq/IRQ disabled context.

2010-08-06 Thread Basak, Partha
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, August 05, 2010 5:05 AM To: Basak, Partha Cc: Paul Walmsley; linux-omap@vger.kernel.org; Kalliguddi, Hema; Raja, Govindraj; Varadarajan, Charulatha; Nayak, Rajendra; Cousson, Benoit Subject:

RE: Issues with calling pm_runtime functions in platform_pm_suspend_noirq/IRQ disabled context.

2010-08-06 Thread Basak, Partha
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, August 05, 2010 4:51 AM To: Basak, Partha Cc: Paul Walmsley; linux-omap@vger.kernel.org; Kalliguddi, Hema; Raja, Govindraj; Varadarajan, Charulatha; Nayak, Rajendra; Cousson, Benoit Subject:

Patches Xf86-video-omapfb

2010-08-06 Thread Henk Geraads
Hi I would like to have the patches of Eino-Ville Talvala on the Xf86-video-omapfb which fixes the problems using DSS2 on OMAP3 EVM / Angstrom with rotation. These fixes where made dec. 2009 Who can help me on this? Best regards, Henk -- To unsubscribe from this list: send the line

Re: [RFC PATCH] platform: Faciliatate the creation of pseduo-platform busses

2010-08-06 Thread Greg KH
On Thu, Aug 05, 2010 at 04:59:35PM -0600, Grant Likely wrote: (On that point Greg, what is the reason for even having the /sys/devices/platform/ parent? Why not just let the platform devices sit at the root of the device tree? In the OF case (granted, I'm biased) all of the platform_device

RE: Issues with calling pm_runtime functions in platform_pm_suspend_noirq/IRQ disabled context.

2010-08-06 Thread Basak, Partha
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, August 05, 2010 3:17 AM To: Basak, Partha Cc: Paul Walmsley; linux-omap@vger.kernel.org; Kalliguddi, Hema; Raja, Govindraj; Varadarajan, Charulatha; Nayak, Rajendra; Cousson, Benoit Subject:

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-06 Thread Russell King - ARM Linux
On Fri, Aug 06, 2010 at 01:02:24PM +0300, Ohad Ben-Cohen wrote: We have Russell's suggestion which is nice and simple, but it has the 1 device limitation. You could make it generic by doing something like this: #define set_device_data(name, type, index, data)\ ({

Re: [RFC PATCH] platform: Faciliatate the creation of pseduo-platform busses

2010-08-06 Thread Grant Likely
On Fri, Aug 6, 2010 at 8:27 AM, Greg KH gre...@suse.de wrote: On Thu, Aug 05, 2010 at 04:59:35PM -0600, Grant Likely wrote: (On that point Greg, what is the reason for even having the /sys/devices/platform/ parent?  Why not just let the platform devices sit at the root of the device tree?  In

RE: omap3camera and linux-omap

2010-08-06 Thread Aguirre, Sergio
Hi Michael, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Michael Jones Sent: Friday, August 06, 2010 8:48 AM To: linux-omap@vger.kernel.org Cc: sakari.ai...@maxwell.research.nokia.com Subject: omap3camera and

[PATCH 0/8]usb: musb:USB driver changes to use hwmod+ omap-device apis

2010-08-06 Thread HEMA HK
From: Hema HK hem...@ti.com Series of patches to port musb driver to use hwmod and runtime pm APIs for OMAP4 and OMAP3.These patches are tested on OMAP4430SDP and OMAP3630-ZOOM3 boards. The patch 1 and 2 are are the prerequisites for the hwmod changes. Patch 6 is the OMAP3 offmode support

[PATCH 1/8] usb: musb: Adding names for IRQs in resource structure

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Modified the Omap,Blackfin and Davinci board files to add the name of the IRQs in the resource structures and musb driver to use the get_irq_byname() api to get the mc and dma irq numbers instead of using the index as the order of resource definition need not be

[PATCH 2/8] usb: musb: Remove board_data parameter from musb_platform_init()

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Removed the board_data parameter being passed to musb_platform_init function as board data can be extracted from device structure which is already member of musb structure. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi felipe.ba...@nokia.com Cc: Tony

[PATCH V2 3/4]usb: musb: HWMOD database structures addition for OMAP3

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com OMAP3 hwmod data stuctures are populated with base address, L3 and L4 interface clocks, IRQs,and sysconfig register details. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi felipe.ba...@nokia.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman

[PATCH 4/8]usb: musb: HWMOD database structures fixes OMAP4

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Fixed the missing sysc settings for OMAP4 and enabled the OMAP4 hwmod data structure. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi felipe.ba...@nokia.com Cc: Tony Lindgren t...@atomide.com Cc: Kevin Hilman khil...@deeprootsystems.com --- Index:

[PATCH V2 4/8]usb : musb:Using omap_device_build for musb device registration

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Using omap_device_build api instead of platform_device_register for musb device registration.The device specific resources defined in centralized database will be used. So removed the resource definitions from the musb platform file. Signed-off-by: Hema HK

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-06 Thread Nicolas Pitre
On Fri, 6 Aug 2010, Russell King - ARM Linux wrote: On Fri, Aug 06, 2010 at 01:02:24PM +0300, Ohad Ben-Cohen wrote: We have Russell's suggestion which is nice and simple, but it has the 1 device limitation. You could make it generic by doing something like this: #define

[PATCH V2 6/8] usb: musb: Offmode fix for idle path

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com With OMAP core-off support musb was not functional as context was getting lost after wakeup from core-off. And also musb was blocking the core-off after loading the gadget driver even with no cable connected sometimes. Added the conext save/restore api in the

[PATCH 7/8] : Hwmod api changes

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Omap USBOTG modules has a requirement to set the auto idle bit only after setting smart idle bit. Modified the _sys_enable api to set the smart idle first and then the autoidle bit. Setting this will not have any impact on the other modules. Added 2 wrapper APIs in

[PATCH 8/8 ]usb : musb:Using runtime pm apis for musb.

2010-08-06 Thread Hema HK
From: Hema HK hem...@ti.com Calling runtime pm APIs pm_runtime_put_sync() and pm_runtime_get_sync() for enabling/disabling the clocks,sysconfig settings. used omap_hwmod_enable_wakeup omap_hwmod_disable_wakeup apis to set/clear the wakeup enable bit. Also need to put the USB in force standby

RE: [PATCH 2/6] TI816X: Update common omap platform files

2010-08-06 Thread Pedanekar, Hemant
Hi Kevin, Kevin Hilman wrote: Hemant Pedanekar hema...@ti.com writes: This patch updates the common platform files with TI816X specific additions. Also adds new files for TI816X modules base addresseses and irq definitions. Signed-off-by: Hemant Pedanekar hema...@ti.com --- [...]

UbiFS regression(?)

2010-08-06 Thread [AvataR]
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 0:0, read 64 bytes UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 0:1, read 64 bytes . root=ubi0:rootfs rw rootwait ubi.mtd=4 rootfstype=ubifs beagleboard 2.6.35-beagle-32op-08909-g8428498 last commit:

Re: [PATCH 2/6] TI816X: Update common omap platform files

2010-08-06 Thread Kevin Hilman
Pedanekar, Hemant hema...@ti.com writes: Hi Kevin, Kevin Hilman wrote: Hemant Pedanekar hema...@ti.com writes: This patch updates the common platform files with TI816X specific additions. Also adds new files for TI816X modules base addresseses and irq definitions. Signed-off-by:

Re: [RFC PATCH] platform: Faciliatate the creation of pseduo-platform busses

2010-08-06 Thread Greg KH
On Fri, Aug 06, 2010 at 09:12:27AM -0600, Grant Likely wrote: On Fri, Aug 6, 2010 at 8:27 AM, Greg KH gre...@suse.de wrote: On Thu, Aug 05, 2010 at 04:59:35PM -0600, Grant Likely wrote: (On that point Greg, what is the reason for even having the /sys/devices/platform/ parent?  Why not just

Re: [PATCH V2 6/8] usb: musb: Offmode fix for idle path

2010-08-06 Thread Bob Liu
On Sat, Aug 7, 2010 at 1:27 AM, Hema HK hem...@ti.com wrote: From: Hema HK  hem...@ti.com With OMAP core-off support musb was not functional as context was getting lost after wakeup from core-off. And also musb was blocking the core-off after loading the gadget driver even with no cable