[PATCH] Correct definition of register of OMAP4_RM_RSTST and OMAP4_RM_RSTTIME

2010-12-07 Thread MING ZHOU
Since we need to reconfigure Reset time for OMAP4, we found the OMAP4 register definition for reset time is wrong according to spec of OMAP4. And we verified this by reading default value of register. We found the offset definition of Reset time and Reset Test register should be switched. After

Re: State of LDP3430 platform

2010-12-07 Thread Russell King - ARM Linux
On Mon, Dec 06, 2010 at 11:27:45AM -0700, Paul Walmsley wrote: On Mon, 6 Dec 2010, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [101206 04:45]: NET: Registered protocol family 16 [ cut here ] WARNING: at

RE: [PATCH] Correct definition of register of OMAP4_RM_RSTST and OMAP4_RM_RSTTIME

2010-12-07 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of MING ZHOU Sent: Tuesday, December 07, 2010 1:04 PM To: linux-omap@vger.kernel.org Cc: Tony Lindgren; Paul Walmsley Subject: [PATCH] Correct definition of register of

Re: [PATCHv2 0/6] omap-aes off mode and error handling fixes

2010-12-07 Thread Dmitry Kasatkin
thanks On 02/12/10 10:37, ext Herbert Xu wrote: On Tue, Nov 30, 2010 at 10:13:26AM +0200, Dmitry Kasatkin wrote: Changes to v1: - omap type specific handling removed - fixed backlog handling bug in redundunt locking is removed - aes module initialized once per request instead of dma

beagleboard-xm network with mainline?

2010-12-07 Thread Guennadi Liakhovetski
Hi I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the SMSC chip, nor over usb-device in gadget mode, nor can I power on the on-board hub to plug in a usb-to-eth dongle. What's the catch? How do I

Re: [PATCH] MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c

2010-12-07 Thread Samuel Ortiz
Hi Paul, On Mon, Dec 06, 2010 at 06:40:38PM -0700, Paul Walmsley wrote: On Tue, 7 Dec 2010, Bryan Wu wrote: On Tue, Dec 7, 2010 at 8:35 AM, Paul Walmsley p...@pwsan.com wrote: Fix the following section mismatch warning when building omap2plus_defconfig: WARNING:

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Felipe Balbi
Hi, On Tue, Dec 07, 2010 at 10:42:45AM +0100, Guennadi Liakhovetski wrote: I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the SMSC chip, nor over usb-device in gadget mode, nor can I power on the

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Guennadi Liakhovetski
Hi Felipe On Tue, 7 Dec 2010, Felipe Balbi wrote: Hi, On Tue, Dec 07, 2010 at 10:42:45AM +0100, Guennadi Liakhovetski wrote: I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the SMSC chip, nor

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Felipe Balbi
Hi, On Tue, Dec 07, 2010 at 10:56:45AM +0100, Guennadi Liakhovetski wrote: On Tue, Dec 07, 2010 at 10:42:45AM +0100, Guennadi Liakhovetski wrote: I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the

Re: [PATCH v2 1/3] ARM: omap: Enable low-level omap3 PM code to work withCONFIG_THUMB2_KERNEL

2010-12-07 Thread Dave Martin
On Tue, Dec 7, 2010 at 6:31 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Dave, -Original Message- From: linaro-dev-boun...@lists.linaro.org [mailto:linaro-dev- boun...@lists.linaro.org] On Behalf Of Dave Martin Sent: Monday, December 06, 2010 11:06 PM To:

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Guennadi Liakhovetski
On Tue, 7 Dec 2010, Felipe Balbi wrote: Hi, On Tue, Dec 07, 2010 at 10:56:45AM +0100, Guennadi Liakhovetski wrote: On Tue, Dec 07, 2010 at 10:42:45AM +0100, Guennadi Liakhovetski wrote: I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2,

Re: UbiFS + HWECC(?) + BeagleBoard = fail

2010-12-07 Thread Luca Ceresoli
Luca Ceresoli wrote: While I thank you for you proposed solution, I see it does not work here. In fact I commented the #define CONFIG_MTD_NAND_OMAP_HWECC and left MTD_NAND_OMAP_PREFETCH disabled as it previously was, and got compilation errors: Wrong, sorry. Your solution compiles and works.

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Koen Kooi
Op 7 dec 2010, om 10:42 heeft Guennadi Liakhovetski het volgende geschreven: Hi I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the SMSC chip, nor over usb-device in gadget mode, nor can I power

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Felipe Balbi
On Tue, Dec 07, 2010 at 11:17:18AM +0100, Guennadi Liakhovetski wrote: On Tue, 7 Dec 2010, Felipe Balbi wrote: Hi, On Tue, Dec 07, 2010 at 10:56:45AM +0100, Guennadi Liakhovetski wrote: On Tue, Dec 07, 2010 at 10:42:45AM +0100, Guennadi Liakhovetski wrote: I managed to bring a mainline

