From: Albert Cranford <ac9410@attbi.com>
To: Greg KH <greg@kroah.com>,
sensors@Stimpy.netroedge.com, linux-kernel@vger.kernel.org
Subject: Re: [RFC] driver core support for i2c bus and drivers
Date: Mon, 10 Mar 2003 17:09:41 -0500 [thread overview]
Message-ID: <3E6D0D25.26B5584F@attbi.com> (raw)
In-Reply-To: 20030310072337.GJ6512@kroah.com
Greg KH wrote:
>
> Hi all,
>
> Here's a fairly small patch against 2.5.64 that adds initial driver core
> support for the i2c code. It only has logic for the i2c bus, i2c bus
> controllers, and i2c drivers, but it's a start :)
>
> As an example, with this patch, the i2c-piix4 driver shows up in the pci
> bus as (other devices omitted for clarity):
>
> [greg@desk sys]$ tree bus/pci
> bus/pci/
> |-- devices
> | |-- 00:07.3 -> ../../../devices/pci0/00:07.3
> `-- drivers
> |-- piix4 smbus
> | `-- 00:07.3 -> ../../../../devices/pci0/00:07.3
>
> And within that device, the first i2c bus is located:
>
> [greg@desk sys]$ tree devices/pci0/00:07.3
> devices/pci0/00:07.3
> |-- i2c-0
> | |-- name
> | `-- power
>
> And the i2c bus looks like:
>
> [greg@desk sys]$ tree bus/i2c/
> bus/i2c/
> |-- devices
> `-- drivers
> `-- EEPROM READER
>
> I'll move on to adding i2c device support to the core, but that will be
> a bit more work. Comments on this patch are appreciated.
>
> thanks,
>
> greg k-h
>
> p.s. Yes, I added the i2c-piix4 and i2c-ali15x3 and i2c-i801 drivers to
> my kernel tree, from the i2c CVS tree, and tweaked them to actually work
> properly. If someone wants those patches right now, please let me know.
>
I like. The proc/bus directory was geting cluttered.
I think the driver model would be a good for i2c/sensors.
Do you have any input for isa already in your bag of
goodies?
Albert
--
Albert Cranford Deerfield Beach FL USA
ac9410@attbi.com
next prev parent reply other threads:[~2003-03-10 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-10 7:23 [RFC] driver core support for i2c bus and drivers Greg KH
2003-03-10 22:09 ` Albert Cranford [this message]
2003-03-10 22:12 ` Greg KH
[not found] ` <3E7676F7.40209@paradyne.com>
2003-03-18 1:27 ` Greg KH
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=3E6D0D25.26B5584F@attbi.com \
--to=ac9410@attbi.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@Stimpy.netroedge.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