RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread Paul Walmsley
Hello Santosh, On Wed, 23 Feb 2011, Santosh Shilimkar wrote: -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Wednesday, February 23, 2011 12:42 PM diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach- omap2/timer-gp.c index 0fc550e..a4e51a2

RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread Paul Walmsley
Hello Santosh, On Thu, 24 Feb 2011, Paul Walmsley wrote: I propose the following change instead - please let me know what you think. Oops - the patch I sent you was not completely refreshed in the local tree. Here is the correct one. - Paul From: Paul Walmsley p...@pwsan.com Date: Wed,

RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmod right before timer init

2011-02-24 Thread Paul Walmsley
Hello Tarun On Wed, 23 Feb 2011, DebBarma, Tarun Kanti wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Paul Walmsley Sent: Wednesday, February 23, 2011 12:42 PM To: linux-omap@vger.kernel.org;

RE: State of LDP3430 platform

2011-02-24 Thread Janorkar, Mayuresh
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Tony Lindgren Sent: Thursday, February 24, 2011 4:20 AM To: Russell King - ARM Linux Cc: linux-omap@vger.kernel.org; Paul Walmsley; Shilimkar, Santosh; Woodruff,

RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread DebBarma, Tarun Kanti
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Paul Walmsley Sent: Thursday, February 24, 2011 1:45 PM To: Shilimkar, Santosh Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Tony Lindgren;

Re: [PATCH 06/19] omap3+: voltage: use volt_data pointer instead values

2011-02-24 Thread Gulati, Shweta
Hi, On Thu, Feb 24, 2011 at 10:58 AM, Gulati, Shweta shweta.gul...@ti.com wrote: Hi, On Sat, Feb 19, 2011 at 5:31 PM, Nishanth Menon n...@ti.com wrote: Voltage values can get confusing in meaning with various Smartreflex classes being active. Depending on the class used, the actual voltage

Re: [PATCH v6] OMAP2/3/4: DSS2: Enable Display SubSystem as modules

2011-02-24 Thread Tomi Valkeinen
On Thu, 2011-02-24 at 00:26 -0600, Nilofer, Samreen wrote: Enabling all the display interface options to be built as module And enabling all the display panels to be built as modules. Signed-off-by: Samreen samr...@ti.com This looks good to me. Tony, want to ack this? This enables all DSS

