linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: ext Tony Lindgren <tony@atomide.com>
Cc: "ext John W. Linville" <linville@tuxdriver.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Ido Yariv <ido@wizery.com>, Ohad Ben-Cohen <ohad@wizery.com>,
	ext Robert Nelson <robertcnelson@gmail.com>
Subject: Re: [PATCH v3] omap: beagle: add support for wl1271 on the board file
Date: Fri, 24 Sep 2010 22:55:33 +0300	[thread overview]
Message-ID: <1285358133.9779.24.camel@powerslave> (raw)
In-Reply-To: <20100924191139.GI4211@atomide.com>

On Fri, 2010-09-24 at 21:11 +0200, ext Tony Lindgren wrote:
> * Luciano Coelho <luciano.coelho@nokia.com> [100924 11:42]:
> > On Fri, 2010-09-24 at 20:03 +0200, ext John W. Linville wrote:
> > > On Thu, Sep 23, 2010 at 01:03:35PM +0300, Luciano Coelho wrote:
> > > > Add board configuration for the wl1271 daughter board.  This patch is based
> > > > on Ohad Ben-Cohen's patches for Zoom boards.
> > > > 
> > > > Cc: Ohad Ben-Cohen <ohad@wizery.com>
> > > > Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
> > > > ---
> > > > from v2 to v3: removed accidental change to wl1271.h
> > > 
> > > I presume that this should come through my tree as well (since it
> > > contains the move of wl12xx.h)?
> > 
> > Yes, this is based on your tree.  But please hold on, because there were
> > some comments (namely, the expansion board should be detected, not
> > configured for wl1271 by default), which I still have to fix.  I'm
> > waiting for the manufacturer of the expansion board to provide me with
> > some more info for proper detection.
> > 
> > Also, I know that there are some other work being done in the beagle
> > board file, so we may need to rethink how to sync this.
> > 
> > So, for now, let's skip this patch and I'll provide another one when
> > these issues are addressed.
> 
> You could also do it based on some kernel cmdline option. Of course
> detection during the runtime would be better.

Yes, this is more or less what Openembedded (?) guys seem to be doing.
You can check Robert Nelson's email in the "v2" thread.

The already have some changes in u-boot (which are apparently not in its
mainline yet) that does exactly that.  The bootloader probes the
expansion board and passes the result in a kernel cmdline option.  This
is "runtime", but I think the best solution would be in the end to let
the kernel do the probing itself.

As far as I could tell after some googling, having the bootloader probe
this kind of stuff is legacy because of problems with muxing in older
kernels, so the omap muxing had to be done in the bootloader.  Now that
muxing is working fine in newer kernel, this kind of thing should be
moved to the kernel, or what do you think?

-- 
Cheers,
Luca.


      parent reply	other threads:[~2010-09-24 19:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 10:03 [PATCH v3] omap: beagle: add support for wl1271 on the board file Luciano Coelho
2010-09-24 18:03 ` John W. Linville
2010-09-24 18:50   ` Luciano Coelho
2010-09-24 19:11     ` Tony Lindgren
2010-09-24 19:21       ` Gadiyar, Anand
2010-09-24 21:08         ` Tony Lindgren
2010-09-24 19:42       ` Koen Kooi
2010-09-24 20:00         ` Luciano Coelho
2010-09-24 20:21           ` Koen Kooi
2010-09-24 19:55       ` Luciano Coelho [this message]

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=1285358133.9779.24.camel@powerslave \
    --to=luciano.coelho@nokia.com \
    --cc=ido@wizery.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=ohad@wizery.com \
    --cc=robertcnelson@gmail.com \
    --cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).