linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Laurent Epinat <laurent.epinat@cioinfoindus.fr>
Cc: linux-omap@vger.kernel.org
Subject: Re: Trying to understand how to use new OMAP mux code
Date: Wed, 2 Jun 2010 14:21:30 +0300	[thread overview]
Message-ID: <20100602112130.GG5980@atomide.com> (raw)
In-Reply-To: <4C062DD4.2050701@cioinfoindus.fr>

* Laurent Epinat <laurent.epinat@cioinfoindus.fr> [100602 13:03]:
> Hello all
> 
> 
> How can I call  omap_mux_init_signal()
> from external driver compiled as module ?
> 
> cause the function is not in the standard path include files
> and is not exported

You can't that's the whole idea :)

Instead, please do the muxing in the board-*.c file for all the
pins, or for the device when you initialize the platform data.

The muxing of pins is board specific, and doing it in the board-*.c
files allows us to free the memory for the unused pin data. Note
that you can also mux using the kernel cmdline if you have something
non-standard connected to your board pins.

Regards,

Tony

  reply	other threads:[~2010-06-02 11:21 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 22:24 Trying to understand how to use new OMAP mux code Peter Barada
2010-03-11 22:48 ` Tony Lindgren
2010-03-12  4:48   ` Peter Barada
2010-03-12  5:42     ` Premi, Sanjeev
2010-06-02 10:09   ` Laurent Epinat
2010-06-02 11:21     ` Tony Lindgren [this message]
2010-06-02 11:46       ` Jarkko Nikula
2010-06-02 12:56         ` beagleboard expansion boards, was " Koen Kooi
2010-06-02 13:14           ` Jarkko Nikula
2010-06-02 13:57             ` Tony Lindgren
2010-06-02 14:06               ` Koen Kooi
2010-06-02 14:44                 ` Tony Lindgren
2010-06-02 14:14               ` Jarkko Nikula
2010-06-02 14:45                 ` Tony Lindgren
2010-06-02 14:54                   ` Felipe Balbi
2010-06-02 15:01                     ` Tony Lindgren
2010-06-02 16:12                     ` Gadiyar, Anand
2010-06-03 13:42         ` Laurent Epinat
2010-06-03 14:06           ` Tony Lindgren
2010-06-03 14:37             ` Tony Lindgren

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=20100602112130.GG5980@atomide.com \
    --to=tony@atomide.com \
    --cc=laurent.epinat@cioinfoindus.fr \
    --cc=linux-omap@vger.kernel.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 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).