RE: [PATCH v3 0/3] V4L/DVB: OMAP_VOUT: Allow omap_vout to build without VRFB

2010-12-07 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Thursday, November 04, 2010 1:26 PM To: Hiremath, Vaibhav Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Taneja, Archit Subject: [PATCH v3 0/3] V4L/DVB: OMAP_VOUT: Allow omap_vout to build without VRFB [Hiremath,

RE: [PATCH v3 2/3] V4L/DVB: OMAP_VOUT: Create a seperate vrfb functions library

2010-12-07 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Thursday, November 04, 2010 1:26 PM To: Hiremath, Vaibhav Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Taneja, Archit Subject: [PATCH v3 2/3] V4L/DVB: OMAP_VOUT: Create a seperate vrfb [Hiremath, Vaibhav] Spelling

RE: [PATCH v3 1/3] V4L/DVB: OMAP_VOUT: Move some functions and preprocessor defines from omap_vout

2010-12-07 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Thursday, November 04, 2010 1:26 PM To: Hiremath, Vaibhav Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Taneja, Archit Subject: [PATCH v3 1/3] V4L/DVB: OMAP_VOUT: Move some functions and preprocessor defines from

RE: [PATCH v3 3/3] V4L/DVB: OMAP_VOUT: Use rotation_type to choose between vrfb rotation and no rotation

2010-12-07 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Thursday, November 04, 2010 1:26 PM To: Hiremath, Vaibhav Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Taneja, Archit Subject: [PATCH v3 3/3] V4L/DVB: OMAP_VOUT: Use rotation_type to choose between vrfb rotation and no

Re: [PATCH v1 0/9] OMAP: DMA: hwmod and DMA as platform device

2010-12-07 Thread G, Manjunath Kondaiah
Hi Tony, * G, Manjunath Kondaiah manj...@ti.com [2010-12-04 09:13:57 +0530]: Patch series to convert DMA library into platform driver using platform device model and adapting hwmod for omap2+. The original patch series : http://comments.gmane.org/gmane.linux.ports.arm.omap/46953 has been

[PATCH] OMAP3: clean up ASM idle code

2010-12-07 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Clean up of the ASM code: - reorganized the code in logical sections: defines, API functions, internal functions and variables, - reworked and simplified the execution paths, for better readability and to avoid duplication of code, - added comments on the

Re: beagleboard-xm network with mainline?

2010-12-07 Thread Guennadi Liakhovetski
On Tue, 7 Dec 2010, Koen Kooi wrote: Op 7 dec 2010, om 10:42 heeft Guennadi Liakhovetski het volgende geschreven: Hi I managed to bring a mainline 2.6.36 kinda kernel to run on my bbxm, Debian rootfs in mmcblk0p2, but I'm getting no connection - neither over the SMSC chip, nor

Re: [PATCH v2 1/3] ARM: omap: Enable low-level omap3 PM code to work withCONFIG_THUMB2_KERNEL

2010-12-07 Thread Jean Pihet
Hi Dave, On Tue, Dec 7, 2010 at 11:16 AM, Dave Martin dave.mar...@linaro.org wrote: On Tue, Dec 7, 2010 at 6:31 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Dave, -Original Message- From: linaro-dev-boun...@lists.linaro.org [mailto:linaro-dev- boun...@lists.linaro.org] On

[PATCH] arm: plat-omap: counter_32k: Fix build error due to IS_ERR

2010-12-07 Thread Sourav Poddar
Fix the following build error by including linux/err.h arch/arm/plat-omap/counter_32k.c: In function 'omap_init_clocksource_32k': arch/arm/plat-omap/counter_32k.c:167: error: implicit declaration of function 'IS_ERR' The above error is due to the following

Re: [PATCH] arm: plat-omap: counter_32k: Fix build error due to IS_ERR

2010-12-07 Thread Felipe Balbi
On Tue, Dec 07, 2010 at 05:39:37PM +0530, Sourav Poddar wrote: Fix the following build error by including linux/err.h arch/arm/plat-omap/counter_32k.c: In function 'omap_init_clocksource_32k': arch/arm/plat-omap/counter_32k.c:167: error: implicit declaration of

[PATCH] OMAP4: Pandaboard: Fixing MMC card detect gpio line

2010-12-07 Thread Raghuveer Murthy
The .gpio_cd member of omap2_hsmmc_info is not initialized. This will default to zero. On Pandaboard this interferes with gpio line assigned for powering TFP410 DVI chip. This fix was missed out in the previous commit bf56f0a6668cd, from Nishanth Menon Signed-off-by: Kishore Kadiyala

[PATCH] OMAP4: Pandaboad: Add omap_reserve functionality

2010-12-07 Thread Raghuveer Murthy
This patch adds omap_reserve functionality to board-omap4panda.c. Helps in the reserving boot time memory in SDRAM, used here for framebuffer allocation. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Raghuveer Murthy raghuveer.mur...@ti.com ---

[PATCH] ARM: OMAP: Power on EHCI, serial, camera and DVI on beagleboard-xM

2010-12-07 Thread Koen Kooi
From: Koen Kooi k...@dominion.thruhere.net Signed-off-by: Koen Kooi k...@beagleboard.org --- arch/arm/mach-omap2/board-omap3beagle.c | 27 +++ 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c

Re: [PATCH] ARM: OMAP: Power on EHCI, serial, camera and DVI on beagleboard-xM

2010-12-07 Thread Koen Kooi
Op 7 dec 2010, om 13:40 heeft Koen Kooi het volgende geschreven: + /* Power on camera interface on P7/P8 or DVI on A2 and beyond */ + if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) { + gpio_request(gpio + 2, CAM_EN); + gpio_direction_output(gpio + 2, 1);

RE: [PATCH 6/7] [RFC] OMAP: hwmod: SYSCONFIG register modification for MCBSP

2010-12-07 Thread Basak, Partha
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, December 02, 2010 4:24 PM To: Cousson, Benoit Cc: Basak, Partha; ABRAHAM, KISHON VIJAY; Paul Walmsley; linux- o...@vger.kernel.org; Kamat, Nishant; Varadarajan, Charulatha; Datta,

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

2010-12-07 Thread Sergei Shtylyov
Hello. On 06-12-2010 20:54, Tony Lindgren wrote: 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. I'm not fond of the whole approach. I'm not sure why

Re: [PATCH 13/14] OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files

2010-12-07 Thread Mark Brown
On Mon, Dec 06, 2010 at 06:25:17PM -0700, Paul Walmsley wrote: In preparation for adding OMAP4-specific PRCM accessor/mutator functions, split the existing OMAP2/3 PRCM code into OMAP2/3-specific files. Most of what was in mach-omap2/{cm,prm}.{c,h} has now been moved into

[PATCH 0/7] usb: otg: TWL6030: OMAP4430: musb transceiver driver support for OMAP4

2010-12-07 Thread Hema HK
This patch series has the support for TWL6030-usb transceiver driver and changes in the musb driver to make it functional with OMAP4430. OMAP4 musb support UTMI and ULPI transceiver interfaces. In UTMI mode, the transceiver functionality is split between the TWL6030 PMIC chip and OMAP4 embedded

[PATCH 1/7] mfd: TWL6030: USBOTG VBUS event generation on

2010-12-07 Thread Hema HK
With TWL6030-usb, VBUS SESS_VLD and SESS_END events are not generated as expected. When these interrupts are enabled, charger VBUS detection interrupt does not get generated. So USBOTG has to be dependent on charger VBUS interrupts. So added one bit for USBOTG and changed the handler to call the

[PATCH 2/7] usb: otg: Adding twl6030-usb transceiver driver for

2010-12-07 Thread Hema HK
Adding the twl6030-usb transceiver support for OMAP4 musb driver. OMAP4 supports 2 types of transceiver interface. 1. UTMI: The PHY is embedded within OMAP4. The transceiver functionality is split between the twl6030 PMIC chip and OMAP4430. The VBUS, ID pin sensing and OTG SRP generation part

[PATCH 3/7] usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver.

2010-12-07 Thread Hema HK
Added the TWL6030-usb transceiver option in the Kconfig Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: David Brownell dbrown...@users.sourceforge.net --- drivers/usb/otg/Kconfig | 12 1 file changed, 12 insertions(+) Index:

[PATCH 4/7] mfd: TWL6030: OMAP4: Registering the TWL6030-usb device

2010-12-07 Thread Hema HK
Registering the twl6030-usb transceiver device as a child to twl6030 core. Removed the NOP transceiver init call from board file. Populated twl4030_usb_data platform data structure with the function pointers for OMAP4430 internal PHY operation to be used twl630-usb driver. Signed-off-by: Hema

[PATCH 5/7] usb: musb: TWL6030: Selecting TWL6030_USB transceiver

2010-12-07 Thread Hema HK
Selecting the twl6030-usb for OMAP4430SDP and OMAP4 PANDA board and adding OMAP4 internal phy code for compilation Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile |1 + drivers/usb/musb/Kconfig |1

[PATCH 6/7] usb: musb: Adding musb support for OMAP4430

2010-12-07 Thread Hema HK
OMAP4430 supports UTMI and ULPI types of transceiver interface. In UTMI mode: The PHY is embedded within OMAP4430. The transceiver functionality is split between the twl6030 PMIC chip and OMAP4430. The VBUS, ID pin sensing and OTG SRP generation part is integrated in TWL6030 and UTMI PHY

[PATCH 7/7] arm: OMAP4430: musb: Enable musb device initialization for OMAP4430

2010-12-07 Thread Hema HK
musb device registration during board initialization of OMAP4430SDP and OMAP4430 PANDA.Enable the musb OTG mode. Signed-off-by: Hema HK hem...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board-4430sdp.c|6 ++

Re: [PATCH] OMAP4: Pandaboad: Add omap_reserve functionality

2010-12-07 Thread Nishanth Menon
Raghuveer Murthy had written, on 12/07/2010 06:25 AM, the following: This patch adds omap_reserve functionality to board-omap4panda.c. Helps in the reserving boot time memory in SDRAM, used here for framebuffer allocation. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Since Russell

RE: [PATCH 1/2] AM35x: musb: fix compilation error

2010-12-07 Thread Gupta, Ajay Kumar
Hi, Is AM35x that different ? Can't you just write to MUSB_INTRRX MUSB_INTRTX and MUSB_INTRUSB ?? Writing to MUSB_INTRRX/TX/USB wouldn't help. We have to clear interrupt Bit in control register INTR_LVL_CLR. I see, thanks for the info :-) Felipe, I have recreated this patch (attached)

