Re: [RFC][PATCH 1/1] ARM: Add initial hibernation support

2010-11-25 Thread MyungJoo Ham
On Wed, Jun 30, 2010 at 11:28 PM, Hiroshi DOYU wrote: > From: Hiroshi DOYU > > Hibernation (a.k.a: Suspend-To-Disk) support for ARM > > Based on the original work from Romit and Raghu at TI. The original > patch(*1) was sent to LOML by Teerth Reddy > > *1: https://patchwork.kernel.org/patch/9644

Re: [PATCH v2 1/4] drivers: hwspinlock: add generic framework

2010-11-25 Thread Ohad Ben-Cohen
On Thu, Nov 25, 2010 at 10:22 PM, David Brownell wrote: > So there's no strong reason to think this is > actually "ggeneric".  Function names no longer > specify OMAP, but without other hardware under > the interface, calling it "generic" reflects > more optimism than reality.  (That was the > imp

Re: [PATCH v2 1/4] drivers: hwspinlock: add generic framework

2010-11-25 Thread Grant Likely
On Thu, Nov 25, 2010 at 9:59 PM, Olof Johansson wrote: > On Tue, Nov 23, 2010 at 05:38:57PM +0200, Ohad Ben-Cohen wrote: >> +#define pr_fmt(fmt)    "%s: " fmt, __func__ > > Not used. pr_fmt() is a magic #define that changes the behaviour of the pr_*() macros. See include/linux/kernel.h g. -- To

[Query]McSPI testing help on N800

2010-11-25 Thread Datta, Shubhrajyoti
Hello, We were wondering how to test McSPI on N800. Is there any peripheral connected to McSPI? Any inputs are welcome. Thanking you, With Regards, Shubhro -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH V2] hwmon: twl4030: Driver for twl4030 madc module

2010-11-25 Thread J, KEERTHY
On Thu, Nov 11, 2010 at 5:31 AM, Guenter Roeck wrote: > On Tue, Nov 09, 2010 at 04:20:57AM -0500, Keerthy wrote: >> Introducing a driver for MADC on TWL4030 powerIC. MADC stands for > monitoring >> ADC. This driver monitors the real time conversion of analog signals > like >> battery temperature,

Re: [PATCH v7 01/11] OMAP: GPIO: prepare for platform driver

