[PATCH v3 7/9] omap: zoom: add fixed regulator device for wlan

2010-08-10 Thread Ohad Ben-Cohen
Add a fixed regulator vmmc device to enable power control of the wl1271 wlan device. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom-peripherals.c | 35 ++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v3 8/9] omap: hsmmc: split mmc23 power control

2010-08-10 Thread Ohad Ben-Cohen
Prepare for mmc3 regulator power control by splitting the power control functions of mmc2 and mmc3, and expecting mmc3 to have a single, dedicated, regulator support. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/hsmmc.c | 10 -- drivers/mmc/host/omap_hsmmc.c

[PATCH v3 9/9] omap: zoom: add mmc3/wl1271 device support

2010-08-10 Thread Ohad Ben-Cohen
Add MMC3 support on ZOOM, which has the wl1271 device hardwired to. The wl1271 is a 4-wire, 1.8V, embedded SDIO WLAN device with an external IRQ line, and power-controlled by a GPIO-based fixed regulator. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom

[PATCH v3 3/9] wireless: wl1271: add platform driver to get board data

2010-08-10 Thread Ohad Ben-Cohen
Dynamically create and register a platform driver, that will be used to to receive board-specific information like irq and reference clock numbers. The driver is created dynamically in order to avoid the 1-device limitation of a fixed platform driver name. Signed-off-by: Ohad Ben-Cohen o

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-06 Thread Ohad Ben-Cohen
On Fri, Aug 6, 2010 at 10:07 AM, Linus Walleij linus.ml.wall...@gmail.com wrote: 2010/8/4 Ohad Ben-Cohen o...@wizery.com: On Wed, Aug 4, 2010 at 2:41 PM, Russell King - ARM Linux Why not arrange for a small piece of code to be built into the kernel when this driver is selected as a module

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-04 Thread Ohad Ben-Cohen
Hi Vitaly, On Tue, Aug 3, 2010 at 5:17 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Mon, Aug 2, 2010 at 11:35 PM, Ohad Ben-Cohen o...@wizery.com wrote: I'm honestly trying to understand your concerns, but I'm afraid that just saying it's a hack is not too informative. Can you please explain

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-04 Thread Ohad Ben-Cohen
On Wed, Aug 4, 2010 at 2:41 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Aug 04, 2010 at 02:24:39PM +0300, Ohad Ben-Cohen wrote: On Tue, Aug 3, 2010 at 5:17 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Mon, Aug 2, 2010 at 11:35 PM, Ohad Ben-Cohen o...@wizery.com wrote

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

2010-08-02 Thread Ohad Ben-Cohen
On Mon, Aug 2, 2010 at 2:42 PM, Tony Lindgren t...@atomide.com wrote: Nicolas Pitre made a comment saying he wants to look at these patches more, are there other pending comments? I plan to post a v3 series this week with some of the comments that were already discussed after v2. Thanks

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

2010-08-02 Thread Ohad Ben-Cohen
On Mon, Aug 2, 2010 at 6:12 PM, Vitaly Wool vitalyw...@gmail.com wrote: Also, specifically to 12xx, I'd like to see REF_CLOCK moved on and have this set by platform too (I haven't found anything like that in the patches but maybe I've overlooked that). Check out patch no. 9:

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-02 Thread Ohad Ben-Cohen
Hi Vitaly, On Thu, Jul 29, 2010 at 7:16 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Thu, Jul 29, 2010 at 8:00 AM, Ohad Ben-Cohen o...@wizery.com wrote: To my understanding, this data doesn't belong to mmc_host. It's not a host data at all. E. g. imagine a GPIO IRQ for some SDIO chip -- it's

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

2010-08-02 Thread Ohad Ben-Cohen
Hi Vitaly, On Mon, Aug 2, 2010 at 7:19 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Mon, Aug 2, 2010 at 5:59 PM, Ohad Ben-Cohen o...@wizery.com wrote: Check out patch no. 9: sorry for the confusion. However, I guess if the platform doesn't supply this value, we'll just consider it 0

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-08-02 Thread Ohad Ben-Cohen
Hi Vitaly, On Mon, Aug 2, 2010 at 7:25 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Mon, Aug 2, 2010 at 5:54 PM, Ohad Ben-Cohen o...@wizery.com wrote: SPI is using these spi_board_info tables to populate the SPI device trees. These tables are registered early at the board-specific init code