Re: [PATCH v2 1/3] ARM: omap: Enable low-level omap3 PM code to work withCONFIG_THUMB2_KERNEL

2010-12-07 Thread Dave Martin
Hi, On Tue, Dec 7, 2010 at 11:59 AM, Jean Pihet jean.pi...@newoldbits.com wrote: Hi Dave, On Tue, Dec 7, 2010 at 11:16 AM, Dave Martin dave.mar...@linaro.org wrote: On Tue, Dec 7, 2010 at 6:31 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Dave, -Original Message- From:

Re: [PATCH v2 1/3] ARM: omap: Enable low-level omap3 PM code to work withCONFIG_THUMB2_KERNEL

2010-12-07 Thread Dave Martin
On Tue, Dec 7, 2010 at 2:53 PM, Dave Martin dave.mar...@linaro.org wrote: [...] Note that converting to C doesn't mean that code which attempts to copy function bodies will work: you still need to handle the fact that if f() is a C function symbol, then the value of the symbol f is actually

Re: [PATCH] Correct definition of register of OMAP4_RM_RSTST and OMAP4_RM_RSTTIME

2010-12-07 Thread Paul Walmsley
Hello, On Tue, 7 Dec 2010, MING ZHOU wrote: Since we need to reconfigure Reset time for OMAP4, we found the OMAP4 register definition for reset time is wrong according to spec of OMAP4. And we verified this by reading default value of register. We found the offset definition of Reset time

