From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Adding a composite device, how to structure ?
Date: Fri, 05 Jun 2009 14:00:12 -0500 [thread overview]
Message-ID: <4A296B3C.1060208@windriver.com> (raw)
Wolfgang,
I would like to add support for the twl4030, a composite i2c device,
found on the omap3 zoom's.
The header file will be include/twl4030.h.
How do you want the source to be structured ?
1. A single large file in drivers/i2c/twl4030.c
or device files added under a directory ?
2. drivers/i2c/twl4030/keyboard, drivers/i2c/twl4030/usb,
drivers/i2c/twl4030/battery,
or just the common code in i2c and twl4030 devices in the places they
usually go.
3. drivers/i2c/twl4030.c, drivers/usb/tw4030_usb.c etc ..
My guess is #3.
Tom
next reply other threads:[~2009-06-05 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 19:00 Tom [this message]
2009-06-05 20:40 ` [U-Boot] Adding a composite device, how to structure ? Wolfgang Denk
2009-06-06 6:23 ` Heiko Schocher
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=4A296B3C.1060208@windriver.com \
--to=tom.rix@windriver.com \
--cc=u-boot@lists.denx.de \
/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.