Re: [PATCH 00/10] staging:ti dspbridge: Remove DSP_FAILED and DSP_SUCCEEDED macros

2010-07-30 Thread Ohad Ben-Cohen
Hi Ernesto, On Wed, Jul 28, 2010 at 5:45 PM, Ernesto Ramos erne...@ti.com wrote: This series of patches is targetted to remove macros DSP_FAILED and DSP_SUCCEEDED since bridge driver currently uses standard kernel error codes. These macros were often used to test for success, instead for

Re: [PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-07-29 Thread Ohad Ben-Cohen
Hi Vitaly, On Wed, Jul 28, 2010 at 10:47 PM, Vitaly Wool vitalyw...@gmail.com wrote: On Wed, Jul 21, 2010 at 7:33 PM, Ohad Ben-Cohen o...@wizery.com wrote: Add support to set/get mmc_host private embedded data. This is needed to allow software to dynamically create (and remove) SDIO

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

2010-07-28 Thread Ohad Ben-Cohen
Hi Hari, On Wed, Jul 28, 2010 at 1:02 AM, Ohad Ben-Cohen o...@wizery.com wrote: On Wed, Jul 21, 2010 at 12:41 AM, Hari Kanigeri h-kanige...@ti.com wrote: This patch provides mutiple readers support for a mailbox instance. Signed-off-by: Hari Kanigeri h-kanige...@ti.com ---  arch/arm

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

2010-07-27 Thread Ohad Ben-Cohen
On Mon, Jul 26, 2010 at 10:30 PM, John W. Linville linvi...@tuxdriver.com wrote: On Wed, Jul 21, 2010 at 08:33:34PM +0300, Ohad Ben-Cohen wrote: This patch series adds native support for wl1271 on ZOOM. Just for the record, I'm fine with the wl1271 bits here going through the omap tree

Re: [RFC 0/6] Introducing OMAP Remote Processor module

2010-07-27 Thread Ohad Ben-Cohen
: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Ohad Ben-Cohen Sent: Friday, July 02, 2010 3:53 AM To: linux-omap@vger.kernel.org Cc: Kanigeri, Hari; Ben-cohen, Ohad Subject: [RFC 0/6] Introducing OMAP Remote Processor

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

2010-07-27 Thread Ohad Ben-Cohen
Hi Hari, On Wed, Jul 21, 2010 at 12:41 AM, Hari Kanigeri h-kanige...@ti.com wrote: This patch provides mutiple readers support for a mailbox instance. Signed-off-by: Hari Kanigeri h-kanige...@ti.com ---  arch/arm/plat-omap/include/plat/mailbox.h |    6 ++-  arch/arm/plat-omap/mailbox.c    

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

2010-07-25 Thread Ohad Ben-Cohen
On Fri, Jul 23, 2010 at 12:15 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, Jul 23, 2010 at 02:13:38AM +0300, Ohad Ben-Cohen wrote: On Thu, Jul 22, 2010 at 2:16 PM, Roger Quadros roger.quad...@nokia.com wrote: .dev_name       = mmci-omap-hs.2 I already set the .dev

[PATCH] omap: zoom: add fixed regulator device for wl1271

2010-07-25 Thread Ohad Ben-Cohen
Add a fixed regulator vmmc device to enable power control of the wl1271 wlan device. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- This patch is a follow-up to a previous wl1271 discussion, thus all original recipients are CC'ed. arch/arm/mach-omap2/board-zoom-peripherals.c | 35

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

2010-07-25 Thread Ohad Ben-Cohen
On Thu, Jul 22, 2010 at 2:35 PM, Roger Quadros roger.quad...@nokia.com wrote: 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

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

2010-07-25 Thread Ohad Ben-Cohen
On Sun, Jul 25, 2010 at 4:56 PM, Nicolas Pitre n...@fluxnic.net wrote: On Sun, 25 Jul 2010, Ohad Ben-Cohen wrote: On Thu, Jul 22, 2010 at 2:35 PM, Roger Quadros roger.quad...@nokia.com wrote: On 07/21/2010 08:33 PM, ext Ohad Ben-Cohen wrote: Add support for an SDIO device to stay

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: linux-arm-ker

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

[PATCH v2 03/20] mmc: support embedded data field in mmc_host

2010-07-21 Thread Ohad Ben-Cohen
to be able to get that context back upon creation of the new sdio func). Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- include/linux/mmc/host.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index f65913c

[PATCH v2 04/20] omap zoom2: wlan board muxing

2010-07-21 Thread Ohad Ben-Cohen
Add board muxing to support the wlan wl1271 chip that is hardwired to mmc2 (third mmc controller) on the ZOOM2. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom2.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 05/20] omap zoom3: wlan board muxing

2010-07-21 Thread Ohad Ben-Cohen
Add board muxing to support the wlan wl1271 chip that is hardwired to mmc2 (third mmc controller) on the ZOOM3. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom3.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 06/20] wireless: wl1271: make wl12xx.h common to both spi and sdio

2010-07-21 Thread Ohad Ben-Cohen
Move wl12xx.h outside of the spi-specific location, so it can be shared with both spi and sdio solutions. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/net/wireless/wl12xx/wl1251_sdio.c |2 +- drivers/net/wireless/wl12xx/wl1251_spi.c |2 +- drivers/net/wireless/wl12xx

[PATCH v2 07/20] wireless: wl1271: support return value for the set power func

2010-07-21 Thread Ohad Ben-Cohen
Make it possible for the set power method to indicate a success/failure return value. This is needed to support more complex power on/off operations such as bringing up (and down) sdio functions. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/net/wireless/wl12xx/wl1271.h |2

[PATCH v2 08/20] wireless: wl1271: take irq info from private board data

2010-07-21 Thread Ohad Ben-Cohen
Remove the hard coded irq information, and instead take the irq information from the board private data which is supplied by the sdio function. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/net/wireless/wl12xx/wl1271_sdio.c | 14 -- 1 files changed, 8 insertions(+), 6

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

2010-07-21 Thread Ohad Ben-Cohen
Add a fixed regulator vmmc device to enable power control of the wl1271 wlan device. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom-peripherals.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 11/20] omap: hsmmc: support mmc3 regulator power control

2010-07-21 Thread Ohad Ben-Cohen
Prepare for mmc3 regulator power control by splitting the power control functions of mmc2 and mmc3, and expecting mmc3 to have a single, dedicated, regulator support. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/hsmmc.c | 10 -- drivers/mmc/host/omap_hsmmc.c

[PATCH v2 13/20] omap: zoom: add mmc3/wl1271 device support

2010-07-21 Thread Ohad Ben-Cohen
Add MMC3 support on ZOOM, which has the wl1271 device hardwired to. The wl1271 is a 4-wire, 1.8V, embedded SDIO WLAN device with an external IRQ line, and power-controlled by a GPIO-based fixed regulator. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom

[PATCH v2 12/20] omap: hsmmc: allow board-specific settings of private mmc data

2010-07-21 Thread Ohad Ben-Cohen
Allow board-specific settings of private mmc data, in order to allow embedded SDIO devices to communicate board-specific parameters to the SDIO function driver (e.g., the external IRQ line of the wl1271). Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/hsmmc.c

[PATCH v2 14/20] mmc: sdio: fully reconfigure oldcard on resume

2010-07-21 Thread Ohad Ben-Cohen
now this is part of mmc_sdio_init_card. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/mmc/core/sdio.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index b9dee28..645f173 100644 --- a/drivers/mmc/core

[PATCH v2 15/20] mmc: sdio: verify existence of resume handler

2010-07-21 Thread Ohad Ben-Cohen
Before invoking a card's resume handler, verify one exists. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/mmc/core/sdio.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index 645f173..37739f5 100644

[PATCH v2 16/20] mmc: introduce API to control the card's power

2010-07-21 Thread Ohad Ben-Cohen
Introduce the sdio_claim_power/sdio_release_power API (with correspoding mmc_claim_power/mmc_release_power) that controls the power of the card. A reference count scheme is employed, to allow SDIO function voting. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/mmc/core/bus.c

[PATCH v2 20/20] wireless: wl1271: call SDIO claim/release power API

2010-07-21 Thread Ohad Ben-Cohen
call SDIO claim/release power API to turn the wl1271 power on and off Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/net/wireless/wl12xx/wl1271_sdio.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/wl12xx/wl1271_sdio.c b/drivers/net

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

2010-07-21 Thread Ohad Ben-Cohen
-by: Ohad Ben-Cohen o...@wizery.com --- drivers/mmc/core/sdio.c | 15 +-- include/linux/mmc/host.h |1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index 5c0fbfa..164353f 100644 --- a/drivers/mmc/core/sdio.c +++ b

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