Re: [PATCH] MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c

2010-12-07 Thread Paul Walmsley
Hello Samuel, On Tue, 7 Dec 2010, Samuel Ortiz wrote: On Mon, Dec 06, 2010 at 06:40:38PM -0700, Paul Walmsley wrote: That's fine with me. Samuel et al, Bryan's already done a patch for this stuff: https://patchwork.kernel.org/patch/367011/ so we should use that instead, if

Re: [PATCH] Correct definition of register of OMAP4_RM_RSTST and OMAP4_RM_RSTTIME

2010-12-07 Thread Cousson, Benoit
Hi Paul, On 12/7/2010 5:04 PM, Paul Walmsley wrote: Hello, On Tue, 7 Dec 2010, MING ZHOU wrote: Since we need to reconfigure Reset time for OMAP4, we found the OMAP4 register definition for reset time is wrong according to spec of OMAP4. And we verified this by reading default value of

Re: [PATCH 1/2] AM35x: musb: fix compilation error

2010-12-07 Thread Felipe Balbi
On Tue, Dec 07, 2010 at 07:25:12PM +0530, Gupta, Ajay Kumar wrote: Hi, Is AM35x that different ? Can't you just write to MUSB_INTRRX MUSB_INTRTX and MUSB_INTRUSB ?? Writing to MUSB_INTRRX/TX/USB wouldn't help. We have to clear interrupt Bit in control register INTR_LVL_CLR. I see, thanks for

Re: [PATCH v2 2/3] ARM: omap4: Correct definition of do_wfi() forCONFIG_THUMB2_KERNEL

2010-12-07 Thread Dave Martin
Hi, On Tue, Dec 7, 2010 at 6:28 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Dave, -Original Message- From: linaro-dev-boun...@lists.linaro.org [mailto:linaro-dev- boun...@lists.linaro.org] On Behalf Of Dave Martin Sent: Monday, December 06, 2010 11:06 PM To:

[PATCH] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend on !CPU_V6

