public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Dietrich <marvin24@gmx.de>
To: Wei Ni <wni@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>,
	"olof@lixom.net" <olof@lixom.net>,
	"ccross@android.com" <ccross@android.com>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"grant.likely@secretlab.ca" <grant.likely@secretlab.ca>,
	"cjb@laptop.org" <cjb@laptop.org>
Subject: Re: [PATCH 1/5] ARM: tegra: set up wlan clocks for tegra dt
Date: Thu, 05 Jul 2012 10:39:56 +0200	[thread overview]
Message-ID: <1721436.iVeh2uNYS7@fb07-iapwap2> (raw)
In-Reply-To: <1341458294.9009.973.camel@tegra-chromium-2>

Am Donnerstag, 5. Juli 2012, 11:18:14 schrieb Wei Ni:
> On Wed, 2012-07-04 at 19:51 +0800, Marc Dietrich wrote:
> > Am Mittwoch, 4. Juli 2012, 19:23:33 schrieb Wei Ni:
> > > On Wed, 2012-07-04 at 18:43 +0800, Marc Dietrich wrote:
> > > > Am Mittwoch, 4. Juli 2012, 17:34:44 schrieb Wei Ni:
> > > > > Set up the wlan clock tree for Tegra20 and Tegra30.
> > > > > 
> > > > > Signed-off-by: Wei Ni <wni@nvidia.com>
> > > > > ---
> > > > > 
> > > > >  arch/arm/mach-tegra/board-dt-tegra20.c |    1 +
> > > > >  arch/arm/mach-tegra/board-dt-tegra30.c |    1 +
> > > > >  2 files changed, 2 insertions(+), 0 deletions(-)
> > > > > 
> > > > > diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c
> > > > > b/arch/arm/mach-tegra/board-dt-tegra20.c index 70a19a9..fbcc7d9
> > > > > 100644
> > > > > --- a/arch/arm/mach-tegra/board-dt-tegra20.c
> > > > > +++ b/arch/arm/mach-tegra/board-dt-tegra20.c
> > > > > @@ -78,6 +78,7 @@ static __initdata struct tegra_clk_init_table
> > > > > tegra_dt_clk_init_table[] = { { "pll_a",      "pll_p_out1",  
> > > > > 56448000,
> > > > > 
> > > > >   true },
> > > > >   
> > > > >  	{ "pll_a_out0", "pll_a",        11289600,       true },
> > > > >  	{ "cdev1",      NULL,           0,              true },
> > > > > 
> > > > > +	{ "blink",      "clk_32k",      32768,          true },
> > > > 
> > > > what's the reason to enable this on all boards? Would it make sense to
> > > > set
> > > > this to "false" instead?
> > > 
> > > This clock is used for the wlan device, it need to be enabled, so that
> > > the wlan device can be powered on, and then the mmc driver can enumerate
> > > it.
> > ...
> Yes we have thought about this issue.
> In here we need to enable this clock before loading wifi driver, so that
> the mmc driver can enumerate it.
> This likes another thing that the SD controller should be taught how to
> provide to clients, such as trigger the power/reset gpios. We had talked
> about it in the:
> http://www.spinics.net/lists/linux-wireless/msg92093.html

ah, sorry, I didn't followed this discussion.

> And we are trying to provide the tegra clk framework support, so at that
> time we could set this clock for different boards.
> 
> So I suppose we can just dump it into the clk init tables for now.

ok, thanks for explanation. Let's hope there will be a better solution in the 
future.

Thanks!

Marc

  reply	other threads:[~2012-07-05  8:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04  9:34 [PATCH 0/5] ARM: tegra: enable wlan for t20 and t30 Wei Ni
     [not found] ` <1341394488-13169-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-07-04  9:34   ` [PATCH 1/5] ARM: tegra: set up wlan clocks for tegra dt Wei Ni
     [not found]     ` <1341394488-13169-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-07-04 10:43       ` Marc Dietrich
2012-07-04 11:23         ` Wei Ni
2012-07-04 11:51           ` Marc Dietrich
2012-07-05  3:18             ` Wei Ni
2012-07-05  8:39               ` Marc Dietrich [this message]
2012-07-04  9:34   ` [PATCH 5/5] ARM: tegra: enable wireless in defconfig Wei Ni
     [not found]     ` <1341394488-13169-6-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-07-05 19:59       ` Stephen Warren
     [not found]         ` <4FF5F20F.2050005-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-07-05 20:35           ` Marc Dietrich
2012-07-05 20:42             ` Stephen Warren
     [not found]               ` <4FF5FC39.3090402-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-07-06  3:19                 ` Wei Ni
2012-07-06  3:08           ` Wei Ni
2012-07-06 15:42             ` Stephen Warren
2012-07-04  9:34 ` [PATCH 2/5] ARM: dt: t20 seaboard: add pinmux, gpio for wlan Wei Ni
2012-07-04  9:34 ` [PATCH 3/5] ARM: dt: t20 ventana: " Wei Ni
2012-07-04  9:34 ` [PATCH 4/5] ARM: dt: t30 cardhu: " 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=1721436.iVeh2uNYS7@fb07-iapwap2 \
    --to=marvin24@gmx.de \
    --cc=arnd@arndb.de \
    --cc=ccross@android.com \
    --cc=cjb@laptop.org \
    --cc=grant.likely@secretlab.ca \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=olof@lixom.net \
    --cc=swarren@nvidia.com \
    --cc=wni@nvidia.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox