Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-27 Thread Barry Song
Hi Philip, 2011/4/26 Philip Rakity prak...@marvell.com: Barry, How are interrupts from SDIO devices handled ?   SDIO devices use one of the pins to signal a interrupt to the host when data is availabe. Good question. in fact, it is impossible to support both sharing all data bus and sdio

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-27 Thread Barry Song
2011/4/28 Barry Song 21cn...@gmail.com: Hi Philip, 2011/4/26 Philip Rakity prak...@marvell.com: Barry, How are interrupts from SDIO devices handled ?   SDIO devices use one of the pins to signal a interrupt to the host when data is availabe. Good question. in fact, it is impossible to

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-26 Thread Wolfram Sang
* Where is the patch that implements the get_shared_pins() hook in  your driver? We send the common level patch ahead to get the upstream agreement so that we can maintain our bottom level sdhci codes better. We will send the special driver patch after some time. Hmm, why should be there a

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-26 Thread Barry Song
Hi Wolfram, 2011/4/26 Wolfram Sang w.s...@pengutronix.de: * Where is the patch that implements the get_shared_pins() hook in  your driver? We send the common level patch ahead to get the upstream agreement so that we can maintain our bottom level sdhci codes better. We will send the

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-26 Thread Chris Ball
Hi Barry, On Tue, Apr 26 2011, Barry Song wrote: Just because Our SoCs are still on the way to opensource and mainline. Even our arch/arm/mach-xxx hasn't been merged yet. Our target is syncing our codes with mainline. So as a modification to sdhci common level, we just get upstream's opinion

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-26 Thread Philip Rakity
Barry, How are interrupts from SDIO devices handled ? SDIO devices use one of the pins to signal a interrupt to the host when data is availabe. Philip On Apr 26, 2011, at 12:27 AM, Barry Song wrote: Hi Wolfram, 2011/4/26 Wolfram Sang w.s...@pengutronix.de: * Where is the patch that

[PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-25 Thread Barry Song
From: Bin Shi bin@csr.com some controllers share data bus or other pins between multi-controllers and need to switch the functions of shared pins runtime. this patch requested those shared pins before actual hardware access and release them after access Signed-off-by: Bin Shi bin@csr.com

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-25 Thread Chris Ball
Hi Barry, On Mon, Apr 25 2011, Barry Song wrote: From: Bin Shi bin@csr.com some controllers share data bus or other pins between multi-controllers and need to switch the functions of shared pins runtime. this patch requested those shared pins before actual hardware access and release

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-25 Thread Philip Rakity
Hi Barry, How are SDIO interrupts handled ? Philip On Apr 25, 2011, at 8:34 PM, Barry Song wrote: From: Bin Shi bin@csr.com some controllers share data bus or other pins between multi-controllers and need to switch the functions of shared pins runtime. this patch requested those

Re: [PATCH] mmc:sdhci:add support to request/free pins for controllers sharing hardware bus

2011-04-25 Thread Barry Song
2011/4/26 Chris Ball c...@laptop.org: Hi Barry, On Mon, Apr 25 2011, Barry Song wrote: From: Bin Shi bin@csr.com some controllers share data bus or other pins between multi-controllers and need to switch the functions of shared pins runtime. this patch requested those shared pins