All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
To: Thierry Reding
	<thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Mursalin Akon <makon-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	"'linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org'"
	<linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"'linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org'"
	<linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rakesh Kumar <krakesh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: Where to power on the wifi device before loading the driver.
Date: Thu, 14 Jun 2012 13:12:34 +0100	[thread overview]
Message-ID: <20120614121234.GC3913@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20120614063120.GA20167-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

On Thu, Jun 14, 2012 at 08:31:20AM +0200, Thierry Reding wrote:
> On Wed, Jun 13, 2012 at 03:17:06PM -0600, 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
> > represent it.
> > * However, the driver for the WiFi device needs certain information,
> > such as the reset GPIO ID and perhaps power GPIO.

> PCI devices are also enumerable and yet they can be matched up with nodes in
> the device tree. Perhaps something similar could be added for the SDIO bus?

This seems to make the most sense - pushing this through the regulator
API is just a bodge.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Stephen Warren <swarren@wwwdotorg.org>, Wei Ni <wni@nvidia.com>,
	Mursalin Akon <makon@nvidia.com>,
	"'linux-mmc@vger.kernel.org'" <linux-mmc@vger.kernel.org>,
	"devicetree-discuss@lists.ozlabs.org"
	<devicetree-discuss@lists.ozlabs.org>,
	"'linux-wireless@vger.kernel.org'"
	<linux-wireless@vger.kernel.org>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
	Rakesh Kumar <krakesh@nvidia.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: Where to power on the wifi device before loading the driver.
Date: Thu, 14 Jun 2012 13:12:34 +0100	[thread overview]
Message-ID: <20120614121234.GC3913@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20120614063120.GA20167@avionic-0098.mockup.avionic-design.de>

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

On Thu, Jun 14, 2012 at 08:31:20AM +0200, Thierry Reding wrote:
> On Wed, Jun 13, 2012 at 03:17:06PM -0600, 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
> > represent it.
> > * However, the driver for the WiFi device needs certain information,
> > such as the reset GPIO ID and perhaps power GPIO.

> PCI devices are also enumerable and yet they can be matched up with nodes in
> the device tree. Perhaps something similar could be added for the SDIO bus?

This seems to make the most sense - pushing this through the regulator
API is just a bodge.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: Where to power on the wifi device before loading the driver.
Date: Thu, 14 Jun 2012 13:12:34 +0100	[thread overview]
Message-ID: <20120614121234.GC3913@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20120614063120.GA20167@avionic-0098.mockup.avionic-design.de>

On Thu, Jun 14, 2012 at 08:31:20AM +0200, Thierry Reding wrote:
> On Wed, Jun 13, 2012 at 03:17:06PM -0600, 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
> > represent it.
> > * However, the driver for the WiFi device needs certain information,
> > such as the reset GPIO ID and perhaps power GPIO.

> PCI devices are also enumerable and yet they can be matched up with nodes in
> the device tree. Perhaps something similar could be added for the SDIO bus?