2010-12-07 Thread Dave Martin
This makes sense, because Thumb-2 code can't execute on anything prior to ARMv7. This will avoid accidentally configuring a broken kernel where the config otherwise would allow multiple architecture versions to coexist in the same kernel. Not adding !CPU_V5 etc., because the chance of anyone

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-07 Thread Hans Verkuil
On Friday, December 03, 2010 15:54:08 Mark Brown wrote: On Fri, Dec 03, 2010 at 02:50:58PM +0100, Laurent Pinchart wrote: On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: Just to confirm thinks, Mark's proposal is to replace 'connected' by 'linked' and 'active' by 'connected'.

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-07 Thread Mark Brown
On Tue, Dec 07, 2010 at 06:13:35PM +0100, Hans Verkuil wrote: Personally I think this is perfectly clear. The original confusion came from the word 'active', which I understand means 'streaming' in alsa. By adding a 'streaming' flag in addition to the active flag I think it will be clear that

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-07 Thread Hans Verkuil
On Tuesday, December 07, 2010 18:55:05 Mark Brown wrote: On Tue, Dec 07, 2010 at 06:13:35PM +0100, Hans Verkuil wrote: Personally I think this is perfectly clear. The original confusion came from the word 'active', which I understand means 'streaming' in alsa. By adding a 'streaming' flag

OMAP HSMMC problems with off-mode

2010-12-07 Thread Paul Walmsley
Madhusudhan, On my OMAP35xx BeagleBoard here, HSMMC is non-functional after returning from dynamic off-mode. The MMC LED turns on and stays on, and the process hangs, although the rest of the system still seems to run. Looks like you're listed as the maintainer for this code. Do you know

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Chikkature Rajashekar, Madhusudhan
Paul, Last I tested OFF mode was after Adrian's power saving series was merged. I tested it on Kevin PM branch then and it was functional on my omap3 board. I need to check on the latest commit. Did you see this problem in suspend/resume path or the cpuidle path? Regards, Madhu On Tue, Dec 7,

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Paul Walmsley
Hello Madhusudhan, On Tue, 7 Dec 2010, Chikkature Rajashekar, Madhusudhan wrote: Last I tested OFF mode was after Adrian's power saving series was merged. I tested it on Kevin PM branch then and it was functional on my omap3 board. I need to check on the latest commit. Did you see this

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-07 Thread Mark Brown
On Tue, Dec 07, 2010 at 07:11:39PM +0100, Hans Verkuil wrote: Ah, now I understand what you mean. Would 'activated' be better than 'active'? Better, yes, though it still sounds a bit like something should be actively (IYSWIM) happening. In the absence of better ideas I could go with this.

Re: [PATCH v2 1/3] ARM: omap: Enable low-level omap3 PM code to work withCONFIG_THUMB2_KERNEL

2010-12-07 Thread Nicolas Pitre
On Tue, 7 Dec 2010, Dave Martin wrote: On Tue, Dec 7, 2010 at 2:53 PM, Dave Martin dave.mar...@linaro.org wrote: [...] Note that converting to C doesn't mean that code which attempts to copy function bodies will work: you still need to handle the fact that if f() is a C function symbol,

Re: [PATCH v2 2/3] ARM: omap4: Correct definition of do_wfi() forCONFIG_THUMB2_KERNEL

2010-12-07 Thread Russell King - ARM Linux
On Tue, Dec 07, 2010 at 04:50:50PM +, Dave Martin wrote: I'll follow up shortly with a patch to the generic ARM Kconfig to make this explicit, so that ARCH_OMAP2 and THUMB2_KERNEL can't accidentally be configured together. That's a rubbish dependency. You may have an ARCH_OMAP2 platform

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Adrian Hunter
On 07/12/10 20:21, ext Paul Walmsley wrote: Madhusudhan, On my OMAP35xx BeagleBoard here, HSMMC is non-functional after returning from dynamic off-mode. The MMC LED turns on and stays on, and the process hangs, although the rest of the system still seems to run. Looks like you're listed as

Re: [PATCH v5 0/3] OMAP2/3: DMA: FIFO drain errata fixes

2010-12-07 Thread Greg KH
On Fri, Nov 05, 2010 at 02:29:02PM -0700, Tony Lindgren wrote: Hi Greg, Considering below.. * Peter Ujfalusi peter.ujfal...@nokia.com [101021 02:56]: Sorry, I did missed this mail... On Saturday 09 October 2010 01:17:46 ext Tony Lindgren wrote: Guys, as we're so late into

Re: [PATCH 11/14] OMAP4: PRCM: reorganize existing OMAP4 PRCM header files

2010-12-07 Thread Cousson, Benoit
On 12/7/2010 2:25 AM, Paul Walmsley wrote: [...] + * + * XXX This file needs to be updated to align on one of OMAP4, OMAP44XX, + * or OMAP4430. Yep, I was thinking to change that as well. My first thought was OMAP4 to get a shorter name, but when we will introduce OMAP4440, we might