2010-11-25 Thread Varadarajan, Charulatha
Olof Johansson, On Fri, Nov 26, 2010 at 10:08, Olof Johansson wrote: > Hi, > > On Tue, Nov 23, 2010 at 08:26:43PM +0530, Varadarajan, Charulatha wrote: >> +static void omap_gpio_mod_init(struct gpio_bank *bank, int id) >> +{ >> +     if (cpu_class_is_omap2()) { > > Why check class when you're che

Re: [PATCH v2 1/4] drivers: hwspinlock: add generic framework

2010-11-25 Thread Olof Johansson
Hi, In addition to other comments from others, here are a few on the implementation. There's a fair amount of potentially spammy and redundant debug code left in the generic code. I've commented on some of them below, but the same comments would apply to other locations as well. On Tue, Nov 23,

Re: [PATCH v7 01/11] OMAP: GPIO: prepare for platform driver

2010-11-25 Thread Olof Johansson
Hi, On Tue, Nov 23, 2010 at 08:26:43PM +0530, Varadarajan, Charulatha wrote: > +static void omap_gpio_mod_init(struct gpio_bank *bank, int id) > +{ > + if (cpu_class_is_omap2()) { Why check class when you're checking for all possible variants anyway? > + if (cpu_is_omap44xx()) {

Re: [PATCH 2/2 RESEND] ASoC: Fix resource reclaim for osk5912

2010-11-25 Thread Mark Brown
On Wed, Nov 24, 2010 at 10:24:01PM +0800, Axel Lin wrote: > In current implementation, there are resources leak in the error path. > This patch properly reclaims the allocated resources in the error path. > > Also adds a missing clk_put in osk_soc_exit. > > Signed-off-by: Axel Lin > Acked-by: Ja

Re: [RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 07:49:05PM +0200, Sakari Ailus wrote: > Currently when two media entities are connected they will be powered up > for the duration of the link setup, just in case the drivers would need > to access hardware for some reason. I don't think we have a need for > that at the mom

Re: [PATCH v2 1/4] drivers: hwspinlock: add generic framework

2010-11-25 Thread David Brownell
On Thu, 2010-11-25 at 08:40 +0200, Ohad Ben-Cohen wrote: > On Thu, Nov 25, 2010 at 5:59 AM, David Brownell wrote: > > My rule of thumb is that nothing is "generic" > > until at least three whatever-it-is instances > > plug in to it. Sometimes this is called > > the "Rule of Three". > > > > Other

Re: [linux-pm] [PATCH ver. 3] PM: add synchronous runtime interface for interrupt handlers

2010-11-25 Thread Rafael J. Wysocki
On Thursday, November 25, 2010, Oliver Neukum wrote: > Am Donnerstag, 25. November 2010, 16:52:39 schrieb Alan Stern: > > When a device is declared irq-safe in this way, the PM core increments > > the parent's usage count, so the parent will never be runtime > > suspended. This prevents difficult

[no subject]

2010-11-25 Thread ameya.palande
unsubscribe linux-omap-- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [linux-pm] [PATCH ver. 3] PM: add synchronous runtime interface for interrupt handlers

2010-11-25 Thread Oliver Neukum
Am Donnerstag, 25. November 2010, 16:52:39 schrieb Alan Stern: > When a device is declared irq-safe in this way, the PM core increments > the parent's usage count, so the parent will never be runtime > suspended. This prevents difficult situations in which an irq-safe > device can't resume because

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

2010-11-25 Thread Jean Pihet
Paul, On Thu, Nov 25, 2010 at 7:15 PM, Paul Walmsley wrote: > Hi > > On Thu, 25 Nov 2010, Jean Pihet wrote: > >> On Thu, Nov 25, 2010 at 12:49 AM, Paul Walmsley wrote: >> > >> > The console semaphore must be held while the OMAP UART devices are >> > disabled, lest a console write cause an ARM ab

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

2010-11-25 Thread Jean Pihet
On Thu, Nov 25, 2010 at 6:35 PM, Paul Walmsley wrote: > Hello Jean > > On Thu, 25 Nov 2010, Jean Pihet wrote: > >> On Thu, Nov 25, 2010 at 12:49 AM, Paul Walmsley wrote: >> > >> > The console semaphore must be held while the OMAP UART devices are >> > disabled, lest a console write cause an ARM a

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

2010-11-25 Thread Paul Walmsley
Hi On Thu, 25 Nov 2010, Jean Pihet wrote: > On Thu, Nov 25, 2010 at 12:49 AM, Paul Walmsley wrote: > > > > The console semaphore must be held while the OMAP UART devices are > > disabled, lest a console write cause an ARM abort (and a kernel crash) > > when the underlying console device is inacc

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Alan Cox
On Thu, 25 Nov 2010 12:20:31 -0500 Andy Walls wrote: > The signedness of char is ambiguous for 8 bit data, which is why an API would > normally use u8 (or s8, I guess). > > Since this is known to be character data, I would think char would be fine. > I am assuming C compilers would never assu

Re: [RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-25 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi Mark, Hi Laurent, others, > On Thursday 25 November 2010 14:49:08 Mark Brown wrote: >> On Thu, Nov 25, 2010 at 03:28:12AM +0100, Laurent Pinchart wrote: >>> If the entity is of node type, the power change is distributed to >>> all connected entities. For non-n

Re: [PATCH 2.6.37-rc1] ASoC: OMAP: fix OMAP1 compilation problem

2010-11-25 Thread Paul Walmsley
On Thu, 25 Nov 2010, Janusz Krzysztofik wrote: > Thursday 25 November 2010 08:02:01 Jarkko Nikula wrote: > > On Wed, 24 Nov 2010 15:53:42 -0800 > > > > Tony Lindgren wrote: > > > * Tony Lindgren [101124 15:25]: > > > > Anyways, Paul's patch should be merged during the -rc cycle > > > > because i

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

2010-11-25 Thread Paul Walmsley
Hello Jean On Thu, 25 Nov 2010, Jean Pihet wrote: > On Thu, Nov 25, 2010 at 12:49 AM, Paul Walmsley wrote: > > > > The console semaphore must be held while the OMAP UART devices are > > disabled, lest a console write cause an ARM abort (and a kernel crash) > > when the underlying console device

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Laurent Pinchart
Hi Andy, On Thursday 25 November 2010 18:20:31 Andy Walls wrote: > The signedness of char is ambiguous for 8 bit data, which is why an API > would normally use u8 (or s8, I guess). > > Since this is known to be character data, I would think char would be fine. I think so too. > I am assuming C

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Andy Walls
The signedness of char is ambiguous for 8 bit data, which is why an API would normally use u8 (or s8, I guess). Since this is known to be character data, I would think char would be fine. I am assuming C compilers would never assume multibyte "char"s. Regards, Andy Laurent Pinchart wrote: >

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

2010-11-25 Thread Jean Pihet
Hi, On Thu, Nov 25, 2010 at 12:49 AM, Paul Walmsley wrote: > > The console semaphore must be held while the OMAP UART devices are > disabled, lest a console write cause an ARM abort (and a kernel crash) > when the underlying console device is inaccessible.  These crashes > only occur when the con

Re: [PATCH 2/2] enabled vdda_dac regulator support tvout on rx51

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 05:52:23PM +0200, Srikar wrote: > +static struct regulator_consumer_supply rx51_vdac_supply[] = { > + { > +#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) The ifdefs here aren't really saving much... > + .supply = "vdda_dac", > +

[PATCH 2/2] enabled vdda_dac regulator support tvout on rx51

2010-11-25 Thread Srikar
To support tvout on rx51,added the venc vdac regulator consumer supply data and also intialised the vdac regulator with vdac regulator consumer supply data which enables the power supply to venc through twl4030 on rx51 Signed-off-by: Srikar --- arch/arm/mach-omap2/board-rx51-peripherals.c | 1

[PATCH 1/2] Added video data to support tvout on rx51

2010-11-25 Thread Srikar
To support tvout on rx51,added Intilization data, tvout as display device and enabled venc through gpio on rx51 Signed-off-by: Srikar --- arch/arm/mach-omap2/board-rx51-video.c | 29 - 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-oma

[PATCH ver. 3] PM: add synchronous runtime interface for interrupt handlers

2010-11-25 Thread Alan Stern
This patch (as1431c) makes the synchronous runtime-PM interface suitable for use in interrupt handlers. Subsystems can call the new pm_runtime_irq_safe() function to tell the PM core that a device's runtime_suspend and runtime_resume callbacks should be invoked with interrupts disabled and the spi

[PATCH 1/3] tsc2005 driver support on rx51

2010-11-25 Thread Srikar
To support tsc2005 driver on rx51,added tsc2005 intialization data ,functions to enable/disable tsc2005 and loading driver on rx51. Signed-off-by: Srikar --- arch/arm/mach-omap2/board-rx51-peripherals.c | 46 - 1 files changed, 44 insertions(+), 2 deletions(-) diff --

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 04:40:41PM +0100, Laurent Pinchart wrote: > On Thursday 25 November 2010 14:36:50 Mark Brown wrote: > > On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: > > > + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be > > > + used to transfer med

Re: [RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:53:51 Mark Brown wrote: > On Thu, Nov 25, 2010 at 03:28:16AM +0100, Laurent Pinchart wrote: > > Link states must not be modified while streaming is in progress on a > > graph they belong or connect to. The entity locking API helps drivers > > enforcing that

Re: [RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:49:08 Mark Brown wrote: > On Thu, Nov 25, 2010 at 03:28:12AM +0100, Laurent Pinchart wrote: > > If the entity is of node type, the power change is distributed to > > all connected entities. For non-nodes it only affects that very > > node. A mut

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

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:36:50 Mark Brown wrote: > On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: > > +Links have flags that describe the link capabilities and state. > > > > + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be > > + used to

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 04:29:53PM +0100, Laurent Pinchart wrote: > It depends on how you define nodes. I can certainly imagine a graph with 100 > controls, but maybe several controls can be part of the same node ? On the > video side we've decided to split entities depending on the possible dat

Re: [PATCH 1/7] [OMAP] gpio: Allow for extended GPIO space

2010-11-25 Thread Cory Maccarrone
On Mon, Aug 2, 2010 at 4:51 AM, Tony Lindgren wrote: > * Cory Maccarrone [100720 06:59]: >> This change copies from the s3c24xx the ability for a board to specify >> if it wants 64 or 128 more GPIOs in the board space.  This is needed >> to get the HTC Herald board's extra htcpld gpios to work as

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

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:41:35 Mark Brown wrote: > On Thu, Nov 25, 2010 at 10:38:05AM +0100, Clemens Ladisch wrote: > > In USB and HD audio devices, all links are immutable, and the routing > > is controlled by 'selector' entities that activate exactly one of their > > input pads.

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 04:21:38PM +0100, Laurent Pinchart wrote: > On Thursday 25 November 2010 10:38:05 Clemens Ladisch wrote: > > ALSA has PCM and MIDI devices, and several types of mixer controls. > > (It also has hardware dependent and timer devices, but I don't think > > these would need top

Re: [PATCH] [OMAP] HTCHERALD: MMC, I2C, HTCPLD, SPI, TSC2046

2010-11-25 Thread Cory Maccarrone
2010/9/30 Tony Lindgren : > * Tony Lindgren [100930 12:07]: >> * Michał Mirosław [100930 11:57]: >> > 2010/9/30 Tony Lindgren : >> > > * Cory Maccarrone [100930 11:34]: >> > >> > Looks like also board-sx1-mmc.c and board-h[23]-mmc.c have the >> > >> > same spotty voltage range. >> > >> > Cory, c

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

2010-11-25 Thread Laurent Pinchart
Hi Clemens, Thanks a lot for the review. On Thursday 25 November 2010 10:38:05 Clemens Ladisch wrote: > Laurent Pinchart wrote: > > A link is a point-to-point oriented connection between two pads, either > > on the same entity or on different entities. Data flows from a source > > pad to a sink p

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Laurent Pinchart
Hi Clemens, Thanks for the review. On Thursday 25 November 2010 10:33:02 Clemens Ladisch wrote: > Laurent Pinchart wrote: > > +struct media_device { > > ... > > + u8 model[32]; > > + u8 serial[40]; > > + u8 bus_info[32]; > > All drivers and userspace applications have to treat this as char

Re: [RFC/PATCH v6 11/12] v4l: Make video_device inherit from media_entity

2010-11-25 Thread Laurent Pinchart
Hi Hans, Thanks for the review. On Thursday 25 November 2010 12:38:15 Hans Verkuil wrote: > On Thursday, November 25, 2010 03:28:18 Laurent Pinchart wrote: > > V4L2 devices are media entities. As such they need to inherit from > > (include) the media_entity structure. > > > > When registering/un

Re: [PATCH v2 1/4] drivers: hwspinlock: add generic framework

2010-11-25 Thread Ohad Ben-Cohen
On Thu, Nov 25, 2010 at 8:05 AM, Kamoolkar, Mugdha wrote: > Consider a software module on top of the hwspinlock, which provides a > generic way for multi-core critical section, say GateMP. This module enables > users to create critical section objects by name. Any other client can open > the criti

Re: [RFC/PATCH v6 00/12] Media controller (core and V4L2)

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:07AM +0100, Laurent Pinchart wrote: > I want to emphasize that the media controller API does *not* replace the V4L, > DVB or ALSA APIs. It complements them. Overall this looks relatively good and should be mappable onto the embedded audio stack. I'd need to sit down

Re: [PATCH v4 2/5] OMAP: mailbox: fix rx interrupt disable in omap4

2010-11-25 Thread Hari Kanigeri
On Thu, Nov 25, 2010 at 1:04 AM, Varadarajan, Charulatha wrote: > Hari, > > On Wed, Nov 24, 2010 at 18:31, Kanigeri, Hari wrote: >> On Wed, Nov 24, 2010 at 2:50 AM, Varadarajan, Charulatha >> wrote: >>> On Wed, Nov 24, 2010 at 13:52, Felipe Balbi wrote: On Wed, Nov 24, 2010 at 10:46:04AM

Re: [RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:16AM +0100, Laurent Pinchart wrote: > Link states must not be modified while streaming is in progress on a > graph they belong or connect to. The entity locking API helps drivers > enforcing that requirement. This is not desirable for embedded audio - for example, it

Re: [RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:12AM +0100, Laurent Pinchart wrote: > If the entity is of node type, the power change is distributed to > all connected entities. For non-nodes it only affects that very > node. A mutex is used to serialise access to the entity graph. ASoC has its o

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 10:38:05AM +0100, Clemens Ladisch wrote: > In USB and HD audio devices, all links are immutable, and the routing > is controlled by 'selector' entities that activate exactly one of their > input pads. In userspace, this entity shows up as a mixer control. > I guess it woul

[PATCH] OMAP PM: Optimize cpufreq transition latency

2010-11-25 Thread Vishwanath BS
Currently cpufreq transition latency value does not really reflect the actual OMAP OPP transition delay. This patch has the actual latency value. I did profile the DVFS latency on OMAP3430, OMAP3630 and OMAP4 for worstcase(MPU and Core together) and found that in none of these platforms, transito

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: > +Links have flags that describe the link capabilities and state. > + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be > + used to transfer media data. When two or more links target a sink pad, > + o

[PATCH v8 07/11] OMAP3: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
Add GPIO hwmod data for OMAP3 Also remove "omap34xx.h" header file as it is not required anymore. Signed-off-by: Charulatha V Signed-off-by: Rajendra Nayak Acked-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 361 +++- 1 files changed, 360 inserti

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

2010-11-25 Thread Varadarajan, Charulatha
Implement GPIO as a platform device. GPIO APIs are used in machine_init functions. Hence it is required to complete GPIO probe before board_init. Therefore GPIO device register and driver register are implemented as postcore_initcalls. omap_gpio_init() does nothing now and this function would be

[PATCH v8 08/11] OMAP4: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
From: Benoit Cousson Add GPIO hwmod data for OMAP4 Signed-off-by: Benoit Cousson Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 341 1 files changed, 341 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx

[PATCH v8 06/11] OMAP2430: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
Add GPIO hwmod data for OMAP2430 Also remove "omap24xx.h" header file as it is not required anymore. Signed-off-by: Charulatha V Acked-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 280 +++- 1 files changed, 279 insertions(+), 1 deletions(-) diff

[PATCH v8 11/11] OMAP: GPIO: Remove omap_gpio_init()

2010-11-25 Thread Varadarajan, Charulatha
Remove 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 --- arch/arm/mach-omap1/board-ams-delta.c |1 - arch/arm/mach-omap1/board-fsample.c|1 - arch/arm/m

[PATCH v8 05/11] OMAP2420: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
Add GPIO hwmod data for OMAP2420 and add the required GPIO device attributes in the gpio header file Also remove "omap24xx.h" header file as it is not required anymore. Signed-off-by: Charulatha V Acked-by: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 230 ++

[PATCH v8 01/11] OMAP: GPIO: prepare for platform driver

2010-11-25 Thread Varadarajan, Charulatha
Prepare for implementing GPIO as a platform driver. Modifies omap_gpio_init() to make use of omap_gpio_chip_init() and omap_gpio_mod_init(). omap_gpio_mod_init() does the module init by clearing the status register and initializing the GPIO control register. omap_gpio_chip_init() initializes the c

[PATCH v8 04/11] OMAP7xx: GPIO: Introduce support for GPIO init

2010-11-25 Thread Varadarajan, Charulatha
Add support for handling OMAP7xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V --- arch/arm/mach-omap1/gpio7xx.c | 261 + 1 files changed, 261 insertions(+), 0 deletions(-) create mode 100

[PATCH v8 09/11] OMAP2+: GPIO: device registration

2010-11-25 Thread Varadarajan, Charulatha
Use omap_device_build() API to do platform_device_register of GPIO devices. For OMAP2+ chips, the device specific data defined in the centralized hwmod database will be used. gpio_init needs to be done before machine_init functions access gpio APIs. Hence gpio_init is made as a postcore_initcall.

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

2010-11-25 Thread Varadarajan, Charulatha
Implement OMAP GPIO module in platform device model. OMAP2+ specific GPIO module uses hwmod FW. Tested on OMAP2430, OMAP4430, OMAP3430 SDP boards, OMAP4430 Blaze board and zoom3 board. Verified that this patch series does not break the OMAP1 build. This patch series are created on top of origin/p

Re: [PATCH 2.6.37-rc1] ASoC: OMAP: fix OMAP1 compilation problem

2010-11-25 Thread Janusz Krzysztofik
dropping e3-hacking, the problem has been solved from their POV Thursday 25 November 2010 08:02:01 Jarkko Nikula wrote: > On Wed, 24 Nov 2010 15:53:42 -0800 > > Tony Lindgren wrote: > > * Tony Lindgren [101124 15:25]: > > > Anyways, Paul's patch should be merged during the -rc cycle > > > becaus

[PATCH v8 02/11] OMAP15xx: GPIO: Introduce support for GPIO init

2010-11-25 Thread Varadarajan, Charulatha
Add support for handling OMAP15xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V --- arch/arm/mach-omap1/gpio15xx.c | 98 arch/arm/plat-omap/gpio.c | 10 +--- arch/arm/plat-

[PATCH v8 03/11] OMAP16xx: GPIO: Introduce support for GPIO init

2010-11-25 Thread Varadarajan, Charulatha
Add support for handling OMAP16xx specific gpio_init by providing platform device data and doing device registration. Signed-off-by: Charulatha V --- arch/arm/mach-omap1/gpio16xx.c | 199 1 files changed, 199 insertions(+), 0 deletions(-) create mode 10

[PATCH] OMAP: DSS2: Clean up DISPC color mode validation checks

2010-11-25 Thread Archit Taneja
The supported set of color modes varies for different DISPC pipelines(plane) and omap version. This makes the checks for validation of a color mode more complicated as new omap versions are added. A dss_feature function is created which tells if a color_mode is supported for a plane on the current

Re: [PATCH 02/13] OMAP3: PM: Errata i581 suppport: dll kick strategy

2010-11-25 Thread Peter 'p2' De Schrijver
On Wed, Nov 24, 2010 at 05:51:50PM +0100, ext Sripathy, Vishwanath wrote: > Nishant, > > On Fri, Nov 19, 2010 at 7:24 AM, Nishanth Menon wrote: > > From: Peter 'p2' De Schrijver > > > > Errata i581 impacts OMAP3 platforms. > > PRCM DPLL control FSM removes SDRC_IDLEREQ before DPLL3 locks causing

Re: [RFC/PATCH v6 11/12] v4l: Make video_device inherit from media_entity

2010-11-25 Thread Hans Verkuil
On Thursday, November 25, 2010 03:28:18 Laurent Pinchart wrote: > V4L2 devices are media entities. As such they need to inherit from > (include) the media_entity structure. > > When registering/unregistering the device, the media entity is > automatically registered/unregistered. The entity is acq

Re: [RFC/PATCH v3 6/7] omap3: Export omap3isp platform device structure

2010-11-25 Thread Felipe Balbi
Hi, On Thu, Nov 25, 2010 at 12:17:59PM +0100, Laurent Pinchart wrote: pass platform_data as an argument to this call ? Then remove the static inline and export this one ? Yes indeed, why ? :-) I guess things like that are difficult to spot when you've had your nose on the code for too long. T

Re: [RFC/PATCH v3 6/7] omap3: Export omap3isp platform device structure

2010-11-25 Thread Laurent Pinchart
Hi Felipe, On Thursday 25 November 2010 08:02:41 Felipe Balbi wrote: > On Thu, Nov 25, 2010 at 03:54:37AM +0100, Laurent Pinchart wrote: > >From: Stanimir Varbanov > > > >The omap3isp platform device requires platform data. As the data can be > >provided by a kernel module, the device can't be re

Re: DSP Bridge video decode of above VGA videos

2010-11-25 Thread James Adams
Thanks Guru, and everyone for all your help! I am afraid that I am unable to find the h264vdec_sn.tcf file, perhaps it is not part of the publicly released files? However, Guru has very clearly explained the size limitations so that answers my original question, many thanks. Our application need

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

2010-11-25 Thread Clemens Ladisch
Laurent Pinchart wrote: > A link is a point-to-point oriented connection between two pads, either > on the same entity or on different entities. Data flows from a source > pad to a sink pad. > > Links are stored in the source entity. In the descriptors of USB Audio and HDAudio devices, the links

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Clemens Ladisch
Laurent Pinchart wrote: > +struct media_device { > ... > + u8 model[32]; > + u8 serial[40]; > + u8 bus_info[32]; All drivers and userspace applications have to treat this as char[], so why u8[]? Regards, Clemens -- To unsubscribe from this list: send the line "unsubscribe linux-omap"

Re: [PATCH v7 05/11] OMAP2420: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
On Thu, Nov 25, 2010 at 14:01, Varadarajan, Charulatha wrote: > On Thu, Nov 25, 2010 at 13:32, Cousson, Benoit wrote: >> On 11/25/2010 5:36 AM, Varadarajan, Charulatha wrote: >>> >>> Benoit, >>> >>> On Thu, Nov 25, 2010 at 03:43, Cousson, Benoit  wrote: On 11/23/2010 3:56 PM, Varadaraja

Re: [PATCH v5 1/1] OMAP2: Spi: Force CS to be in inactive state after off-mode transition

2010-11-25 Thread Hemanth V
- Original Message - From: "Gregory CLEMENT" To: "linux-omap" ; Cc: "David Brownell" ; "Grant Likely" ; "Kevin Hilman" Sent: Thursday, November 25, 2010 3:49 AM Subject: [PATCH v5 1/1] OMAP2: Spi: Force CS to be in inactive state after off-mode transition As request by Grant Like

Re: [PATCH v7 05/11] OMAP2420: hwmod data: Add GPIO

2010-11-25 Thread Varadarajan, Charulatha
On Thu, Nov 25, 2010 at 13:32, Cousson, Benoit wrote: > On 11/25/2010 5:36 AM, Varadarajan, Charulatha wrote: >> >> Benoit, >> >> On Thu, Nov 25, 2010 at 03:43, Cousson, Benoit  wrote: >>> >>> On 11/23/2010 3:56 PM, Varadarajan, Charulatha wrote: Add GPIO hwmod data for OMAP2420 >>>

Re: [PATCH v7 05/11] OMAP2420: hwmod data: Add GPIO

2010-11-25 Thread Cousson, Benoit
On 11/25/2010 5:36 AM, Varadarajan, Charulatha wrote: Benoit, On Thu, Nov 25, 2010 at 03:43, Cousson, Benoit wrote: On 11/23/2010 3:56 PM, Varadarajan, Charulatha wrote: Add GPIO hwmod data for OMAP2420 Signed-off-by: Charulatha V --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 229