Re: [PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-07 Thread Kalle Jokiniemi
pe, 2012-10-05 kello 15:07 -0700, Kevin Hilman kirjoitti: > +Grygorii (who's been working on various I2C related suspend/resume >issues also) > > Hi Kalle, > > Kalle Jokiniemi writes: > > > The resume_noirq enables interrupts one-by-one starting from > > first one. Now if the wake u

RE: [PATCH v2 00/14] OMAP-GPMC related cleanup for common zImage

2012-10-07 Thread Mohammed, Afzal
Hi Ivan, On Mon, Oct 08, 2012 at 11:05:56, Mohammed, Afzal wrote: > This series cleans up omap-gpmc related code so that omap can > be a part of common zImage. > This series moves gpmc.h from plat-omap/include/plat to mach-omap2 > so that header file is local. > Patches 7 & 8 cleans up the alre

[PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-07 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by: Kish

[PATCH v2 0/3] ocp2scp: add non-dt support

2012-10-07 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for non-d

[PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-07 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 76 + 1 file changed, 76 insertions(+) diff --gi

[PATCH v2 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-07 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 1 file changed, 28

RE: [PATCH 00/15] OMAP-GPMC related cleanup for common zImage

2012-10-07 Thread Mohammed, Afzal
Hi, On Fri, Oct 05, 2012 at 21:22:50, Mohammed, Afzal wrote: > This series cleans up omap-gpmc related code so that omap can > be a part of common zImage. Upon selecting BCH CONFIG option, build breaks, updated series - v2 that fixes it has been posted. Regards Afzal

[PATCH v2 14/14] ARM: OMAP2+: gpmc: localize gpmc header

2012-10-07 Thread Afzal Mohammed
Requirement of gpmc header outside of mach-omap2 has been cutoff, move gpmc header file in plat-omap folder to local mach-omap2 folder Objective - common zImage participation of omap Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/board-2430sdp.c | 2 +- arch/arm/mach-omap2/boa

[PATCH v2 13/14] ARM: OMAP2+: gpmc: remove exported nand functions

2012-10-07 Thread Afzal Mohammed
nand driver handles gpmc-nand block fully, hence no more users for these exported nand functions, remove it. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc.c | 432 - arch/arm/plat-omap/include/plat/gpmc.h | 31 --- 2 files changed, 463 de

[PATCH v2 12/14] mtd: nand: omap: handle gpmc bch[48]

2012-10-07 Thread Afzal Mohammed
gpmc-nand bch registers are now available in driver, make use of it to handle bch[48] instead of relying on gpmc exported functions. And so nand driver no longer needs gpmc header, remove it. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 100 ++

[PATCH v2 10/14] ARM: OMAP2+: nand: bch capability check

2012-10-07 Thread Afzal Mohammed
Capability of bch schemes could be discovered using soc revision checks. If soc revision indicates that selected ecc scheme is not supported bail out. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc-nand.c | 24 1 file changed, 24 insertions(+) diff --git a/a

[PATCH v2 11/14] ARM: OMAP2+: gpmc: nand register helper bch update

2012-10-07 Thread Afzal Mohammed
Update helper function that provides gpmc-nand register details for nand driver with bch register information. Using this nand driver can be made self sufficient to handle remaining gpmc-nand operations by itself instead of relying on gpmc exported nand functions. Signed-off-by: Afzal Mohammed --

[PATCH v2 09/14] mtd: nand: omap: bring in gpmc nand macros

2012-10-07 Thread Afzal Mohammed
Bring onto driver the macros defined in gpmc.h that are not necessary outside driver, helps in removing inclusion of gpmc.h too. Also remove GPMC prefix on those macros to make clear it's independence with gpmc header. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 21 +

[PATCH v2 08/14] ARM: OMAP2+: nand: header cleanup

2012-10-07 Thread Afzal Mohammed
For common arm zImage existing nand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Also move gpmc-nand platform data to platform header meant for n

[PATCH v2 07/14] ARM: OMAP2+: onenand: header cleanup

2012-10-07 Thread Afzal Mohammed
For common arm zImage existing onenand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/board

[PATCH v2 06/14] mtd: onenand: omap: use pdata info instead of cpu_is

2012-10-07 Thread Afzal Mohammed
platform data now contains a field to indicate whether soc belongs to omap34xx family, use it instead of cpu_is_* check. This helps in removing dependency of platform specific header file - cpu.h Signed-off-by: Afzal Mohammed --- drivers/mtd/onenand/omap2.c | 7 --- 1 file changed, 4 insert

[PATCH v2 05/14] ARM: OMAP2+: onenand: connected soc info in pdata

2012-10-07 Thread Afzal Mohammed
onenand driver needs to know whether soc is falling under 34xx family to properly handle onenand. But driver is not supposed to do cpu_is_* check, hence educate platform data with this information. Driver can make use of it to avoid cpu_is_* check. Signed-off-by: Afzal Mohammed --- arch/arm/mach

[PATCH v2 04/14] mtd: nand: omap: read nand using register address

2012-10-07 Thread Afzal Mohammed
Now that gpmc-nand registers are available in driver, use it to read nand data. "65b97cf mtd: nand: omap2: handle nand on gpmc" modified all other instances. After initial versions of that patch, a new change added reading nand data using gpmc exposed function. In the final version this change wa

[PATCH v2 01/14] ARM: OMAP2+: gpmc: annotate exit sections properly

2012-10-07 Thread Afzal Mohammed
compiler complained, `gpmc_remove' referenced in section `.data' of arch/arm/mach-omap2/built-in.o: defined in discarded section `.exit.text' of arch/arm/mach-omap2/built-in.o Annotate gpmc_remove function and dependents with __devexit. Reported-by: Tony Lindgren Signed-off-by: Afzal Mohammed

[PATCH v2 03/14] mtd: nand: omap: free region as per resource size

2012-10-07 Thread Afzal Mohammed
memory as is now obtained via resource, upon freeing use resource size. This also helps get rid of one macro. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 5

[PATCH v2 02/14] mtd: onenand: omap: cleanup gpmc dependency

2012-10-07 Thread Afzal Mohammed
requesting, freeing gpmc cs is now handled fully by gpmc, remove left out gpmc dependency as well as unnecessary include of gpmc.h Signed-off-by: Afzal Mohammed --- drivers/mtd/onenand/omap2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/

[PATCH v2 00/14] OMAP-GPMC related cleanup for common zImage

2012-10-07 Thread Afzal Mohammed
Hi, This version(v2) of gpmc related cleanup for common zImage compared to initial version, resolves build error upon selecting BCH CONFIG option. Also a trivial patch on gpmc header removal from nand driver has been squashed with patch that removes nand driver dependency on gpmc header file. Thi

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-07 Thread kishon
Hi, On Saturday 06 October 2012 04:00 AM, Sergei Shtylyov wrote: Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I

RE: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-07 Thread Hebbar, Gururaja
On Sat, Oct 06, 2012 at 02:58:26, Porter, Matt wrote: > On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > > Matt, > > > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > > Changes since v1: > > > >

[PATCH] ARM: OMAP: move old debug-devices.c and debug-leds.c to be OMAP2+ only for now

2012-10-07 Thread Paul Walmsley
Commit 801475ccb2b2c1928b22aec4b9e5285d9e347602 ("ARM: OMAP: move debug_card_init() function") results in the following new sparse[1] warning: arch/arm/plat-omap/debug-devices.c:71:12: warning: symbol 'debug_card_init' was not declared. Should it be static? Normally this could be fixed by inclu

Re: ARM: OMAP: fix new sparse warnings

2012-10-07 Thread Paul Walmsley
Here's an updated version of this one that drops the debug-devices.c change. That will be dealt with in a separate patch. - Paul From: Paul Walmsley Date: Sun, 7 Oct 2012 13:10:00 -0600 Subject: [PATCH] ARM: OMAP: omap3evm: fix new sparse warning Commit e54adb1e79762d3591459e5b0e9b9ff578e3

[PATCH] usb: otg: isp1301_omap: fix potential NULL pointer dereference

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/usb/otg/isp1301_omap.c | 32 +++- 1 file changed, 23 insertions(+), 9

Re: [PATCH 0/4] cpufreq: OMAP: fixes for v3.7-rc2

2012-10-07 Thread Rafael J. Wysocki
On Wednesday 03 of October 2012 16:00:25 Kevin Hilman wrote: > From: Kevin Hilman > > Here's a series with a couple bug fixes and a couple fixes that > make this driver support newer OMAP-based SoCs. > > The 'get_cpu_device' patch is needed due to a change in the OMAP > OMAP PM core code which e

[PATCH v3 2/3] omap3isp: Add PHY routing configuration

2012-10-07 Thread Sakari Ailus
Add PHY routing configuration for both 3430 and 3630. Also add register bit definitions of CSIRXFE and CAMERA_PHY_CTRL registers on OMAP 3430 and 3630, respectively. Signed-off-by: Sakari Ailus --- drivers/media/platform/omap3isp/ispcsiphy.c | 86 +++ drivers/media/plat

[PATCH v3 3/3] omap3isp: Configure CSI-2 phy based on platform data

2012-10-07 Thread Sakari Ailus
Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was configured from the board code. This patch is dependent on "omap3: Provide means for changing CSI2 PHY configuration". Signed-off-by: Sakari Ai

[PATCH v3 1/3] omap3isp: Add CSI configuration registers from control block to ISP resources

2012-10-07 Thread Sakari Ailus
Add the registers used to configure the CSI-2 receiver PHY on OMAP3430 and 3630 and map them in the ISP driver. The register is part of the control block but it only is needed by the ISP driver. Signed-off-by: Sakari Ailus --- arch/arm/mach-omap2/devices.c | 10 ++ drivers/medi

[PATCH v3 0/3] OMAP 3 CSI-2 configuration

2012-10-07 Thread Sakari Ailus
Hi all, This is an update to an old patchset for CSI-2 configuration for OMAP 3430 and 3630r. The patches have been tested on the 3630 only so far, and I don't plan to test them on 3430 in the near future. I changed quite a few things after a discussion with Tony a few days ago. The ISP driver no

[PATCH] ARM: OMAP: fix return value check in realtime_counter_init()

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- ar

[PATCH] ARM: OMAP2+: remove duplicated include from board-omap3stalker.c

2012-10-07 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- arch/arm/mach-omap2/board-omap3stalker.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3stal

Re: [PATCH v2 1/5] [media] omap3isp: Fix compilation error in ispreg.h

2012-10-07 Thread Mauro Carvalho Chehab
Em Tue, 2 Oct 2012 09:31:58 -0700 Tony Lindgren escreveu: > * Ido Yariv [121001 15:48]: > > Commit c49f34bc ("ARM: OMAP2+ Move SoC specific headers to be local to > > mach-omap2") moved omap34xx.h to mach-omap2. This broke omap3isp, as it > > includes omap34xx.h. > > > > Instead of moving omap3

[PATCH v2] ARM: OMAP: Fix dependency for OMAP_DEBUG_LEDS

2012-10-07 Thread Axel Lin
This fixes below build error when CONFIG_LEDS_CLASS is not set. LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_

Re: [PATCH] ARM: OMAP: Fix dependency for OMAP_DEBUG_LEDS

2012-10-07 Thread Russell King - ARM Linux
On Sun, Oct 07, 2012 at 04:00:37PM +0800, Axel Lin wrote: > config OMAP_DEBUG_LEDS > - def_bool y if NEW_LEDS > + default y if LEDS_CLASS > depends on OMAP_DEBUG_DEVICES This change is wrong. You're making this config entry untyped. -- To unsubscribe from this list: send the line "

[PATCH] ARM: OMAP: Fix dependency for OMAP_DEBUG_LEDS

2012-10-07 Thread Axel Lin
This fixes below build error: LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' arch/arm/plat-om