[PATCH] OMAP2+: PM/serial: fix console semaphore acquire during suspend

2010-12-07 Thread Kevin Hilman
commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled) added use of the console semaphore to protect UARTs from being accessed after disabled during idle, but this causes problems in suspend. During suspend, the console semaphore

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Chikkature Rajashekar, Madhusudhan
On Tue, Dec 7, 2010 at 1:51 PM, Adrian Hunter adrian.hun...@nokia.com wrote: On 07/12/10 20:21, ext Paul Walmsley wrote: Madhusudhan, On my OMAP35xx BeagleBoard here, HSMMC is non-functional after returning from dynamic off-mode.  The MMC LED turns on and stays on, and the process hangs,

Re: OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled

2010-12-07 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: * Kevin Hilman khil...@deeprootsystems.com [101124 16:32]: Paul Walmsley p...@pwsan.com writes: snip Acked-by: Kevin Hilman khil...@deeprootsystems.com Very nice. I've been exploring various solutions to this problem as well, but this one is much

How to change freq of mmc2_clk to 48Mhz for OMAP35xx

2010-12-07 Thread Elvis Dowson
Hi, What should I do to change the output frequency of mmc2_clk signal to 48Mhz for the OMAP35xx processor? Right now it is giving an output of 96MHz and the signal output looks more like a sine wave than a square wave clock output signal. Elvis Dowson -- To unsubscribe from this

Re: [PATCH] arm: plat-omap: counter_32k: Fix build error due to IS_ERR

2010-12-07 Thread Kevin Hilman
Sourav Poddar sourav.pod...@ti.com writes: Fix the following build error by including linux/err.h arch/arm/plat-omap/counter_32k.c: In function 'omap_init_clocksource_32k': arch/arm/plat-omap/counter_32k.c:167: error: implicit declaration of function

Re: [PATCH] OMAP2+: PM/serial: fix console semaphore acquire during suspend

2010-12-07 Thread Jean Pihet
On Tue, Dec 7, 2010 at 9:50 PM, Kevin Hilman khil...@deeprootsystems.com wrote: commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled) added use of the console semaphore to protect UARTs from being accessed after disabled

Re: [PATCH] OMAP2+: PM/serial: fix console semaphore acquire during suspend

2010-12-07 Thread Paul Walmsley
On Tue, 7 Dec 2010, Kevin Hilman wrote: commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled) added use of the console semaphore to protect UARTs from being accessed after disabled during idle, but this causes problems in

Re: Unbalanced IRQ wake disable during resume from static suspend

2010-12-07 Thread Kevin Hilman
Paul Walmsley p...@pwsan.com writes: Hi Kevin On Thu, 2 Dec 2010, Kevin Hilman wrote: I guess this hasn't been seen before since we haven't tested the sysfs wakeup interface for the omap-serial driver. For on-chip OMAP UARTs, using the sysfs interface isn't needed as the serial core is

Re: [PATCH 0/8] OMAP2+: hwmod core upgrades for 2.6.38: first set

2010-12-07 Thread Kevin Hilman
Paul Walmsley p...@pwsan.com writes: On Mon, 22 Nov 2010, Kevin Hilman wrote: Paul Walmsley p...@pwsan.com writes: On Tue, 16 Nov 2010, Paul Walmsley wrote: This patch series contains upgrades for the OMAP2+ hwmod core code, intended for 2.6.38. Most of these patches were developed

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

2010-12-07 Thread Tony Lindgren
* Varadarajan, Charulatha ch...@ti.com [101206 22:58]: On Tue, Dec 7, 2010 at 11:05, Varadarajan, Charulatha ch...@ti.com wrote: On Tue, Dec 7, 2010 at 10:49, Cory Maccarrone darkstar6...@gmail.com wrote:    omap_gpio omap_gpio.5: Could not get gpio dbck    omap_gpio omap_gpio.6:

Re: [PATCH 0/3] OMAP: I2C and UART device name cleanup

2010-12-07 Thread Kevin Hilman
Benoit Cousson b-cous...@ti.com writes: Hi All, In order to enforce a little bit of consistency in the omap devices name, the convention for omap devices name will be now omap_XXX. All the drivers adapted to hwmod will be named like that during the on-going adaptations. The I2C and UART

Re: [PATCH] omap1: pm_bus: Fix compilation warning.

2010-12-07 Thread Kevin Hilman
Marek Belisko marek.beli...@open-nandra.com writes: Fix following compilation warning: arch/arm/mach-omap1/pm_bus.c: In function 'omap1_pm_runtime_resume': arch/arm/mach-omap1/pm_bus.c:51: warning: unused variable 'ret' Signed-off-by: Marek Belisko marek.beli...@open-nandra.com Acked-by:

Re: [PATCH] OMAP2+: PM/serial: fix console semaphore acquire during suspend