Re: [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling

2011-02-24 Thread Felipe Balbi
Hi, On Wed, Feb 23, 2011 at 10:09:05PM +0200, Sakari Ailus wrote: In OMAP4 the cortex M3 is a double core processor and as each core is running they own version of the RTOS we threat them independently. So our driver which controls the remote processor sees two processor but both use the

Re: State of LDP3430 platform

2011-02-24 Thread Russell King - ARM Linux
On Thu, Feb 24, 2011 at 01:51:50PM +0530, Janorkar, Mayuresh wrote: Also, could you please share other CONFIG options which you are enabling over omap2plus_defconfig? (Otherwise please share .config) Attached. # # Automatically generated make config: don't edit # Linux/arm 2.6.38-rc4 Kernel

Re: [PATCH] omap: Move omap_hwmod_late_init() to mdesc-timer-init() code

2011-02-24 Thread Paul Walmsley
Salut Benoît, On Wed, 23 Feb 2011, Cousson, Benoit wrote: This is indeed a little bit cleaner to init only the timer hwmod in the timer code, but I'm still wondering it it worth the extra complexity. As soon as we have one hwmod to initialize, why cannot we initialize the whole list like

RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread Santosh Shilimkar
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Thursday, February 24, 2011 1:45 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org; Tony Lindgren; Kevin Hilman; Benoit Cousson Subject: RE: [PATCH 8/8] OMAP2+:

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Felipe Balbi
Hi, On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the problem is caused by the fact that the musb host-controller driver doesn't set the hcd-has_tt flag. Felipe, you should know where it belongs. It should be easy enough to add. Sure Alan,

RE: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread Paul Walmsley
On Thu, 24 Feb 2011, DebBarma, Tarun Kanti wrote: I have tested on OMAP3 and works fine. On OMAP2, I guess there is different issue for which it does not work. Works fine for me on N800. Boot log below. - Paul Uncompressing Linux... done, booting the kernel. [0.00] Linux version

Re: [PATCH v3 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-02-24 Thread ABRAHAM, KISHON VIJAY
On Thu, Feb 24, 2011 at 11:51 AM, ABRAHAM, KISHON VIJAY kis...@ti.com wrote: On Thu, Feb 24, 2011 at 3:04 AM, Tony Lindgren t...@atomide.com wrote: * ABRAHAM, KISHON VIJAY kis...@ti.com [110223 02:11]: Created on top of linux OMAP master (linux-omap-2.6 :master) Does not look like that's

Re: [PATCH 7/8] OMAP2+: hwmod: add ability to late-init individual hwmods

2011-02-24 Thread Paul Walmsley
On Wed, 23 Feb 2011, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [110222 23:11]: --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c +int __init omap_hwmod_late_init_one(const char *oh_name) How about the following naming changes to avoid confusion:

[PATCH] Adding help for FB_OMAP_LCD_VGA option

2011-02-24 Thread Mayuresh Janorkar
CONFIG_FB_OMAP_LCD_VGA option is present in drivers/video/omap There is no explaination about what this flag does. Lets add information about it. FB_OMAP_LCD_VGA flag sets resolution of display to VGA (640 X 480). The default resolution of 3430 LDP is 320 X 240. Signed-off-by: Mayuresh Janorkar

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Alexander Holler
Hello, Am 24.02.2011 09:57, schrieb Felipe Balbi: Hi, On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the problem is caused by the fact that the musb host-controller driver doesn't set the hcd-has_tt flag. Felipe, you should know where it belongs.

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Felipe Balbi
Hi, On Thu, Feb 24, 2011 at 10:15:23AM +0100, Alexander Holler wrote: On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the problem is caused by the fact that the musb host-controller driver doesn't set the hcd-has_tt flag. Felipe, you should know

Re: [PATCH 4/8] OMAP2+: hwmod: find MPU initiator hwmod during in _register()

2011-02-24 Thread Paul Walmsley
Hello Benoît, On Wed, 23 Feb 2011, Cousson, Benoit wrote: On 2/23/2011 8:11 AM, Paul Walmsley wrote: + /* +* XXX Rather than doing a strcmp(), this should test a flag +* set in the hwmod data, inserted by the autogenerator code. What do you mean exactly? Something like a

Re: [PATCH v2 0/2] OMAP: omap_device: API to modify SYSCONFIG register

2011-02-24 Thread ABRAHAM, KISHON VIJAY
Hi Kevin, Paul, Benoit, Do you have any comments for this patch series? This series is necessary for McBSP hwmod and PM runtime patch series to be merged. Regards Kishon On Tue, Feb 15, 2011 at 12:08 PM, ABRAHAM, KISHON VIJAY kis...@ti.com wrote: Kevin, Paul, Benoit, Do you have any comments

Re: [PATCH v10 05/18] OMAP2,3 DSS2 Change driver name to omap_display

2011-02-24 Thread Tomi Valkeinen
Hi, On Mon, 2011-01-24 at 11:51 +0530, ext Sumit Semwal wrote: From: Senthilvadivu Guruswamy svad...@ti.com Change the driver name from omapdss to omap_display as the driver takes care of the display devices ie number of panels, type of panels available in the platform. Change the device

[PATCH v4 00/13] OMAP: McBSP: hwmod adaptation and runtime conversion

2011-02-24 Thread Kishon Vijay Abraham I
Modify OMAP McBSP driver to use omap hwmod framework and pm runtime APIs. Created on top of linux OMAP (linux-omap-2.6 :omap-for-linus commit-id: 7cab8713b1ed0dab08ad6458f92a40b7ff4be619) + OMAP: omap_device: API to modify SYSCONFIG register patch series Did

[PATCH v4 01/13] OMAP: hwmod: allow hwmod to provide address space accessible from SDMA

2011-02-24 Thread Kishon Vijay Abraham I
Adds support for resource API to get address space info other than just MPU. The drivers can now use platform_get_resource_byname() to get resource of type 'IORESOURCE_MEM' by name. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com Acked-by: Paul

[PATCH v4 05/13] OMAP3: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP3. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti D

[PATCH v4 03/13] OMAP2420: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP2420. Also add macros in prcm-common.h for idlest bit of OMAP24XX McBSP devices Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com Cc: Benoit

[PATCH v4 04/13] OMAP2430: hwmod data: Add McBSP

2011-02-24 Thread Kishon Vijay Abraham I
From: Charulatha V ch...@ti.com Add McBSP hwmod data for OMAP2430. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Shubhrajyoti

[PATCH v4 07/13] OMAP3: hwmod: add dev_attr for McBSP sidetone

2011-02-24 Thread Kishon Vijay Abraham I
Since the sidetone block is tightly coupled to the mcbsp, sidetone information is directly added to mcbsp2 3 hwmod dev_attr. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 ++

[PATCH v4 02/13] OMAP: McBSP: Convert McBSP to platform device model

2011-02-24 Thread Kishon Vijay Abraham I
Implement McBSP as platform device and add support for registering through platform device layer using resource structures. Later in this patch series, OMAP2+ McBSP driver would be modified to use hwmod framework after populating the omap2+ hwmod database. Signed-off-by: Kishon Vijay Abraham I

[PATCH v4 06/13] OMAP4: hwmod: Naming of address space

2011-02-24 Thread Kishon Vijay Abraham I
Added a name to address space belonging to SDMA and MPU facilitating the driver to get the address space info by name. Added a revision member inorder to facilitate the driver to differentiate between mcbsp in different omap. Also added a platform_get_irq in probe to get irq number by index since

[PATCH v4 08/13] OMAP2+: McBSP: hwmod adaptation for McBSP

2011-02-24 Thread Kishon Vijay Abraham I
Modify OMAP2+ McBSP to use omap hwmod framework APIs Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com Acked-by: Peter Ujfalusi peter.ujfal...@nokia.com Acked-by: Jarkko Nikula jhnik...@gmail.com

[PATCH v4 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-02-24 Thread Kishon Vijay Abraham I
McBSP2/3 in OMAP3 has sidetone feature which requires autoidle to be disabled before starting the sidetone. Also SYSCONFIG register has to be set with smart idle or no idle depending on the dma op mode (threshold or element sync). For doing these operations dynamically at runtime, omap_device APIs

[PATCH v4 11/13] OMAP: McBSP: APIs to pass DMA params from McBSP driver to client drivers

2011-02-24 Thread Kishon Vijay Abraham I
After McBSP driver is hwmod adapted, the information about the hw would be obtained from the hwmod database by the mcbsp driver. Since DMA programming is handled by the client driver, APIs are provided to pass the DMA channel number and base address of data register required by the client driver

[PATCH v4 12/13] ASoC: McBSP: get hw params from McBSP driver

2011-02-24 Thread Kishon Vijay Abraham I
Removed the use of macros to obtain base address and DMA channel number. Instead use the McBSP driver API's that passes base address and DMA channel number to the client driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Peter Ujfalusi peter.ujfal...@nokia.com Acked-by: Jarkko

[PATCH v4 13/13] OMAP: hwmod: Removal of macros for data that is obtained from hwmod database

2011-02-24 Thread Kishon Vijay Abraham I
Information like base address and DMA channel nubers should no longer be obtained using macros. These information should be obtained from hwmod database. Hence the macros that define the base address are removed. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Charulatha V

[PATCH v4 10/13] OMAP: McBSP: Add pm runtime support

2011-02-24 Thread Kishon Vijay Abraham I
Add pm runtime support for McBSP driver. Reference to fclk is not removed because it is required when the functional clock is switched from one source to another. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Paul Walmsley p...@pwsan.com Acked-by: Peter Ujfalusi peter.ujfal...@nokia.com

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Michael Jones
On 02/24/2011 09:57 AM, Felipe Balbi wrote: Hi, On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the problem is caused by the fact that the musb host-controller driver doesn't set the hcd-has_tt flag. Felipe, you should know where it belongs. It

RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023

2011-02-24 Thread Vishwanath Sripathy
Sanjeev, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Sanjeev Premi Sent: Wednesday, February 23, 2011 11:29 PM To: linux-omap@vger.kernel.org Cc: Sanjeev Premi Subject: [RFC 3/3] am35xx: pm: Hook-up with TPS65023

omap dss tft display connection

2011-02-24 Thread Belisko Marek
Hello, would be possible to configure dss on omap3530 which is connected to 18bit TFT display in such way: 8 88 | | | | | | | |-| | | | | | | |-| | | | | | | | 6 6 6 | | | | | |-| | | | | |-| | | | | | So no standard connection (2 bits in every

[PATCH] omap: hwmod: add syss reset done flags to omap2, omap3 hwmods

2011-02-24 Thread Avinash.H.M
Some of the omap2, omap3 peripherals support software reset. This can be done through the softreset bit in sysconfig register. The reset status can be checked through resetdone bit of sysstatus register. syss_has_reset_status is added to the hwmod database of peripherals which have resetdone bit

[PATCH 1/3] OMAP2+: PM: omap device: API's for handling mstandby mode

2011-02-24 Thread G, Manjunath Kondaiah
Certain errata in OMAP2+ processors will require forcing master standby to no standby mode before completing on going operation. Without this, the results will be unpredictable. Since current implementation of PM run time framework does not support changing sysconfig settings during middle of the

[PATCH 0/3] OMAP: DMA: mstandby mode and runtime pm support

2011-02-24 Thread G, Manjunath Kondaiah
This patch series is remaining part of dma hwmod to support pm runtime and for handling mstandby mode for all applicable DMA mstandby mode errata. The alignment for pm runtime API's usage is at: http://thread.gmane.org/gmane.linux.ports.arm.omap/51588/focus=52493

[PATCH 2/3] OMAP2+: DMA: prevent races while setting M idle mode to nostandby

2011-02-24 Thread G, Manjunath Kondaiah
If two DMA users tries to set no mstandby mode at the same time, a race condition would arise. Prevent that by using a spin lock and counting up/down the number of times nostandby is set/reset. Initial patch is created by Adrian Hunter adrian.hun...@nokia.com

[PATCH 3/3] OMAP: PM: DMA: Enable runtime pm

2011-02-24 Thread G, Manjunath Kondaiah
From: Manjunath G Kondaiah manj...@ti.com Enable runtime pm and use pm_runtime_get_sync and pm_runtime_put_autosuspend for OMAP DMA driver. The DMA driver uses auto suspend feature of runtime pm framework through which the clock gets disabled automatically if there is no activity for more than

Re: [PATCH v3 0/5] OMAP: HSMMC: hwmod adaptation

2011-02-24 Thread Cousson, Benoit
Hi Kishore, On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Adding hwmod data for hsmmc device on OMAP2430/OMAP3/OMAP4. Adapting the omap_hsmmc driver to hwmod framework. The patch series is based on -rc6 and tested on OMAP2430, OMAP3430SDP OMAP4430SDP. Could you rebase it on top of

Re: [PATCH v3 3/5] OMAP4: hwmod data: enable HSMMC

2011-02-24 Thread Cousson, Benoit
On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: From: Anand Gadiyargadi...@ti.com Enabling hsmmc hwmod for OMAP4 Signed-off-by: Anand Gadiyargadi...@ti.com Signed-off-by: Kishore Kadiyalakishore.kadiy...@ti.com Cc: Benoit Coussonb-cous...@ti.com Cc: Paul Walmsleyp...@pwsan.com CC: Kevin

Re: omap dss tft display connection

2011-02-24 Thread Tomi Valkeinen
On Thu, 2011-02-24 at 04:05 -0600, Belisko Marek wrote: Hello, would be possible to configure dss on omap3530 which is connected to 18bit TFT display in such way: 8 88 | | | | | | | |-| | | | | | | |-| | | | | | | | 6 6 6 | | | | | |-| | |

Re: omap dss tft display connection

2011-02-24 Thread Belisko Marek
Hi Toomi, On Thu, Feb 24, 2011 at 11:39 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Thu, 2011-02-24 at 04:05 -0600, Belisko Marek wrote: Hello, would be possible to configure dss on omap3530 which is connected to 18bit TFT display in such way:        8           8            8 | | |

Re: [PATCH] omap4: hwmod: Enable the keypad

2011-02-24 Thread Cousson, Benoit
On 2/24/2011 6:42 AM, Datta, Shubhrajyoti wrote: From: Shubhrajyoti Dshubhrajy...@ti.com Enable the keypad in the hwmod database. Signed-off-by: Shubhrajyoti Dshubhrajy...@ti.com Cc: Benoit Coussonb-cous...@ti.com Acked-by: Benoit Coussonb-cous...@ti.com ---

Re: [PATCH v3 4/5] OMAP: hwmod data: Add dev_attr and use in the host driver

2011-02-24 Thread Cousson, Benoit
On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Add a device attribute to hwmod data of omap2430, omap3, omap4. Currently the device attribute holds information regarding dual volt MMC card support by the controller which will be later passed to the host driver via platform data. Signed-off-by:

[PATCH v11 0/8] dmtimer adaptation to platform_driver

2011-02-24 Thread Tarun Kanti DebBarma
dmtimer adaptation to platform_driver. This patch series is adaptation of dmtimer code to platform driver using omap_device and omap_hwmod abstraction. NOTE: This patch series should be applied on-top of Paul's following patch series: http://www.spinics.net/lists/linux-omap/msg46725.html

[PATCH v11 1/8] OMAP2+: dmtimer: add device names to flck nodes

2011-02-24 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add device name to OMAP2 dmtimer fclk nodes so that the fclk nodes can be retrieved by doing a clk_get with the corresponding device pointers or device names. NOTE: gpt1_fck is modified in patch-10 when we switch to platform device driver. This is to make sure

[PATCH v11 8/8] OMAP: dmtimer: add timeout to low-level routines

2011-02-24 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

[PATCH v11 4/8] OMAP2+: dmtimer: convert to platform devices

2011-02-24 Thread Tarun Kanti DebBarma
Add routines to converts dmtimers to platform devices. The device data is obtained from hwmod database of respective platform and is registered to device model after successful binding to driver. It also provides provision to access timers during early boot when pm_runtime framework is not

[PATCH v11 5/8] OMAP: dmtimer: platform driver

2011-02-24 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson,

[PATCH v11 3/8] OMAP1: dmtimer: conversion to platform devices

2011-02-24 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson,

[PATCH v11 2/8] OMAP4: hwmod data: add dmtimer version information

2011-02-24 Thread Tarun Kanti DebBarma
OMAP4 has two groups of timers: version 1 timers are 1, 2, 10, while the rest of the timers, 3-9, 11 are version 2 timers. The version information is required by the driver so that they could be handled correctly by it. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com ---

[PATCH v11 6/8] dmtimer: switch-over to platform device driver

2011-02-24 Thread Tarun Kanti DebBarma
switch-over to platform device driver through following changes: (a) initiate dmtimer early initialization from omap2_gp_timer_init() in timer-gp.c. This is equivalent of timer_init()-timer-init(). (b) modify plat-omap/dmtimer routines to use new register map and platform data. Signed-off-by:

Re: [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling

2011-02-24 Thread David Cohen
On Thu, Feb 24, 2011 at 10:35 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Feb 23, 2011 at 10:09:05PM +0200, Sakari Ailus wrote: In OMAP4 the cortex M3 is a double core processor and as each core is running they own version of the RTOS we threat them independently. So our driver which

Re: [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling

2011-02-24 Thread Felipe Balbi
On Thu, Feb 24, 2011 at 01:26:05PM +0200, David Cohen wrote: On Thu, Feb 24, 2011 at 10:35 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Feb 23, 2011 at 10:09:05PM +0200, Sakari Ailus wrote: In OMAP4 the cortex M3 is a double core processor and as each core is running they own

Re: omap dss tft display connection

2011-02-24 Thread Tomi Valkeinen
On Thu, 2011-02-24 at 04:56 -0600, Belisko Marek wrote: Hi Toomi, On Thu, Feb 24, 2011 at 11:39 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Thu, 2011-02-24 at 04:05 -0600, Belisko Marek wrote: Hello, would be possible to configure dss on omap3530 which is connected to 18bit

Re: [PATCH v3 5/5] OMAP: adapt hsmmc to hwmod framework

2011-02-24 Thread Cousson, Benoit
On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Changes involves: 1) Remove controller reset in devices.c which is taken care of by hwmod framework. 2) Removing all base address macro defines except keeping one for OMAP2420. 3) Using omap-device layer to register device and utilizing data

RE: [PATCH 0/3] OMAP2+: voltage: first pass at cleanup/reorganization

2011-02-24 Thread Rajendra Nayak
Hi Paul, -Original Message- From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of Paul Walmsley Sent: Monday, February 21, 2011 7:39 AM To: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Cc:

[PATCH] ldp: Fix regulator mapping for ads7846 TS controller

2011-02-24 Thread Rajendra Nayak
On the OMAP3430LDP board, the ads7846 touchscreen controller is powered by VAUX1 regulator (supplying 3.0v). Fix this mapping in the board file, and hence prevent the ads7846 driver init to fail with the below error.. ads7846 spi1.0: unable to get regulator: -19 Signed-off-by: Rajendra Nayak

RE: State of LDP3430 platform

2011-02-24 Thread Rajendra Nayak
-Original Message- From: Rajendra Nayak [mailto:rna...@ti.com] Sent: Thursday, February 24, 2011 12:39 PM To: Richard Woodruff; Tony Lindgren; Russell King - ARM Linux Cc: linux-omap@vger.kernel.org; Paul Walmsley; Santosh Shilimkar Subject: RE: State of LDP3430 platform

RE: [RFC 3/3] am35xx: pm: Hook-up with TPS65023

2011-02-24 Thread Premi, Sanjeev
-Original Message- From: Menon, Nishanth Sent: Thursday, February 24, 2011 12:14 AM To: Premi, Sanjeev Cc: linux-omap@vger.kernel.org Subject: Re: [RFC 3/3] am35xx: pm: Hook-up with TPS65023 On Wed, Feb 23, 2011 at 23:28, Sanjeev Premi pr...@ti.com wrote: Add glue logic to

[PATCH 1/4] OMAP: DSS2: Clean up a switch-case

2011-02-24 Thread Tomi Valkeinen
Support for the display interface was checked in a separate switch-case. There's no reason for that, and this patch handles the fail code path in the same switch-case where the display initialization is done. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com ---

[PATCH 2/4] OMAP: DSS2: FEATURES: Remove SDI from 3630 displays

2011-02-24 Thread Tomi Valkeinen
OMAP 3630 does not support SDI. Split omap3_dss_supported_displays into 3430 and 3630 entries, and remove the SDI from 3630 entry. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dss_features.c | 15 --- 1 files changed, 12 insertions(+), 3

[PATCH 3/4] OMAP: DSS2: FEATURES: Remove DSI SDI from OMAP2

2011-02-24 Thread Tomi Valkeinen
OMAP2 doesn't support SDI or DSI. Remove them from omap2_dss_supported_displays. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- drivers/video/omap2/dss/dss_features.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/video/omap2/dss/dss_features.c

[PATCH 4/4] OMAP: DSS2: Check for SDI HW before accessing SDI registers

2011-02-24 Thread Tomi Valkeinen
Only OMAP 3430 hardware has SDI support. The availability of SDI HW can be found out by checking if the LCD channel supports SDI displays. This patch checks for SDI HW support before accessing SDI registers, which fixes a crash on OMAP4 when SDI SW support is compiled in. Signed-off-by: Tomi

Re: [PATCH v3 5/5] OMAP: adapt hsmmc to hwmod framework

2011-02-24 Thread Kadiyala, Kishore
On Thu, Feb 24, 2011 at 5:19 PM, Cousson, Benoit b-cous...@ti.com wrote: On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Changes involves: 1) Remove controller reset in devices.c which is taken care of    by hwmod framework. 2) Removing all base address macro defines except keeping one for

Re: [PATCH v3 4/5] OMAP: hwmod data: Add dev_attr and use in the host driver

2011-02-24 Thread Kadiyala, Kishore
On Thu, Feb 24, 2011 at 4:29 PM, Cousson, Benoit b-cous...@ti.com wrote: On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Add a device attribute to hwmod data of omap2430, omap3, omap4. Currently the device attribute holds information regarding dual volt MMC card support by the controller

Re: [PATCH v3 5/5] OMAP: adapt hsmmc to hwmod framework

2011-02-24 Thread Kadiyala, Kishore
On Thu, Feb 24, 2011 at 11:58 AM, Varadarajan, Charulatha ch...@ti.com wrote: Kishore, On Wed, Feb 23, 2011 at 23:17, Kishore Kadiyala kishore.kadiy...@ti.com wrote: Changes involves: 1) Remove controller reset in devices.c which is taken care of   by hwmod framework. 2) Removing all base

Re: [PATCH v3 4/5] OMAP: hwmod data: Add dev_attr and use in the host driver

2011-02-24 Thread Kadiyala, Kishore
On Thu, Feb 24, 2011 at 11:30 AM, Varadarajan, Charulatha ch...@ti.com wrote: Kishore, On Wed, Feb 23, 2011 at 23:17, Kishore Kadiyala kishore.kadiy...@ti.com wrote: Add a device attribute to hwmod data of omap2430, omap3, omap4. Currently the device attribute holds information regarding

[PATCH 1/1] OMAP: McSPI: Off-by-one error in finding the right divisor

2011-02-24 Thread Hannu Heikkinen
Off-by-one error, gave erroneous divisor value 16 if speed_hz is over zero but less than OMAP2_MCSPI_MAX_FREQ / (1 15), that is, [1..1463]. Also few overly complex bit shifts in divisor fixed. Also one dev_dgb line fixed, which indicated max speed exceeding transfer speed. Introducing a new

[PATCH] OMAP4: clock: Support divider selection for auxclks

2011-02-24 Thread Rajendra Nayak
On OMAP4 the auxclk nodes (part of SCRM) support both divider as well as parent selection. Supporting this requires splitting the existing nodes (which support only parent selection) into two nodes, one for parent and another for divider selection. The nodes for parent selection are named

Re: [PATCH v3 5/5] OMAP: adapt hsmmc to hwmod framework

2011-02-24 Thread Cousson, Benoit
On 2/24/2011 2:55 PM, Kadiyala, Kishore wrote: On Thu, Feb 24, 2011 at 5:19 PM, Cousson, Benoitb-cous...@ti.com wrote: On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: [...] static struct hsmmc_controller { charname[HSMMC_NAME_LEN + 1]; -}

Re: [PATCH] Adding help for FB_OMAP_LCD_VGA option

2011-02-24 Thread Tomi Valkeinen
On Thu, 2011-02-24 at 03:39 -0600, Janorkar, Mayuresh wrote: CONFIG_FB_OMAP_LCD_VGA option is present in drivers/video/omap There is no explaination about what this flag does. Lets add information about it. FB_OMAP_LCD_VGA flag sets resolution of display to VGA (640 X 480). The default

[PATCH 0/2 v2] twl4030-madc driver

2011-02-24 Thread Keerthy
MADC(Monitoring ADC) driver enables monitoring analog signals using analog-to-digital conversion (ADC) on the input source. The previous discussion concluded in keeping the generic ADC functionality and the hwmon separate. The discussion can be found here:

[PATCH 1/2 v2] mfd: twl4030: Driver for twl4030 madc module

2011-02-24 Thread Keerthy
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, battery cuurent etc. Signed-off-by: Keerthy j-keer...@ti.com --- V2: Added functions to convert raw voltages to current and

[PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-24 Thread Keerthy
This driver exposes the sysfs nodes of the TWL4030 MADC module. All the voltage channel values are expressed in terms of mV. Channel 13 and channel 14 are reserved. There are channels which represent temperature and current the output is represented by celcius and mA respectively. Signed-off-by:

Re: [PATCH 8/8] OMAP2+: clockevent: late-init GPTIMER clockevent hwmodright before timer init

2011-02-24 Thread Tony Lindgren
* DebBarma, Tarun Kanti tarun.ka...@ti.com [110224 00:27]: I have tested on OMAP3 and works fine. On OMAP2, I guess there is different issue for which it does not work. That's because commit 15490ef8ff8fd22d677cb5d4f6a98e5a79118dba changed things to include CONFIG_CPU_32v6K. And this means that

Re: [PATCH 1/1] OMAP: McSPI: Off-by-one error in finding the right divisor

2011-02-24 Thread Grant Likely
On Thu, Feb 24, 2011 at 04:13:31PM +0200, Hannu Heikkinen wrote: Off-by-one error, gave erroneous divisor value 16 if speed_hz is over zero but less than OMAP2_MCSPI_MAX_FREQ / (1 15), that is, [1..1463]. Also few overly complex bit shifts in divisor fixed. Also one dev_dgb line fixed,

Re: [PATCH 1/1] OMAP: McSPI: Off-by-one error in finding the right divisor

2011-02-24 Thread Grant Likely
On Thu, Feb 24, 2011 at 9:00 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Feb 24, 2011 at 04:13:31PM +0200, Hannu Heikkinen wrote: Off-by-one error, gave erroneous divisor value 16 if speed_hz is over zero but less than OMAP2_MCSPI_MAX_FREQ / (1 15), that is, [1..1463]. Also

RE: [PATCH] omap: wd_timer: Fix crash frm wdt_probe when !CONFIG_RUNTIME_PM

2011-02-24 Thread Sricharan R
Hi paul, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Santosh Shilimkar Sent: Monday, January 17, 2011 10:09 PM To: Paul Walmsley Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: RE: [PATCH]

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Greg KH
On Thu, Feb 24, 2011 at 11:16:38AM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 24, 2011 at 10:15:23AM +0100, Alexander Holler wrote: On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the problem is caused by the fact that the musb host-controller

Re: [PATCH 06/19] omap3+: voltage: use volt_data pointer instead values

2011-02-24 Thread Menon, Nishanth
On Thu, Feb 24, 2011 at 10:58, Gulati, Shweta shweta.gul...@ti.com wrote: Hi, On Sat, Feb 19, 2011 at 5:31 PM, Nishanth Menon n...@ti.com wrote: Voltage values can get confusing in meaning with various Smartreflex classes being active. Depending on the class used, the actual voltage selected

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Felipe Balbi
On Thu, Feb 24, 2011 at 09:18:14AM -0800, Greg KH wrote: On Thu, Feb 24, 2011 at 11:16:38AM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 24, 2011 at 10:15:23AM +0100, Alexander Holler wrote: On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan Stern wrote: In both cases, it appears that the

Re: [PATCH] omap4: Fix ULPI PHY init for ES1.0 SDP (Re: 4430SDP boot failure)

2011-02-24 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [110212 00:45]: Tony, -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Thursday, February 03, 2011 2:13 PM To: Tony Lindgren Cc: Anand Gadiyar; Russell King - ARM Linux; linux-arm-

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Alan Stern
On Thu, 24 Feb 2011, Felipe Balbi wrote: On Thu, Feb 24, 2011 at 09:18:14AM -0800, Greg KH wrote: On Thu, Feb 24, 2011 at 11:16:38AM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 24, 2011 at 10:15:23AM +0100, Alexander Holler wrote: On Wed, Feb 23, 2011 at 10:26:20AM -0500, Alan

Re: [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling

2011-02-24 Thread Guzman Lugo, Fernando
On Thu, Feb 24, 2011 at 5:29 AM, Felipe Balbi ba...@ti.com wrote: On Thu, Feb 24, 2011 at 01:26:05PM +0200, David Cohen wrote: On Thu, Feb 24, 2011 at 10:35 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Feb 23, 2011 at 10:09:05PM +0200, Sakari Ailus wrote: In OMAP4 the cortex M3 is a

[PATCH 1/2] OMAP3 Touchbook: Fix MMC caps

2011-02-24 Thread Mrkva
MMC controller cannot handle MMC_CAP_4_BIT_DATA nor MMC_CAP_8_BIT_DATA - the card won't be detected (tested with two SDHC cards, both Class6). Thus disabling. Signed-off-by: Radek Pilar mr...@mrkva.eu --- arch/arm/mach-omap2/board-omap3touchbook.c |1 - 1 files changed, 0 insertions(+), 1

Re: [PATCH] OMAP4: clock: Support divider selection for auxclks

2011-02-24 Thread Paul Walmsley
Hi Rajendra, On Thu, 24 Feb 2011, Rajendra Nayak wrote: On OMAP4 the auxclk nodes (part of SCRM) support both divider as well as parent selection. Supporting this requires splitting the existing nodes (which support only parent selection) into two nodes, one for parent and another for

[PATCH 2/2] OMAP3 Touchbook: fix board initialization

2011-02-24 Thread Mrkva
init_early hook runs too early for omap3_mux_init(), so the board won't boot. Moved to init_machine, then it works just fine. Signed-off-by: Radek Pilar mr...@mrkva.eu --- arch/arm/mach-omap2/board-omap3touchbook.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

TWL4030 backup battery charging in 2.6.32

2011-02-24 Thread John Faith
Hi, I have a TPS65920 (twl4030) power chip on an omap3530 board I would like to use to charge a small backup battery to keep the RTC happy. I've run across patches adding drivers/power/twl4030_bci_battery.c which seems to do what I want (sets the twl4030 BB_CFG register's BBCHEN bit), but the

Re: [PATCH v3 0/5] OMAP: HSMMC: hwmod adaptation

2011-02-24 Thread Kadiyala, Kishore
Hi Benoit, On Thu, Feb 24, 2011 at 3:49 PM, Cousson, Benoit b-cous...@ti.com wrote: Hi Kishore, On 2/23/2011 6:47 PM, Kadiyala, Kishore wrote: Adding hwmod data for hsmmc device on OMAP2430/OMAP3/OMAP4. Adapting the omap_hsmmc driver to hwmod framework. The patch series is based on -rc6

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Alexander Holler
Hello, Am 24.02.2011 18:57, schrieb Alan Stern: It's important that this patch appear in .37-stable at the same time as the $SUBJECT patch. If that means delaying $SUBJECT for one release, so be it -- it was not a very important change. Too late, 2.6.37.1 is already broken. But the patch

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Greg KH
On Thu, Feb 24, 2011 at 12:57:20PM -0500, Alan Stern wrote: On Thu, 24 Feb 2011, Felipe Balbi wrote: On Thu, Feb 24, 2011 at 09:18:14AM -0800, Greg KH wrote: On Thu, Feb 24, 2011 at 11:16:38AM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 24, 2011 at 10:15:23AM +0100, Alexander

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Greg KH
On Thu, Feb 24, 2011 at 10:12:46AM -0800, Greg KH wrote: On Thu, Feb 24, 2011 at 12:57:20PM -0500, Alan Stern wrote: On Thu, 24 Feb 2011, Felipe Balbi wrote: On Thu, Feb 24, 2011 at 09:18:14AM -0800, Greg KH wrote: On Thu, Feb 24, 2011 at 11:16:38AM +0200, Felipe Balbi wrote: Hi,

Re: [024/115] USB: prevent buggy hubs from crashing the USB stack

2011-02-24 Thread Greg KH
On Thu, Feb 24, 2011 at 07:11:34PM +0100, Alexander Holler wrote: Hello, Am 24.02.2011 18:57, schrieb Alan Stern: It's important that this patch appear in .37-stable at the same time as the $SUBJECT patch. If that means delaying $SUBJECT for one release, so be it -- it was not a very

Re: [PATCH v4 09/13] OMAP: McBSP: use omap_device APIs to modify SYSCONFIG

2011-02-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [110224 01:50]: McBSP2/3 in OMAP3 has sidetone feature which requires autoidle to be disabled before starting the sidetone. Also SYSCONFIG register has to be set with smart idle or no idle depending on the dma op mode (threshold or element sync). For

  1   2   >