2010-07-21 Thread Ohad Ben-Cohen
Keep the MMC3 wl1271 WLAN device powered off until its SDIO function driver requests otherwise. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1 + arch/arm/mach-omap2/hsmmc.c |3 +++ arch/arm/mach-omap2/hsmmc.h

Re: [PATCH 11/15] wireless: wl1271: introduce platform device support

2010-07-09 Thread Ohad Ben-Cohen
Hi Roger, On Fri, Jul 9, 2010 at 11:12 AM, Roger Quadros roger.quad...@nokia.com wrote: You are already creating a new platform device for wl1271_sdio just to pass platform_data With the new approach, I can remove this platform device altogether, and completely rely on the sdio function device

Re: [PATCH 11/15] wireless: wl1271: introduce platform device support

2010-07-08 Thread Ohad Ben-Cohen
Hi Nicolas and Roger, On Tue, Jul 6, 2010 at 8:42 PM, Nicolas Pitre n...@fluxnic.net wrote: On Tue, 6 Jul 2010, Roger Quadros wrote: If the Power enable GPIO can be treated as SDIO slot supply (i.e. vmmc), then the SDIO/MMC core should tackle it, just like it deals with supply for slots

Re: [PATCH 06/15] omap zoom2: wlan board muxing

2010-07-08 Thread Ohad Ben-Cohen
On Thu, Jul 8, 2010 at 12:45 PM, Tony Lindgren t...@atomide.com wrote: * Ghorai, Sukumar s-gho...@ti.com [100708 06:34]: @@ -71,6 +71,21 @@ static struct twl4030_platform_data zoom2_twldata = {  #ifdef CONFIG_OMAP_MUX  static struct omap_board_mux board_mux[] __initdata = {

Re: [PATCH 15/15] omap: zoom: enable WLAN device

2010-07-08 Thread Ohad Ben-Cohen
On Thu, Jul 8, 2010 at 6:39 AM, Ghorai, Sukumar s-gho...@ti.com wrote: [Ghorai] In general we can avoid OMAP_ZOOM_WLAN and MMC_EMBEDDED_SDIO as kconfig option. 1st one is board specific and 2nd one could be generic sdio code. As I mentioned in other patch too. Thanks, will get rid of the

Re: [PATCH 11/11] staging: ti dspbridge: enable driver building

2010-07-07 Thread Ohad Ben-Cohen
On Wed, Jul 7, 2010 at 12:31 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Tue, Jul 6, 2010 at 6:52 PM, Omar Ramirez Luna omar.rami...@ti.com wrote: at that point *you* wanted your patches not to be included if the last one wasn't merged in. Not without the copyright update patch.

Re: [PATCH 11/15] wireless: wl1271: introduce platform device support

2010-07-06 Thread Ohad Ben-Cohen
Hi Roger, On Tue, Jul 6, 2010 at 11:53 AM, Roger Quadros roger.quad...@nokia.com wrote: Could you please explain why you need to do this? To minimize power consumption when the wlan device is not in use, we would like to keep the device powered off as long as the interface is down, and only

Re: [PATCH 05/15] omap: hsmmc: add virtual card detect support

2010-07-06 Thread Ohad Ben-Cohen
Hi Nicolas, On Tue, Jul 6, 2010 at 4:45 AM, Nicolas Pitre n...@fluxnic.net wrote: On Tue, 6 Jul 2010, Ohad Ben-Cohen wrote: From: Ohad Ben-Cohen oh...@ti.com Add support for software emulation of card detect events. This is required for specific controllers that are hard wired

Re: [PATCH 05/15] omap: hsmmc: add virtual card detect support

2010-07-06 Thread Ohad Ben-Cohen
On Tue, Jul 6, 2010 at 1:22 PM, Ohad Ben-Cohen o...@wizery.com wrote: Note: the wl1271 device does support standard card detection, but AFAIK there's a limitation to use that with the specific omap controller the device is hardwired to. I will try to get more info about that, but probably

Re: [PATCH 05/15] omap: hsmmc: add virtual card detect support

2010-07-06 Thread Ohad Ben-Cohen
On Tue, Jul 6, 2010 at 2:02 PM, Roger Quadros roger.quad...@nokia.com wrote: On 07/06/2010 01:22 PM, ext Ohad Ben-Cohen wrote: We prefer not to power up the chip as early as boot time; instead, we Why? Let's say you boot your device but never use WLAN. In this scenario, we prefer the wl1271

Re: [PATCH 11/15] wireless: wl1271: introduce platform device support

2010-07-06 Thread Ohad Ben-Cohen
Hi Roger, On Tue, Jul 6, 2010 at 1:35 PM, Roger Quadros roger.quad...@nokia.com wrote: My point is that shouldn't this be handled by SDIO core? Care to explain what you mean / give a code example ? If there are no users for the SDIO function and the card, doesn't the SDIO core power down the

Re: [PATCH 05/15] omap: hsmmc: add virtual card detect support

2010-07-06 Thread Ohad Ben-Cohen
On Tue, Jul 6, 2010 at 3:39 PM, Roger Quadros roger.quad...@nokia.com wrote: Just to clarify, is the wl1271 device always powered on the board? Yes. And this GPIO power enable (OMAP_ZOOM_WLAN_PMENA_GPIO) is used to gate this supply internally? Yes. It's a digital input that the chip does not

Re: [PATCH 14/15] omap: zoom: add WLAN device

2010-07-06 Thread Ohad Ben-Cohen
Hi Roger, On Tue, Jul 6, 2010 at 3:33 PM, Roger Quadros roger.quad...@nokia.com wrote: +static void omap_zoom_wlan_power(bool enable) +{ +       int val = enable ? 1 : 0; + +       pr_info(%s: set power %d\n, __func__, val); + +       gpio_set_value(OMAP_ZOOM_WLAN_PMENA_GPIO, val); +}

Re: [PATCH 04/15] mmc: support embedded data field in mmc_host

2010-07-06 Thread Ohad Ben-Cohen
On Tue, Jul 6, 2010 at 6:49 PM, Grazvydas Ignotas nota...@gmail.com wrote: Hm, do we really need a Kconfig option just for a single pointer? It only saves sizeof(void *) bytes per host, but adds rather confusing config option for users and some ifdef complexity. No strong feelings about it, I

[PATCH 00/15] wlan+omap+mmc: out-of-the-box WLAN support for ZOOM2/3

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com The ZOOM2/3 boards include TI's wl1271 wlan sdio device, hardwired to the 3rd mmc controller. These patches add support for WLAN on the ZOOM2/3 boards using only mainline components (most notably mac80211 and wl1271). Patches were tested on both ZOOM2 and ZOOM3

[PATCH 01/15] sdio: add TI + wl1271 ids

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add SDIO IDs for TI and for TI's wl1271 wlan device. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- include/linux/mmc/sdio_ids.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc

[PATCH 02/15] wireless: wl1271: remove SDIO IDs from driver

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Remove SDIO IDs from the driver code since now it is included in linux/mmc/sdio_ids.h. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- drivers/net/wireless/wl12xx/wl1271_sdio.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git

[PATCH 03/15] omap: mmc: prepare for software card detect support

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Make it possible for board files to give the host controller two handlers needed for emulating card detect events in software: * The virtual_get_cd handler will allow the host controller to query the status of the software card detect (for the given controller

[PATCH 04/15] mmc: support embedded data field in mmc_host

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add support to set/get mmc_host private embedded data. This is needed to allow software to dynamically create (and remove) SDIO functions which represents embedded SDIO devices. Typically, it will be used to set the context of a driver that is creating a new

[PATCH 05/15] omap: hsmmc: add virtual card detect support

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add support for software emulation of card detect events. This is required for specific controllers that are hard wired with embedded SDIO devices (such as TI's wl1271 WLAN device). Board-specific configuration is required to enable this software card detect

[PATCH 06/15] omap zoom2: wlan board muxing

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add board muxing to support the wlan wl1271 chip that is hardwired to mmc2 (third mmc controller) on the ZOOM2. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- arch/arm/mach-omap2/board-zoom2.c | 15 +++ 1 files changed, 15 insertions(+), 0

[PATCH 07/15] omap zoom3: wlan board muxing

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add board muxing to support the wlan wl1271 chip that is hardwired to mmc2 (third mmc controller) on the ZOOM3. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- arch/arm/mach-omap2/board-zoom3.c | 15 +++ 1 files changed, 15 insertions(+), 0

[PATCH 08/15] wireless: wl1271: make wl12xx.h common to both spi and sdio

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Move wl12xx.h outside of the spi-specific location, so it can be shared with both spi and sdio solutions. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- drivers/net/wireless/wl12xx/wl1251_sdio.c |2 +- drivers/net/wireless/wl12xx/wl1251_spi.c |2

[PATCH 09/15] wireless: wl12xx: support pdata SDIO handlers

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Make it possible for board code to send SDIO handlers to the wl12xx driver. These SDIO handlers are needed to allow software to trigger card detect events for hard-wired SDIO devices such as the wl1271 device. Signed-off-by: Ohad Ben-Cohen oh...@ti.com

[PATCH 11/15] wireless: wl1271: introduce platform device support

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Introduce a platform device support which is decoupled from the life cycle of the sdio function. The platform device objective is to deliver board-specific values (like irq, ref_clock, and software card-detect emulation control). The driver can then dynamically

[PATCH 10/15] wireless: wl1271: support return value for the set power func

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Make it possible for the set power method to indicate a success/failure return value. This is needed to support more complex power on/off operations such as bringing up (and down) sdio functions. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- drivers/net

[PATCH 12/15] wireless: wl1271: take irq info from platform data

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Remove the hard coded irq information, and instead take the irq information from the platform-specific data which is supplied by the board device. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- drivers/net/wireless/wl12xx/wl1271_sdio.c |9 +++-- 1 files

[PATCH 13/15] wireless: wl1271: make ref_clock configurable by board

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com The wl1271 device is using a reference clock that may change between board to board. Make the ref_clock parameter configurable by the board files that set up the device, instead of having a hard coded value in the driver source itself. Signed-off-by: Ohad Ben

[PATCH 14/15] omap: zoom: add WLAN device

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add WLAN platform device and control functions (power and virtual card detect) in order to allow software to control the embedded SDIO WLAN device which resides on the ZOOM board (TI's wl1271 device). Based on Android's WLAN control functions by San Mehat s

[PATCH 15/15] omap: zoom: enable WLAN device

2010-07-05 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Make it possible to build and use TI's wl1271 device on the ZOOM boards. The device is an embedded SDIO WLAN chip that is hardwired to the 3rd mmc controller of the ZOOM2/3 boards. Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- arch/arm/mach-omap2/Kconfig

Re: [RFC 1/6] omap: add iva2 hwmod support to omap3

2010-07-04 Thread Ohad Ben-Cohen
On Fri, Jul 2, 2010 at 8:43 AM, Cousson, Benoit b-cous...@ti.com wrote: On 7/2/2010 12:23 AM, Ohad Ben-Cohen wrote: From: Ohad Ben-Cohenoh...@ti.com Add preliminary iva2 hwmod support to omap3. We do not include iva2_clk; that will be part of a separate hwmod, which will be controlled

Re: [PATCH 1/3] omap mailbox: extend API to take a callback param

2010-07-02 Thread Ohad Ben-Cohen
/receivers support). Thanks, Ohad. On Fri, Jul 2, 2010 at 3:05 PM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Ohad Ben-Cohen o...@wizery.com Let mailbox users set the callback pointer via the omap_mbox_get API, instead of having users directly manipulating the mailbox structures. Signed

Re: [PATCH 1/3] omap mailbox: extend API to take a callback param

2010-07-02 Thread Ohad Ben-Cohen
On Fri, Jul 2, 2010 at 3:23 PM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: It would be nice if you send patches to LOML and LAKML too for next time. Sure. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

[RFC 0/6] Introducing OMAP Remote Processor module

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com This is a preliminary version of OMAP's remoteproc module, submitted for RFC purposes. The purpose of the remoteproc module is to decouple hw-specific code from generic IPC drivers (such as dspbridge and syslink), in order to eventually make those IPC drivers

[RFC 1/6] omap: add iva2 hwmod support to omap3

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add preliminary iva2 hwmod support to omap3. We do not include iva2_clk; that will be part of a separate hwmod, which will be controlled by iommu. Signed-off-by: Ohad Ben-Cohen oh...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2

[RFC 2/6] omap: introduce OMAP3 remoteproc module

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Introduce OMAP3 remoteproc module which takes care of machine-specific code required to start and stop the DSP remote processor. Signed-off-by: Ohad Ben-Cohen oh...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/remoteproc3xxx.c

[RFC 3/6] omap: introduce OMAP4 remoteproc module

2010-07-01 Thread Ohad Ben-Cohen
From: Hari Kanigeri h-kanige...@ti.com Introduce OMAP4 machine-dependent module required for starting and stopping the OMAP3 remote processors. Signed-off-by: Hari Kanigeri h-kanige...@ti.com Signed-off-by: Ohad Ben-Cohen oh...@ti.com --- arch/arm/mach-omap2/remoteproc44xx.c | 196

[RFC 4/6] omap: introduce common remoteproc module

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com The OMAP remote processor module decouples machine-specific code from TI's IPC drivers (e.g. dspbridge and syslink). While dspbridge calls the remoteproc handlers from the kernel, syslink calls them from user space. Hence remoteproc supports both interfaces

[RFC 5/6] omap: add remoteproc device(s)

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Add an omap_device for each remote processor on the system Signed-off-by: Ohad Ben-Cohen oh...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/devices.c | 86 + 1 files changed, 86

[RFC 6/6] omap: enable remoteproc building

2010-07-01 Thread Ohad Ben-Cohen
From: Ohad Ben-Cohen oh...@ti.com Make it possible to build omap's remoteproc module Signed-off-by: Ohad Ben-Cohen oh...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/Makefile |6 ++ arch/arm/plat-omap/Kconfig |7 +++ arch/arm/plat-omap

Re: [PATCH 1/4] omap mailbox: extend API to take a callback param

2010-06-25 Thread Ohad Ben-Cohen
On Fri, Jun 25, 2010 at 3:52 AM, Kanigeri, Hari h-kanige...@ti.com wrote: I don't know what PCMIIW stands for :) please correct me if I'm wrong :) It looks like the variable mbox_configured that was added previously doesn't cover all the issues. It covers the shutdown issue with reference

Re: [PATCH 06/11] staging: ti dspbridge: add generic utilities

2010-06-24 Thread Ohad Ben-Cohen
On Wed, Jun 23, 2010 at 6:43 PM, Andy Shevchenko andy.shevche...@gmail.com wrote: ... I could prepare patch in standard form, if you want to That could be great, thanks ! -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org

[PATCH 11/11] staging: ti dspbridge: enable driver building

2010-06-24 Thread Ohad Ben-Cohen
-by: Deepak Chitriki deepak.chitr...@ti.com Signed-off-by: Menon, Nishanth n...@ti.com Signed-off-by: Phil Carmody ext-phil.2.carm...@nokia.com Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/staging/Kconfig |2 + drivers/staging/Makefile |1 + drivers

Re: [PATCH 3/4] omap mailbox: remove mbox_configured scheme

2010-06-24 Thread Ohad Ben-Cohen
On Thu, Jun 24, 2010 at 6:10 PM, Kanigeri, Hari h-kanige...@ti.com wrote: Ohad, mbox_configured is global and therefore does not support concurrent usage of multiple mailbox instances. -- Why do you say that it doesn't support concurrent usage of multiple mailbox instances ? If you take

Re: [PATCH 1/4] omap mailbox: extend API to take a callback param

2010-06-24 Thread Ohad Ben-Cohen
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Ohad Ben-Cohen Sent: Tuesday, June 22, 2010 7:12 PM To: linux-omap@vger.kernel.org Cc: Hiroshi Doyu; Ramirez Luna, Omar; Ohad Ben-Cohen Subject: [PATCH 1/4] omap mailbox

[PATCH 00/11] staging: add ti dspbridge driver

2010-06-23 Thread Ohad Ben-Cohen
we forgot to mention anyone, please let us know, thanks!): Suman Anna Sripal Bagadia Felipe Balbi Ohad Ben-Cohen Phil Carmody Deepak Chitriki Felipe Contreras Hiroshi Doyu Seth Forshee Ivan Gomez Castellanos Mark

[PATCH 01/11] staging: ti dspbridge: add driver documentation

2010-06-23 Thread Ohad Ben-Cohen
-by: Phil Carmody ext-phil.2.carm...@nokia.com Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- .../staging/tidspbridge/Documentation/CONTRIBUTORS | 82 ++ drivers/staging/tidspbridge/Documentation/README | 70 + .../staging/tidspbridge/Documentation/error-codes | 157

[PATCH 05/11] staging: ti dspbridge: add MMU support

2010-06-23 Thread Ohad Ben-Cohen
Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Armando Uribe De Leon x0095...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com Signed-off-by: Menon, Nishanth n...@ti.com Signed-off-by: Phil Carmody ext-phil.2.carm...@nokia.com Signed-off-by: Ohad Ben-Cohen o

[PATCH 07/11] staging: ti dspbridge: add services

2010-06-23 Thread Ohad Ben-Cohen
...@ti.com Signed-off-by: Andy Shevchenko ext-andriy.shevche...@nokia.com Signed-off-by: Armando Uribe De Leon x0095...@ti.com Signed-off-by: Deepak Chitriki deepak.chitr...@ti.com Signed-off-by: Menon, Nishanth n...@ti.com Signed-off-by: Phil Carmody ext-phil.2.carm...@nokia.com Signed-off-by: Ohad Ben

[PATCH 06/11] staging: ti dspbridge: add generic utilities

2010-06-23 Thread Ohad Ben-Cohen
-by: Ohad Ben-Cohen o...@wizery.com --- drivers/staging/tidspbridge/gen/gb.c | 167 + drivers/staging/tidspbridge/gen/gh.c | 213 ++ drivers/staging/tidspbridge/gen/gs.c | 89 +++ drivers/staging/tidspbridge/gen/uuidutil.c

[PATCH 10/11] staging: ti dspbridge: add TODO file

2010-06-23 Thread Ohad Ben-Cohen
Add a general cleaning roadmap TODO file to TI's DSP Bridge staging driver. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- I can also be reached at ohadb at ti dot com drivers/staging/tidspbridge/TODO | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) create

[PATCH 11/11] staging: ti dspbridge: enable driver building

2010-06-23 Thread Ohad Ben-Cohen
.carm...@nokia.com Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- drivers/staging/Kconfig |2 + drivers/staging/Makefile |1 + drivers/staging/tidspbridge/Kconfig | 88 ++ drivers/staging/tidspbridge/Makefile | 34

[PATCH 1/4] omap mailbox: extend API to take a callback param

2010-06-22 Thread Ohad Ben-Cohen
Let mailbox users set the callback pointer via the omap_mbox_get API, instead of having users directly manipulating the mailbox structures. Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- I can also be contacted at ohadb at ti dot com arch/arm/plat-omap/include/plat/mailbox.h |2

[PATCH 2/4] omap mailbox: prevent multiple concurrent receivers race

2010-06-22 Thread Ohad Ben-Cohen
-by: Ohad Ben-Cohen o...@wizery.com --- I can also be contacted at ohadb at ti dot com arch/arm/plat-omap/include/plat/mailbox.h |1 + arch/arm/plat-omap/mailbox.c | 12 +++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/include/plat

[PATCH 3/4] omap mailbox: remove mbox_configured scheme

2010-06-22 Thread Ohad Ben-Cohen
mbox_configured is global and therefore does not support concurrent usage of multiple mailbox instances. Instead of fixing this, we can just eliminate mbox_configured (and its locking) entirely, since any given mailbox instance can only be taken by a single receiver now. Signed-off-by: Ohad Ben

[PATCH 4/4] dspbridge: use mailbox API to set rx callback

2010-06-22 Thread Ohad Ben-Cohen
use mailbox API to set rx callback Signed-off-by: Ohad Ben-Cohen o...@wizery.com --- I can also be contacted at ohadb at ti dot com drivers/dsp/bridge/core/tiomap3430.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/dsp/bridge/core/tiomap3430.c b/drivers

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-22 Thread Ohad Ben-Cohen
On Wed, Jun 16, 2010 at 8:50 AM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: From: ext Ohad Ben-Cohen o...@wizery.com Thanks, I'll prepare them and resubmit You can use the following branch which has accumulateed unmerged mailbox patches. git://gitorious.org/~doyu/lk/mainline.git v2.6.35-rc3

Re: [PATCH] mailbox: change full flag per mailbox queue instead of global

2010-06-16 Thread Ohad Ben-Cohen
On Mon, Jun 14, 2010 at 11:51 AM, Fernando Guzman Lugo x0095...@ti.com wrote: As pointed by Ben Ohand, the variable rq_full flag is a global variable, so if there are multiple mailbox users there will be conflics. Now there is a full flag per mailbox queue. Reported-by: Ohad Ben-Cohen o

Re: [PATCH v3 4/4] omap: mailbox: convert block api to kfifo

2010-06-15 Thread Ohad Ben-Cohen
On Tue, Jun 15, 2010 at 3:04 AM, Hiroshi DOYU hiroshi.d...@nokia.com wrote: Fair enough. Thanks, I'll prepare them and resubmit -- 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

<    2   3   4   5   6   7   8   >