RE: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Gadiyar, Anand
@@ -460,4 +461,35 @@ OMAP3_HAS_FEATURE(isp, ISP) OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK) OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP) +/* + * Map revision bits to silicon specific revisions + */ +#define ES_1_0 OMAP_REVBITS_00 probably need ES_1_1, 1_2 (considering

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-22 Thread Russell King - ARM Linux
On Wed, Jul 21, 2010 at 09:25:28PM -0700, Zach Pfeffer wrote: Yes it is a problem, as Russell has brought up, but there's something I probably haven't communicated well. I'll use the following example: There are 3 devices: A CPU, a decoder and a video output device. All 3 devices need to map

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-22 Thread Russell King - ARM Linux
On Wed, Jul 21, 2010 at 09:30:34PM -0700, Zach Pfeffer wrote: This goes to the nub of the issue. We need a lot of 1 MB physically contiguous chunks. The system is going to fragment and we'll never get our 12 1 MB chunks that we'll need, since the DMA API allocator uses the system pool it will

Re: [RFC 3/3] mm: iommu: The Virtual Contiguous Memory Manager

2010-07-22 Thread Russell King - ARM Linux
On Wed, Jul 21, 2010 at 08:50:26PM -0700, Zach Pfeffer wrote: On Wed, Jul 14, 2010 at 10:59:43AM +0900, FUJITA Tomonori wrote: On Tue, 13 Jul 2010 10:02:23 +0100 Zach Pfeffer said this new VCM infrastructure can be useful for video4linux. However, I don't think we need 3,000-lines

[PATCH] omap3: Remove non-existent config option

2010-07-22 Thread Sanjeev Premi
From: Yogesh Marathe yogesh_mara...@ti.com The definition of iva2 device in iommu_device is wrapped inside CONFIG_MPU_BRIDGE_IOMMU, but this option is not defined in KConfig. This patch removes the wrapper and makes iva2 available as another iommu_device. Signed-off-by: Yogesh Marathe

Re: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Nishanth Menon
On 07/22/2010 01:53 AM, Gadiyar, Anand wrote: @@ -460,4 +461,35 @@ OMAP3_HAS_FEATURE(isp, ISP) OMAP3_HAS_FEATURE(192mhz_clk, 192MHZ_CLK) OMAP3_HAS_FEATURE(io_wakeup, IO_WAKEUP) +/* + * Map revision bits to silicon specific revisions + */ +#define ES_1_0 OMAP_REVBITS_00 probably

RE: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Premi, Sanjeev
-Original Message- From: Menon, Nishanth Sent: Thursday, July 22, 2010 3:08 PM To: Gadiyar, Anand Cc: Premi, Sanjeev; linux-omap@vger.kernel.org Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision On 07/22/2010 01:53 AM, Gadiyar, Anand wrote: @@ -460,4 +461,35 @@

RE: [PATCH 1/3] OMAP: DSS2: Zorder enum in display.h

2010-07-22 Thread Premi, Sanjeev
-Original Message- From: Taneja, Archit Sent: Thursday, July 22, 2010 9:42 AM To: Premi, Sanjeev; tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Nilofer, Samreen Subject: RE: [PATCH 1/3] OMAP: DSS2: Zorder enum in display.h -Original

RE: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Shilimkar, Santosh
Sanjeev, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Premi, Sanjeev Sent: Thursday, July 22, 2010 3:20 PM To: Menon, Nishanth; Gadiyar, Anand Cc: linux-omap@vger.kernel.org Subject: RE: [PATCH] omap: Add macros to

Re: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Nishanth Menon
Premi, Sanjeev had written, on 07/22/2010 04:49 AM, the following: -Original Message- From: Menon, Nishanth Sent: Thursday, July 22, 2010 3:08 PM To: Gadiyar, Anand Cc: Premi, Sanjeev; linux-omap@vger.kernel.org Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision On