2010-12-07 Thread Paul Walmsley
Hi, Two comments: On Tue, 7 Dec 2010, Kevin Hilman wrote: commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled) added use of the console semaphore to protect UARTs from being accessed after disabled during idle, but this

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Paul Walmsley
Hi, On Tue, 7 Dec 2010, Chikkature Rajashekar, Madhusudhan wrote: On Tue, Dec 7, 2010 at 1:51 PM, Adrian Hunter adrian.hun...@nokia.com wrote: It is at least because omap_pm_get_dev_context_loss_count() is not implemented.  Tero Kristo was looking at that recently. Yes. I agree that

[PATCH 12/11] omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx

2010-12-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [101204 13:16]: * 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

[PATCH] MMC: omap_hsmmc: enable interface clock before calling mmc_host_enable()

2010-12-07 Thread Paul Walmsley
In the OMAP HSMMC driver, the code path entered via mmc_host_enable() can include register accesses to the HSMMC IP block. For this to work, both the device interface clock and functional clock need to be enabled before mmc_host_enable() is called. However, omap_hsmmc_probe() calls

Re: OMAP HSMMC problems with off-mode

2010-12-07 Thread Paul Walmsley
Hi, Looks like 0xfa09c014 is the MMC SYSSTATUS register... maybe there's something wrong with the clock control. Just sent a patch for this one, it's relatively minor. After applying it and the 'brutal context save/restore test' patch, HSMMC off-mode indeed seems to work much better. Are

[PATCH v2] OMAP2+: PM/serial: fix console semaphore acquire during suspend

2010-12-07 Thread Kevin Hilman
commit 0d8e2d0dad98a693bad88aea6876ac8b94ad95c6 (OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled) added use of the console semaphore to protect UARTs from being accessed after disabled during idle, but this causes problems in suspend. During suspend, the console semaphore

Re: [RFC] add BUG_ON_MAPPABLE_NULL macro

2010-12-07 Thread Andrew Morton
On Sun, 5 Dec 2010 12:06:03 +0200 Ohad Ben-Cohen o...@wizery.com wrote: Introduce BUG_ON_MAPPABLE_NULL in order to eliminate redundant BUG_ON code, checking for NULL addresses, on architectures where the zero address can never be mapped. Originally proposed by Russell King

Re: UbiFS + HWECC(?) + BeagleBoard = fail

2010-12-07 Thread Charles Manning
On Tuesday 07 December 2010 23:29:59 Luca Ceresoli wrote: Luca Ceresoli wrote: While I thank you for you proposed solution, I see it does not work here. In fact I commented the #define CONFIG_MTD_NAND_OMAP_HWECC and left MTD_NAND_OMAP_PREFETCH disabled as it previously was, and got

Re: [PATCH 00/14] OMAP: PRCM/powerdomain/clockdomain patches for 2.6.38, part one

2010-12-07 Thread Kevin Hilman
Paul Walmsley p...@pwsan.com writes: This patch series, intended for 2.6.38: [...] Kevin, I'd appreciate review and acks, if appropriate, on the patches that touch code that you maintain. Reviewed-by: Kevin Hilman khil...@deeprootsystems.com Tested-by: Kevin Hilman

Re: State of LDP3430 platform

2010-12-07 Thread Paul Walmsley
On Tue, 7 Dec 2010, Russell King - ARM Linux wrote: So LDP will remain unusable until after the 2.6.38 merge window? I don't think that Tony or I realized that LDP3430 was broken until your E-mail. Usually I use a BeagleBoard 35xx for OMAP3430 testing, and I think Tony uses an Overo. The

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

2010-12-07 Thread Tony Lindgren
* Varadarajan, Charulatha ch...@ti.com [101125 04:39]: Implement OMAP GPIO module in platform device model. OMAP2+ specific GPIO module uses hwmod FW. I'll add the following patch underneath this series as otherwise some gpio_request calls will fail after this series. Regards, Tony From:

Re: [PATCH 12/11] omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx

2010-12-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [101207 15:13]: Note that this will cause omap-keypad.c driver to not work on 7xx. However, the right fix there is to move over to gpio-keys instead as suggested by Cory Maccarrone darkstar6...@gmail.com and Janusz Krzysztofik jkrzy...@tis.icnet.pl. Updated

Re: [PATCH] OMAP3: disable idle early in the suspend sequence

2010-12-07 Thread Kevin Hilman
Hi Jean, Jean Pihet jean.pi...@newoldbits.com writes: Some bad interaction between the idle and the suspend paths has been noticed: the idle code is called during the suspend enter and exit sequences. This could cause corruption or lock-up of resources. The solution is to move the call to

[PATCH] OMAP1: SRAM: fix size for OMAP1611 SoCs

