Re: [PATCH 1/8] ARM: SCU: Add common routines for secondary CPU bootup

2010-12-04 Thread Russell King - ARM Linux
On Thu, Dec 02, 2010 at 06:01:50PM +, Russell King - ARM Linux wrote: On Thu, Dec 02, 2010 at 05:38:24PM +, Russell King - ARM Linux wrote: What if a platform, for what ever reason, wants to have 3 CPUs, numbered 0, 2, 3 ? That's the reason why the code which sets the possible and

[REPOST][PATCH] Fix IGEPv2 second MMC channel power supply

2010-12-04 Thread Marc Zyngier
Commit 72f381ba056 (omap3: Remove VMMC2 regulator on IGEP v2) removed an unused regulator entry, but left the second MMC channel (used by the Libertas WLAN module) without link to power regulator. This causes the SDIO module to fail being detected. This patch adds the two regulators that actually

RE: [PATCH] musb: am35x: fix compile error due to control apis

2010-12-04 Thread Gupta, Ajay Kumar
As the control.h have been moved to new location and it's uses are not allowed to drivers directly so moving the phy control, interrupt clear and reset functionality to board files. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Patch created against today's linus tree. I

RE: [PATCH] musb: am35x: fix compile error due to control apis

2010-12-04 Thread Gupta, Ajay Kumar
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb- musb.c index 7260558..1f32fdb 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -33,6 +33,82 @@ #ifdef CONFIG_USB_MUSB_SOC +static void am35x_musb_phy_power(u8 on) +{ +

Re: [PATCH 0/4] Patches to make multi-soc handling in entry-armv.S easier

2010-12-04 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [101203 21:39]: On Fri, 3 Dec 2010, Tony Lindgren wrote: Hi all, I've got some patches almost ready to go to merge the omap1 configs into a single omap1_defconfig. While working on getting that done, I had to come up with a better solution for

Re: [PATCH v8 00/11] OMAP: GPIO: Implement GPIO as platform device

2010-12-04 Thread Tony Lindgren
* Varadarajan, Charulatha ch...@ti.com [101202 06:08]: On Thu, Dec 2, 2010 at 15:28, Kevin Hilman khil...@deeprootsystems.com wrote: Tony, you can also add Acked-by: Kevin Hilman khil...@deeprootsystems.com OK, updated. Also made one more GPIO patch to allow us to deal with the 7xx

[PATCH 0/5] Few misc patches for v2.6.38 merge window

2010-12-04 Thread Tony Lindgren
Hi, Here are some misc patches for review. Regards, Tony --- Evgeny Kuznetsov (1): omap: Ptr isr_reg tracked as NULL was dereferenced Jarkko Nikula (1): omap: McBSP: Fix potential memory leak in omap_mcbsp_remove Shubhrajyoti D (1): omap: McBSP: Make the free variable

[PATCH 1/5] Fix undefined reference to omap2_i2c_mux_pins

2010-12-04 Thread Tony Lindgren
In some cases we can get error function `omap2_i2c_add_bus': arch/arm/plat-omap/i2c.c:136: undefined reference to `omap2_i2c_mux_pins' arch/arm/plat-omap/i2c.c:141: undefined reference to `omap_hwmod_lookup' arch/arm/plat-omap/i2c.c:157: undefined reference to `omap_device_build' Signed-off-by:

[PATCH 2/5] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-12-04 Thread Tony Lindgren
From: Evgeny Kuznetsov ext-eugeny.kuznet...@nokia.com Value of isr_reg pointer is depend on configuration and GPIO method. Potentially it may have NULL value and it is dereferenced later in code. Warning and exit from function are added in this case. Signed-off-by: Evgeny Kuznetsov

[PATCH 3/5] omap: McBSP: Fix potential memory leak in omap_mcbsp_remove

2010-12-04 Thread Tony Lindgren
From: Jarkko Nikula jhnik...@gmail.com Function omap_mcbsp_probe allocates struct omap_mcbsp *mcbsp but it is not freed in omap_mcbsp_remove. Fix this, remove unneeded structure cleanups and clk_disable calls since they are not needed here. This is not problem currently but becomes if the mcbsp

[PATCH 4/5] omap: McBSP: Make the free variable update more readable

2010-12-04 Thread Tony Lindgren
From: Shubhrajyoti D shubhrajy...@ti.com Using true/false instead of 1/0 to update the free variable. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com Acked-by: Jarkko Nikula jhnik...@gmail.com Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/mcbsp.c |8 1

[PATCH 5/5] omap: Don't select mux by default for each board

2010-12-04 Thread Tony Lindgren
This should be only selected in CONFIG_ARCH_OMAP2PLUS_TYPICAL to make it easy to disable. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Kconfig |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig

[PATCH 0/4] Create omap1_defconfig, remove other omap1 configs

2010-12-04 Thread Tony Lindgren
Hi all, This series allows us to get rid of 15 omap1 defconfigs for various boards. Based on the recent GPIO patches and depends on the asm_irq patches posted earlier. For testing, it's probably easiest to use the devel-omap1 branch in the linux-omap git tree. Regards, Tony --- Tony Lindgren

[PATCH 1/4] omap: Disable omap_read/write functions for omap2+

2010-12-04 Thread Tony Lindgren
These should be now long gone and break multi-omap support for omap1 as the cpu_class_is_omap1() won't work until the SOC is detected. So just disable and warn for omap2+ in case somebody still attampts to use these. Signed-off-by: Tony Lindgren t...@atomide.com ---

[PATCH 2/4] omap1: Add initcall checks for omap1 and booted board

2010-12-04 Thread Tony Lindgren
Otherwise multi-omap1 configurations will fail. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap1/board-ams-delta.c |3 +++ arch/arm/mach-omap1/board-voiceblue.c |6 ++ arch/arm/mach-omap1/devices.c |3 +++ arch/arm/mach-omap1/lcd_dma.c |3

[PATCH 3/4] omap1: Add omap1_defconfig

2010-12-04 Thread Tony Lindgren
The omap1_defconfig this should be eventually usable for booting all omap1 machines. Generated based on: $ grep ARCH_OMAP1=y arch/arm/configs/* | cut -d: -f1 | xargs cat | \ sort | uniq arch/arm/configs/omap1_defconfig Then change few things manually, like use Nokia 770 CONFIG_CMDLINE as

[PATCH 4/4] omap1: Delete old defconfigs

2010-12-04 Thread Tony Lindgren
Please use omap1_defconfig instead, or search online for a more optimized defconfig for your omap1 board. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/configs/ams_delta_defconfig | 121 - arch/arm/configs/htcherald_defconfig | 73

Re: [PATCH 0/4] Patches to make multi-soc handling in entry-armv.S easier

2010-12-04 Thread Nicolas Pitre
On Sat, 4 Dec 2010, Tony Lindgren wrote: * Nicolas Pitre n...@fluxnic.net [101203 21:39]: On Fri, 3 Dec 2010, Tony Lindgren wrote: Hi all, I've got some patches almost ready to go to merge the omap1 configs into a single omap1_defconfig. While working on getting that done, I

Re: [PATCH 0/4] Patches to make multi-soc handling in entry-armv.S easier

2010-12-04 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [101204 18:26]: On Sat, 4 Dec 2010, Tony Lindgren wrote: My only problem with your approach is the global addition of asm_irq_base and asm_irq_flags in generic code which might not be useful and/or appropriate for all targets. If you were confining them to