[PATCH] mmc: dt: add host-off-card-on dt property

2013-07-11 Thread Wei Ni
Add "host-off-card-on" dt property and parse it to support the quirk SDHCI_QUIRK2_HOST_OFF_CARD_ON. Signed-off-by: Wei Ni --- Documentation/devicetree/bindings/mmc/mmc.txt |2 ++ drivers/mmc/host/sdhci-pltfm.c|3 +++ 2 files changed, 5 insertions(+) di

RE: Where to power on the wifi device before loading the driver.

2012-06-20 Thread Wei Ni
On Wed, Jun 20, 2012 at 08:01:54, Stephen Warren wrote: >On 06/19/2012 03:44 AM, Wei Ni wrote: >> On Tue, Jun 19, 2012 at 17:17:19, Mark Brown wrote: >>> * PGP Signed by an unknown key >>> >>> On Tue, Jun 19, 2012 at 12:25:58PM +0800, Wei Ni wrote: >>&

RE: Where to power on the wifi device before loading the driver.

2012-06-19 Thread Wei Ni
On Tue, Jun 19, 2012 at 17:17:19, Mark Brown wrote: >* PGP Signed by an unknown key > >On Tue, Jun 19, 2012 at 12:25:58PM +0800, Wei Ni wrote: > >As Stephen previously said please fix your mail formatting - word >wrapping within paragraphs is important! > >> On Tu

RE: Where to power on the wifi device before loading the driver.

2012-06-19 Thread Wei Ni
On Mon, Jun 18, 2012 at 23:01:45, Stephen Warren wrote: >On 06/18/2012 02:03 AM, Laxman Dewangan wrote: >> Rakesh Kumar wrote at Monday, June 18, 2012 1:11 PM: >> > Stephen Warren wrote: >> >> Now if this means adding a child node under the SDIO controller to >> >> represent the attached device, a

RE: Where to power on the wifi device before loading the driver.

2012-06-18 Thread Wei Ni
t the gpio before power is applied Yes, we can use the regulator notify, but the Tegra30 support is via device tree, I think there have no special board file to run the call back. > > > >From: linux-mmc-ow...@vger.kernel.org [linux-mmc-ow...@vger.k

RE: Where to power on the wifi device before loading the driver.

2012-06-17 Thread Wei Ni
On Fri, Jun 15, 2012 at 23:49:10, Stephen Warren wrote: >> I talked with Franky, this power sequence is generally for 4329, so >> it mean this sequence can be put into the wifi driver. >> We can use the virtual platform device both for OOB and non OOB. >> I will send out patches later. > >Can you

RE: Where to power on the wifi device before loading the driver.

2012-06-17 Thread Wei Ni
On Sat, Jun 16, 2012 at 00:24:41, Franky Lin wrote: >On 06/14/2012 11:09 PM, Wei Ni wrote: >> I talked with Franky, this power sequence is generally for 4329, so it mean >> this sequence can be put into the wifi driver. > >Hold on. It's generally for 4329. But fullma

RE: Where to power on the wifi device before loading the driver.

2012-06-14 Thread Wei Ni
On Thu, Jun 14, 2012 at 23:54:22, Stephen Warren wrote: The core of the issue is that: >> * Tegra30 support is via device tree. * We have an SDIO bus, and the WiFi device attached to that bus is enumerable. * Since the WiFi device is enumerable, no node exists in the DT to rep

RE: Where to power on the wifi device before loading the driver.

2012-06-14 Thread Wei Ni
On Thu, Jun 14, 2012 at 19:27:50, Wei Ni wrote: >On Thu, Jun 14, 2012 at 05:17:06, Stephen Warren wrote: >>On 06/13/2012 04:40 AM, Wei Ni wrote: >>> Hi, all >>> I'm working on the tegra30 wifi upstream issue. >>> >>> The tegra30 board

RE: Where to power on the wifi device before loading the driver.

2012-06-14 Thread Wei Ni
On Thu, Jun 14, 2012 at 05:17:06, Stephen Warren wrote: >On 06/13/2012 04:40 AM, Wei Ni wrote: >> Hi, all >> I'm working on the tegra30 wifi upstream issue. >> >> The tegra30 board (Cardhu) use Broadcom 4329 as wifi device, and use >> brcmfmac as the w

RE: Where to power on the wifi device before loading the driver.

2012-06-13 Thread Wei Ni
Hi, Franky On Thu, Jun 14, 2012 at 01:33:13, Franky Lin wrote: >Hi Wei, > >On 06/13/2012 03:40 AM, Wei Ni wrote: >> In the brcmfmac init routine, it call sdio_register_driver() to >> register driver, if the wifi device is powered on, then the mmc >> driver will enume

Where to power on the wifi device before loading the driver.

2012-06-13 Thread Wei Ni
Hi, all I'm working on the tegra30 wifi upstream issue. The tegra30 board (Cardhu) use Broadcom 4329 as wifi device, and use brcmfmac as the wifi driver. In the brcmfmac init routine, it call sdio_register_driver() to register driver, if the wifi device is powered on, then the mmc driver will e