public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-omap-open-source@linux.omap.com
Cc: 李玮 <coffeeyu531@126.com>
Subject: Re: i2c for omap5912,help me
Date: Sat, 9 Dec 2006 23:16:21 -0800	[thread overview]
Message-ID: <200612092316.22449.david-b@pacbell.net> (raw)
In-Reply-To: <004401c71a95$3faead50$420aa8c0@yfliwei>

>  I'm using an omap5912 and would like to light the led D3 
> on the board thru the i2c driver.

In the kernel, <asm/arch/tps65010.h> exports

extern int tps65010_set_led(unsigned led, unsigned mode);
extern int tps65010_set_gpio_out_value(unsigned gpio, unsigned value);

which are used for those LEDs.  D3 is connected to TPS65010 GPIO 2...

      parent reply	other threads:[~2006-12-10  7:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20061130231453.48C468062D@linux.omap.com>
2006-12-08  6:51 ` i2c for omap5912,help me 李玮
2006-12-08 18:04   ` Ishigami, Tatsuya
2006-12-10  7:16   ` David Brownell [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=200612092316.22449.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=coffeeyu531@126.com \
    --cc=linux-omap-open-source@linux.omap.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