RE: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Premi, Sanjeev
-Original Message- From: Menon, Nishanth Sent: Thursday, July 22, 2010 4:18 PM To: Premi, Sanjeev Cc: Gadiyar, Anand; linux-omap@vger.kernel.org Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision Premi, Sanjeev had written, on 07/22/2010 04:49 AM, the following:

Re: [PATCH v2 10/20] omap: zoom: add fixed regulator device for wlan

2010-07-22 Thread Roger Quadros
On 07/21/2010 08:59 PM, ext Mark Brown wrote: On Wed, Jul 21, 2010 at 08:33:44PM +0300, Ohad Ben-Cohen wrote: +static struct regulator_consumer_supply zoom_vmmc3_supply = { + .supply = vmmc, +}; This looks like a misconfiguration on the consumer - I'd strongly expect the

Re: [PATCH v2 18/20] mmc: sdio: enable a default power off mode of the card

2010-07-22 Thread Roger Quadros
On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: Add support for an SDIO device to stay powered off even without the presence of an SDIO function driver. A host should explicitly ask for it by means of MMC_CAP_DONT_POWER_CARD, and the SDIO function driver should know it needs to call

Re: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Nishanth Menon
Premi, Sanjeev had written, on 07/22/2010 06:20 AM, the following: -Original Message- From: Menon, Nishanth Sent: Thursday, July 22, 2010 4:18 PM To: Premi, Sanjeev Cc: Gadiyar, Anand; linux-omap@vger.kernel.org Subject: Re: [PATCH] omap: Add macros to evaluate cpu revision Premi,

RE: [PATCH] omap: Add macros to evaluate cpu revision

2010-07-22 Thread Premi, Sanjeev
snip---snip Here is a sample usage from one of the patch I am reworking for submission here: @@ -488,7 +494,9 @@ void omap_sram_idle(void) * of AUTO_CNT = 1 enabled. This takes care of errata 1.142. * Hence store/restore the SDRC_POWER register here.

Re: [RFC 3/3] mm: iommu: The Virtual Contiguous Memory Manager

2010-07-22 Thread Zach Pfeffer
On Thu, Jul 22, 2010 at 08:51:51AM +0100, Russell King - ARM Linux wrote: On Wed, Jul 21, 2010 at 08:50:26PM -0700, Zach Pfeffer wrote: On Wed, Jul 14, 2010 at 10:59:43AM +0900, FUJITA Tomonori wrote: On Tue, 13 Jul 2010 10:02:23 +0100 Zach Pfeffer said this new VCM infrastructure can

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-22 Thread Zach Pfeffer
On Thu, Jul 22, 2010 at 08:34:55AM +0100, Russell King - ARM Linux wrote: On Wed, Jul 21, 2010 at 09:25:28PM -0700, Zach Pfeffer wrote: Yes it is a problem, as Russell has brought up, but there's something I probably haven't communicated well. I'll use the following example: There are 3

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-22 Thread Zach Pfeffer
On Thu, Jul 22, 2010 at 08:39:17AM +0100, Russell King - ARM Linux wrote: On Wed, Jul 21, 2010 at 09:30:34PM -0700, Zach Pfeffer wrote: This goes to the nub of the issue. We need a lot of 1 MB physically contiguous chunks. The system is going to fragment and we'll never get our 12 1 MB

Re: [PATCH 2/2] USB: musb: omap2430: add mode change from A to B

2010-07-22 Thread Kan-Ru Chen
--text follows this line-- Hi, On Mon, 15 Mar 2010 18:23:42 +0800, Wang Hui hui.w...@windriver.com wrote: On omap2/3 series platforms, the musb can't raise id pin change detection interrupt, so we must change otg mode through sysfs interface manually. Currently when the musb is in B mode, if

Re: [RFC 3/3] mm: iommu: The Virtual Contiguous Memory Manager