This seems to make the most sense - pushing this through the regulator
API is just a bodge.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120614/b30854cc/attachment.sig>

  parent reply	other threads:[~2012-06-14 12:12 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 10:40 Where to power on the wifi device before loading the driver Wei Ni
2012-06-13 10:40 ` Wei Ni
2012-06-13 10:40 ` Wei Ni
     [not found] ` <6B4D417B830BC44B8026029FD256F7F1C377BFFE88-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-13 17:33   ` Franky Lin
2012-06-13 17:33     ` Franky Lin
2012-06-13 17:33     ` Franky Lin
2012-06-14  4:17     ` Wei Ni
2012-06-14  4:17       ` Wei Ni
2012-06-14 16:45       ` Franky Lin
2012-06-14 16:45         ` Franky Lin
2012-06-13 21:17 ` Stephen Warren
2012-06-13 21:17   ` Stephen Warren
2012-06-14  6:31   ` Thierry Reding
2012-06-14  6:31     ` Thierry Reding
     [not found]     ` <20120614063120.GA20167-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>
2012-06-14 12:12       ` Mark Brown [this message]
2012-06-14 12:12         ` Mark Brown
2012-06-14 12:12         ` Mark Brown
     [not found]         ` <20120614121234.GC3913-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-06-14 15:54           ` Stephen Warren
2012-06-14 15:54             ` Stephen Warren
2012-06-14 15:54             ` Stephen Warren
2012-06-15  6:09             ` Wei Ni
2012-06-15  6:09               ` Wei Ni
2012-06-15 15:49               ` Stephen Warren
2012-06-15 15:49                 ` Stephen Warren
     [not found]                 ` <4FDB5976.20809-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-18  6:20                   ` Wei Ni
2012-06-18  6:20                     ` Wei Ni
2012-06-18  6:20                     ` Wei Ni
2012-06-18  7:40                     ` Rakesh Kumar
2012-06-18  7:40                       ` Rakesh Kumar
     [not found]                       ` <96C9D994977DD0439FB6D3FE3B13DD907DE14CB4DF-kdsAE/FnitNDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-18  8:03                         ` Laxman Dewangan
2012-06-18  8:03                           ` Laxman Dewangan
2012-06-18  8:03                           ` Laxman Dewangan
     [not found]                           ` <96C9D994977DD0439FB6D3FE3B13DD907DE14CB4E8-kdsAE/FnitNDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-18 15:01                             ` Stephen Warren
2012-06-18 15:01                               ` Stephen Warren
2012-06-18 15:01                               ` Stephen Warren
2012-06-19  9:13                               ` Wei Ni
2012-06-19  9:13                                 ` Wei Ni
     [not found]                     ` <6B4D417B830BC44B8026029FD256F7F1C6EE2DD61F-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-19  1:23                       ` Philip Rakity
2012-06-19  1:23                         ` Philip Rakity
2012-06-19  1:23                         ` Philip Rakity
2012-06-19  4:25                         ` Wei Ni
2012-06-19  4:25                           ` Wei Ni
     [not found]                           ` <6B4D417B830BC44B8026029FD256F7F1C6EE2DD622-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-19  9:17                             ` Mark Brown
2012-06-19  9:17                               ` Mark Brown
2012-06-19  9:17                               ` Mark Brown
     [not found]                               ` <20120619091719.GZ3974-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org>
2012-06-19  9:44                                 ` Wei Ni
2012-06-19  9:44                                   ` Wei Ni
2012-06-19  9:44                                   ` Wei Ni
     [not found]                                   ` <6B4D417B830BC44B8026029FD256F7F1C6EE2DD626-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-20  0:01                                     ` Stephen Warren
2012-06-20  0:01                                       ` Stephen Warren
2012-06-20  0:01                                       ` Stephen Warren
     [not found]                                       ` <4FE112F2.7000506-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-20 10:47                                         ` Mark Brown
2012-06-20 10:47                                           ` Mark Brown
2012-06-20 10:47                                           ` Mark Brown
2012-06-20 11:28                                         ` Wei Ni
2012-06-20 11:28                                           ` Wei Ni
2012-06-20 11:28                                           ` Wei Ni
     [not found]                                           ` <6B4D417B830BC44B8026029FD256F7F1C6EE2DD629-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-20 16:51                                             ` Stephen Warren
2012-06-20 16:51                                               ` Stephen Warren
2012-06-20 16:51                                               ` Stephen Warren
2012-06-26  8:56                                         ` Dong Aisheng
2012-06-26  8:56                                           ` Dong Aisheng
2012-06-26  8:56                                           ` Dong Aisheng
     [not found]                                           ` <20120626085605.GA6047-Fb7DQEYuewWctlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-06-26 16:53                                             ` Stephen Warren
2012-06-26 16:53                                               ` Stephen Warren
     [not found]                                               ` <4FE9E907.6050803-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-26 21:26                                                 ` Rob Herring
2012-06-26 21:26                                                   ` Rob Herring
     [not found]                                                   ` <4FEA28EC.2080906-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-06-26 22:38                                                     ` Stephen Warren
2012-06-26 22:38                                                       ` Stephen Warren
2012-06-27  2:19                                                     ` Dong Aisheng
2012-06-27  2:19                                                       ` Dong Aisheng
2012-06-27  2:16                                                 ` Dong Aisheng
2012-06-27  2:16                                                   ` Dong Aisheng
2012-06-15 16:24               ` Franky Lin
2012-06-15 16:24                 ` Franky Lin
2012-06-15 16:24                 ` Franky Lin
2012-06-18  6:00                 ` Wei Ni
2012-06-18  6:00                   ` Wei Ni
2012-06-14 11:27   ` Wei Ni
2012-06-14 11:27     ` Wei Ni
     [not found]     ` <6B4D417B830BC44B8026029FD256F7F1C377BFFE8A-Q4EWCATADntDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-06-14 11:44       ` Wei Ni
2012-06-14 11:44         ` Wei Ni
2012-06-14 11:44         ` Wei Ni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120614121234.GC3913@opensource.wolfsonmicro.com \
    --to=broonie-yzvpicuk2aatku/dhu1wvuem+bqzidxxqq4iyu8u01e@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=krakesh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=makon-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org \
    --cc=wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.