2010-12-07 Thread Kevin Hilman
Kernel was failing to boot on omap1611 based OSK boards due to mis-configured SRAM size. Existing code was using a hard-coded value for 250k, which was then rounded down by PAGE_SIZE. Increasing this to 256k allows kernel to boot on omap1611 SoCs. Problem reported by and initial fix suggested

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

2010-12-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [101204 13:27]: 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. Heh this was totally not

Re: [PATCH] MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c

2010-12-07 Thread Bryan Wu
On Wed, Dec 8, 2010 at 12:12 AM, Paul Walmsley p...@pwsan.com wrote: Hello Samuel, On Tue, 7 Dec 2010, Samuel Ortiz wrote: On Mon, Dec 06, 2010 at 06:40:38PM -0700, Paul Walmsley wrote: That's fine with me.  Samuel et al, Bryan's already done a patch for this stuff:

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

2010-12-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [101204 19:00]: * 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

[PATCH 3/3] omap2+: Initialize omap_irq_base for entry-macro.S from platform code

2010-12-07 Thread Tony Lindgren
This way we can use the generic omap SoC detection code instead. Signed-off-by: Tony Lindgren t...@atomide.com diff --git a/arch/arm/mach-omap2/include/mach/entry-macro.S b/arch/arm/mach-omap2/include/mach/entry-macro.S index 06e64e1..6032941 100644 ---

[PATCH 2/3] omap1: Use get_irqnr_preamble

2010-12-07 Thread Tony Lindgren
This saves some cycles for multiple interrupts case. Signed-off-by: Tony Lindgren t...@atomide.com diff --git a/arch/arm/mach-omap1/include/mach/entry-macro.S b/arch/arm/mach-omap1/include/mach/entry-macro.S index c9be6d4..584bf7b 100644 --- a/arch/arm/mach-omap1/include/mach/entry-macro.S +++

[PATCH 1/3] omap1: Use asm_irq_flags for entry-macro.S

2010-12-07 Thread Tony Lindgren
Initialize asm_irq_flags in omap_init_irq and use it in get_irqnr_and_base to detect between omap7xx and omap15xx/16xx. Note that both INT_1510_IH2_IRQ and INT_1510_IH2_IRQ are defined as 0, so use INT_1510_IH2_IRQ for both of them. Signed-off-by: Tony Lindgren t...@atomide.com diff --git

Re: [PATCH 3/4] omap1: Add omap1_defconfig

2010-12-07 Thread Tony Lindgren
* Felipe Contreras felipe.contre...@gmail.com [101207 04:28]: On Sat, Dec 4, 2010 at 11:36 PM, Tony Lindgren t...@atomide.com wrote: 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:

Re: [PATCH 2/7] usb: otg: Adding twl6030-usb transceiver driver for

2010-12-07 Thread Hari Kanigeri
Hema, On Tue, Dec 7, 2010 at 6:11 PM, Hema HK hem...@ti.com wrote: Adding the twl6030-usb transceiver support for OMAP4 musb driver. OMAP4 supports 2 types of transceiver interface. +} + +int omap4430_phy_set_clk(struct device *dev, int on) +{ +       static int state; probably good to

[PATCH] OMAP: kill all section mismatch warning for omap2plus_defconfig

2010-12-07 Thread Bryan Wu
This patch will kill following section mismatch warnings: WARNING: vmlinux.o(.text+0x24a00): Section mismatch in reference from the function zoom_twl_gpio_setup() to the (unknown reference) .init.data:(unknown) The function zoom_twl_gpio_setup() references the (unknown reference) __initdata

[PATCH] MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c

2010-12-07 Thread Bryan Wu
Fix the following section mismatch warning when building omap2plus_defconfig: WARNING: vmlinux.o(.data+0x47d7c): Section mismatch in reference from the variable twl_driver to the function .init.text:twl_probe() Signed-off-by: Bryan Wu bryan...@canonical.com Signed-off-by: Paul Walmsley

Re: State of LDP3430 platform

2010-12-07 Thread Paul Walmsley
On Tue, 7 Dec 2010, Paul Walmsley wrote: I do have a LDP3430 here though. It doesn't boot past: [0.00] Linux version 2.6.37-rc5 (p...@twilight) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #68 SMP Tue Dec 7 17:42:20 [0.00] CPU: ARMv7 Processor [411fc083] revision 3

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

2010-12-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [101207 17:32]: * Tony Lindgren t...@atomide.com [101204 13:27]: 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

[PATCH 0/7] usb: otg: TWL6030: OMAP4430: musb transceiver driver support for OMAP4

2010-12-07 Thread Hema HK
This patch series has the support for TWL6030-usb transceiver driver and changes in the musb driver to make it functional with OMAP4430. OMAP4 musb support UTMI and ULPI transceiver interfaces. In UTMI mode, the transceiver functionality is split between the TWL6030 PMIC chip and OMAP4 embedded

  1   2   >