2010-07-22 Thread Zach Pfeffer
On Thu, Jul 22, 2010 at 01:47:36PM +0900, FUJITA Tomonori wrote: On Wed, 21 Jul 2010 20:50:26 -0700 Zach Pfeffer zpfef...@codeaurora.org wrote: On Wed, Jul 14, 2010 at 10:59:43AM +0900, FUJITA Tomonori wrote: On Tue, 13 Jul 2010 10:02:23 +0100 Zach Pfeffer said this new VCM

Re: [PATCH 2/2] USB: musb: omap2430: add mode change from A to B

2010-07-22 Thread Felipe Balbi
On 07/22/2010 06:16 PM, Kan-Ru Chen wrote: Just curious about how to do this in a more automatic way. I think setup a daemon to monitor the musb_hdrc mode and try to alter it's state via sysfs interface will work, but it may be error prone and not always desirable solution. Can we query

Re: [RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management

2010-07-22 Thread Zach Pfeffer
On Thu, Jul 22, 2010 at 01:43:26PM +0900, FUJITA Tomonori wrote: On Wed, 21 Jul 2010 21:30:34 -0700 Zach Pfeffer zpfef...@codeaurora.org wrote: On Wed, Jul 21, 2010 at 10:44:37AM +0900, FUJITA Tomonori wrote: On Tue, 20 Jul 2010 15:20:01 -0700 Zach Pfeffer zpfef...@codeaurora.org

Re: [PATCH 00/15] ti dspbridge: Remove CamelCase, reagroup variables

2010-07-22 Thread Greg KH
On Fri, Jul 09, 2010 at 09:23:54PM -0500, Rene Sapiens wrote: The intention of this serie of patches is to rename the remaining variables with camel case. Words will be renamed avoiding CamelCase and Hungarian notation. Also the variables in the prototypes will be renamed to make them

Re: [PATCH 00/15] ti dspbridge: Remove CamelCase, reagroup variables

2010-07-22 Thread Greg KH
On Fri, Jul 16, 2010 at 07:17:12PM -0500, Omar Ramirez Luna wrote: On 7/9/2010 9:23 PM, Sapiens, Rene wrote: The intention of this serie of patches is to rename the remaining variables with camel case. Words will be renamed avoiding CamelCase and Hungarian notation. Also the variables in the

Re: [PATCH 06/11] staging: tidspbridge: remove GlobalTypes.h

2010-07-22 Thread Greg KH
On Mon, Jul 12, 2010 at 05:56:04PM -0500, Nishanth Menon wrote: Remove custom globaltypes.h header This patch doesn't apply :( thanks, greg k-h -- 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

Re: [PATCH 07/11] staging: tidspbridge: replace CONST with c standard const

2010-07-22 Thread Greg KH
On Mon, Jul 12, 2010 at 05:56:05PM -0500, Nishanth Menon wrote: Signed-off-by: Nishanth Menon n...@ti.com This one doesn't apply either, so I'll just stop applying this series here. Care to redo the rest of them against the next linux-next so you can sync back up? thanks, greg k-h -- To

[PATCH 1/6] staging: tidspbridge: remove GlobalTypes.h

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth n...@ti.com Remove custom globaltypes.h header Signed-off-by: Nishanth Menon n...@ti.com --- drivers/staging/tidspbridge/hw/GlobalTypes.h | 291 -- drivers/staging/tidspbridge/hw/MMURegAcM.h |1 - drivers/staging/tidspbridge/hw/hw_defs.h

[PATCH 6/6] staging: tidspbridge: remove dbdefs.h

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth n...@ti.com Remove yet another custom definition header Signed-off-by: Nishanth Menon n...@ti.com --- .../staging/tidspbridge/include/dspbridge/dbdefs.h |1 - .../staging/tidspbridge/include/dspbridge/dbtype.h | 69

[PATCH 2/6] staging: tidspbridge: replace CONST with c standard const

2010-07-22 Thread Omar Ramirez Luna
From: Menon, Nishanth n...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- drivers/staging/tidspbridge/core/chnl_sm.c |4 ++-- drivers/staging/tidspbridge/core/io_sm.c |2 +- drivers/staging/tidspbridge/core/msg_sm.c |2 +-

[PATCH v2 0/6] staging: tidspbridge: header cleanup series

2010-07-22 Thread Omar Ramirez Luna
Rebased version of the patches that couldn't be applied. Original set: [1] http://marc.info/?l=linux-kernelm=127897548706686w=2 [2] http://marc.info/?l=linux-kernelm=127982129204138w=2 Fixed unexpected change while replacing IN modifier [3] http://marc.info/?l=linux-kernelm=127972475532227w=2

Re: Serial console not working after waking up from sleep

2010-07-22 Thread Tyler
Sapiens, Rene rene.sapiens at ti.com writes: You can do a telnet to the device... you should be able to work with it but your serial session will show the garbage. Regards, Rene Hello, I am in essentially the same position, but currently working off of the pm-head branch. I am just

Re: [PATCH v2 0/6] staging: tidspbridge: header cleanup series

2010-07-22 Thread Greg KH
On Thu, Jul 22, 2010 at 04:03:44PM -0500, Omar Ramirez Luna wrote: Rebased version of the patches that couldn't be applied. All applied, thanks. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v2 00/20] native support for wl1271 on ZOOM

2010-07-22 Thread Nicolas Pitre
On Wed, 21 Jul 2010, Ohad Ben-Cohen wrote: This patch series adds native support for wl1271 on ZOOM. Changes since v1: - introduce a fixed regulator device to control the power of wl1271 - allow to propagate private board-specific data to SDIO function drivers - allow SDIO function

Re: [PATCH v2 10/20] omap: zoom: add fixed regulator device for wlan

2010-07-22 Thread Ohad Ben-Cohen
On Thu, Jul 22, 2010 at 2:16 PM, Roger Quadros roger.quad...@nokia.com wrote: On 07/21/2010 08:59 PM, ext Mark Brown wrote: On Wed, Jul 21, 2010 at 08:33:44PM +0300, Ohad Ben-Cohen wrote: +static struct regulator_consumer_supply zoom_vmmc3_supply = { +       .supply         = vmmc, +};

Re: [PATCH v2 19/20] omap: zoom: keep the MMC3 wl1271 device powered off

2010-07-22 Thread Ohad Ben-Cohen
Hi Gever, On Wed, Jul 21, 2010 at 9:55 PM, Gabay, Benzy ben...@ti.com wrote: From: Ohad Ben-Cohen [mailto:o...@wizery.com] Sent: Wednesday, July 21, 2010 12:34 PM To: linux-wirel...@vger.kernel.org; linux-...@vger.kernel.org; linux-omap@vger.kernel.org Cc:

Re: [PATCH v2 01/20] sdio: add TI + wl1271 ids

2010-07-22 Thread Ohad Ben-Cohen
Hi Marcel, On Wed, Jul 21, 2010 at 8:58 PM, Marcel Holtmann mar...@holtmann.org wrote: Add SDIO IDs for TI and for TI's wl1271 wlan device. Signed-off-by: Ohad Ben-Cohen o...@wizery.com ---  include/linux/mmc/sdio_ids.h |    3 +++  1 files changed, 3 insertions(+), 0 deletions(-) diff

Re: [PATCH v2 00/20] native support for wl1271 on ZOOM

2010-07-22 Thread Ohad Ben-Cohen
On Fri, Jul 23, 2010 at 1:56 AM, Nicolas Pitre n...@fluxnic.net wrote: On Wed, 21 Jul 2010, Ohad Ben-Cohen wrote: This patch series adds native support for wl1271 on ZOOM. Changes since v1: - introduce a fixed regulator device to control the power of wl1271 - allow to propagate private

Re: [PATCH 2/2] omap:mailbox-provide multiple reader support

2010-07-22 Thread Hari Kanigeri
Phil, Thanks for looking at the patch. On Wed, Jul 21, 2010 at 4:45 AM, ext-phil.2.carm...@nokia.com wrote: Apologies - top posting and not quoting properly due to having to use MS's braindead OWA. It appears that most of the changes are simply indentation changes caused by the

Re: [PATCH 2/2] omap:mailbox-provide multiple reader support

2010-07-22 Thread Hari Kanigeri
Fernando, Thanks for looking at the patch. On Tue, Jul 20, 2010 at 4:59 PM, Guzman Lugo, Fernando fernando.l...@ti.com wrote: Hi Hari, @@ -252,28 +252,30 @@ static int omap_mbox_startup(struct omap_mbox *mbox)               }       } -     ret = request_irq(mbox-irq, mbox_interrupt,

Re: [PATCH 2/2] USB: musb: omap2430: add mode change from A to B

2010-07-22 Thread Kan-Ru Chen
On Thu, 22 Jul 2010 19:40:44 +0300, Felipe Balbi m...@felipebalbi.com wrote: On 07/22/2010 06:16 PM, Kan-Ru Chen wrote: Just curious about how to do this in a more automatic way. I think setup a daemon to monitor the musb_hdrc mode and try to alter it's state via sysfs interface will

RE: [PATCH 3/5] OMAP: DSS2: Add new overlay object for Video3 pipeline

2010-07-22 Thread Hiremath, Vaibhav
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Taneja, Archit Sent: Monday, July 19, 2010 5:26 PM To: tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Mittal, Mukund; Taneja, Archit Subject:

foo

2010-07-22 Thread Kalpesh Rathod
unsubscribe -- 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: [PATCH 3/5] OMAP: DSS2: Add new overlay object for Video3 pipeline

2010-07-22 Thread Taneja, Archit
Hi, -Original Message- From: Hiremath, Vaibhav Sent: Friday, July 23, 2010 10:54 AM To: Taneja, Archit; tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Mittal, Mukund Subject: RE: [PATCH 3/5] OMAP: DSS2: Add new overlay object for Video3 pipeline

RE: [PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs

2010-07-22 Thread Hiremath, Vaibhav
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Archit Taneja Sent: Monday, July 19, 2010 5:26 PM To: tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Mittal, Mukund; Taneja, Archit Subject:

RE: [PATCH 5/5] OMAP: DSS2: Context Save and Restore of Video3 pipeline registers

2010-07-22 Thread Hiremath, Vaibhav
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Taneja, Archit Sent: Monday, July 19, 2010 5:26 PM To: tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Janorkar, Mayuresh; Mittal, Mukund; Taneja, Archit

RE: [PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs

2010-07-22 Thread Taneja, Archit
-Original Message- From: Hiremath, Vaibhav Sent: Friday, July 23, 2010 11:10 AM To: Taneja, Archit; tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Mittal, Mukund; Taneja, Archit Subject: RE: [PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs snap @@

RE: [PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs

2010-07-22 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Friday, July 23, 2010 11:17 AM To: Hiremath, Vaibhav; tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Semwal, Sumit; Mittal, Mukund Subject: RE: [PATCH 4/5] OMAP: DSS2: Video3 pipeline IRQs -Original Message-

RE: [PATCH 5/5] OMAP: DSS2: Context Save and Restore of Video3 pipeline registers

2010-07-22 Thread Taneja, Archit
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Taneja, Archit Sent: Monday, July 19, 2010 5:26 PM To: tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Janorkar, Mayuresh; Mittal, Mukund; Taneja,

RE: [PATCH 5/5] OMAP: DSS2: Context Save and Restore of Video3 pipeline registers

2010-07-22 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Friday, July 23, 2010 11:26 AM To: Hiremath, Vaibhav; tomi.valkei...@nokia.com Cc: linux-omap@vger.kernel.org; Janorkar, Mayuresh; Mittal, Mukund Subject: RE: [PATCH 5/5] OMAP: DSS2: Context Save and Restore of Video3 pipeline registers