Skip to contentSkip to conversation

i2c bit bashing adapter number allocation (fwd)

DISCUSSION Frodo Looijaard 3 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Cam Mayor wrote:
From [email protected] Wed Jan 29 01:25:05 2003
Received: by morannon.frodo.local (8.11.3/8.11.3) id h0T0P4q01958 ; Wed, 29 Jan 2003 01:25:05 +0100
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.204]

	by localhost with POP3 (fetchmail-6.2.0)
	for frodo@localhost (single-drop); Wed, 29 Jan 2003 01:25:05 +0100 (CET)

Received: (qmail-ldap/ctrl 15017 invoked from network); 29 Jan 2003 00:15:40 -0000
Received: from h24-66-20-25.wp.shawcable.net (HELO iders01.iders.ca) ([24.66.20.25]) (envelope-sender <[email protected]>)
by dds.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 29 Jan 2003 00:15:40 -0000
Received: from kilauea.iders.ca (kilauea.iders.ca [200.123.101.201])

	by iders01.iders.ca (8.12.6/8.12.6/Debian-8) with SMTP id h0T0FM7d029699;
	Tue, 28 Jan 2003 18:15:22 -0600

Content-Type: text/plain;
charset="iso-8859-1"
From: Cam Mayor <[email protected]>
Organization: Iders Engineering Inc
To: Russell King - ARM Linux <[email protected]>, [email protected],
[email protected]
Subject: Re: i2c bit bashing adapter number allocation
Date: Tue, 28 Jan 2003 18:15:22 -0600
X-Mailer: KMail [version 1.2]
Cc: arm-linux-kernel <[email protected]>
References: <[email protected]> <[email protected]>
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
X-Loop-Procmail: PreventLoop

After lots of digging, I found a lead to the answer to where to find an answer in the place i should have looked but didn't remember - the MAINTAINERS file.

Simon, Frodo, do you have an opinion on where i should submit the following:

Quoted 8 lines · Russell King - ARM Linux
Quoted 7 lines · Cam Mayor

In the file ./include/linux/i2c-id.h
there is a list of bit-algorithm adapters and their associated sequential numbers.
eg.

	#define I2C_HW_B_OMAHA  0x14    /* Omaha I2C interface                 

*/

Quoted 6 lines
Quoted 4 lines

Are the numbers allocated in a first-come-first-serve (or first-to-propagate-patch-gets-it), or are they allocated in a more bureaucratic way? I see nothing listed in ./Documentation/i2c about this, and i wish to add our hardware to the list.

I have no idea; there appears to be no documented method for these IDs.

I suspect this device will only be used for ARM linux, as it is bit-bashed from an ARM processor. However, i don't want to have to continually be patching the device number.

Russell, it looks like at least two of these allocations are present in the 2.4.19-rmk5 patch, so perhaps i should just submit this patch to you.

I've added the two I2C maintainers to the mail to see if they have an opinion on whether i should submit the one-line patch to them or to submit it with the rest of the i2c code that i'm going to submit to the -rmk tree.

cheers,
cam

Signature · 9 lines
Cameron Mayor
Iders Incorporated


-- 
Frodo Looijaard <[email protected]>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.
#1 lore raw

I checked your ID into i2c CVS.
It will eventually get submitted to the kernel or feel free to include it in one of your patches. mds

Quoted 70 lines · Frodo Looijaard
Quoted 1 line · Cam Mayor

From [email protected] Wed Jan 29 01:25:05 2003

Received: by morannon.frodo.local (8.11.3/8.11.3) id h0T0P4q01958 ; Wed, 29 Jan 2003 01:25:05 +0100
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.204]

	by localhost with POP3 (fetchmail-6.2.0)
	for frodo@localhost (single-drop); Wed, 29 Jan 2003 01:25:05 +0100 (CET)

Received: (qmail-ldap/ctrl 15017 invoked from network); 29 Jan 2003 00:15:40 -0000
Received: from h24-66-20-25.wp.shawcable.net (HELO iders01.iders.ca) ([24.66.20.25]) (envelope-sender <[email protected]>)
by dds.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 29 Jan 2003 00:15:40 -0000
Received: from kilauea.iders.ca (kilauea.iders.ca [200.123.101.201])

	by iders01.iders.ca (8.12.6/8.12.6/Debian-8) with SMTP id h0T0FM7d029699;
	Tue, 28 Jan 2003 18:15:22 -0600

Content-Type: text/plain;
charset="iso-8859-1"
From: Cam Mayor <[email protected]>
Organization: Iders Engineering Inc
To: Russell King - ARM Linux <[email protected]>, [email protected],
[email protected]
Subject: Re: i2c bit bashing adapter number allocation
Date: Tue, 28 Jan 2003 18:15:22 -0600
X-Mailer: KMail [version 1.2]
Cc: arm-linux-kernel <[email protected]>
References: <[email protected]> <[email protected]>
In-Reply-To: <[email protected]>
MIME-Version: 1.0
Message-Id: <[email protected]>
Content-Transfer-Encoding: 8bit
X-Loop-Procmail: PreventLoop

After lots of digging, I found a lead to the answer to where to find an answer in the place i should have looked but didn't remember - the MAINTAINERS file.

Simon, Frodo, do you have an opinion on where i should submit the following:

Quoted 9 lines · Russell King - ARM Linux
Quoted 7 lines · Cam Mayor

In the file ./include/linux/i2c-id.h
there is a list of bit-algorithm adapters and their associated sequential numbers.
eg.

	#define I2C_HW_B_OMAHA  0x14    /* Omaha I2C interface                 

*/

Quoted 6 lines
Quoted 4 lines

Are the numbers allocated in a first-come-first-serve (or first-to-propagate-patch-gets-it), or are they allocated in a more bureaucratic way? I see nothing listed in ./Documentation/i2c about this, and i wish to add our hardware to the list.

I have no idea; there appears to be no documented method for these IDs.

I suspect this device will only be used for ARM linux, as it is bit-bashed from an ARM processor. However, i don't want to have to continually be patching the device number.

Russell, it looks like at least two of these allocations are present in the 2.4.19-rmk5 patch, so perhaps i should just submit this patch to you.

I've added the two I2C maintainers to the mail to see if they have an opinion on whether i should submit the one-line patch to them or to submit it with the rest of the i2c code that i'm going to submit to the -rmk tree.

cheers,
cam

#2 lore raw
In reply to Frodo Looijaard

Thank you, Mark! I'm not sure if you got the number I want to add - the OMAHA listing was an example i took from the linux-arm code. The number i wanted to add is given below (and is also included in a patch against linux-2.4.19-rmk5 (and 6) on the arm-linux maintenance site). Please add it in if this isn't the number you added. (the omaha one is also valid, but i don't maintain it)

#define I2C_HW_B_GUIDE 0x15 /* Guide bit-basher */

thanks,
cam

ps. Do you know where Simon Vogel went? Has he disappeared?

Quoted 7 lines · Mark D. Studebaker

I checked your ID into i2c CVS.
It will eventually get submitted to the kernel or feel free to include it in one of your patches. mds

Quoted 2 lines · Frodo Looijaard
Quoted 1 line · Cam Mayor

From [email protected] Wed Jan 29 01:25:05 2003

[headers snip]

Quoted 38 lines
Quoted 38 lines

After lots of digging, I found a lead to the answer to where to find an answer in the place i should have looked but didn't remember - the MAINTAINERS file.

Simon, Frodo, do you have an opinion on where i should submit the following:

Quoted 8 lines · Russell King - ARM Linux
Quoted 7 lines · Cam Mayor

In the file ./include/linux/i2c-id.h
there is a list of bit-algorithm adapters and their associated sequential numbers.
eg.

	#define I2C_HW_B_OMAHA  0x14    /* Omaha I2C interface

*/

Quoted 6 lines
Quoted 4 lines

Are the numbers allocated in a first-come-first-serve (or first-to-propagate-patch-gets-it), or are they allocated in a more bureaucratic way? I see nothing listed in ./Documentation/i2c about this, and i wish to add our hardware to the list.

I have no idea; there appears to be no documented method for these IDs.

I suspect this device will only be used for ARM linux, as it is bit-bashed from an ARM processor. However, i don't want to have to continually be patching the device number.

Russell, it looks like at least two of these allocations are present in the 2.4.19-rmk5 patch, so perhaps i should just submit this patch to you.

I've added the two I2C maintainers to the mail to see if they have an opinion on whether i should submit the one-line patch to them or to submit it with the rest of the i2c code that i'm going to submit to the -rmk tree.

cheers,
cam

Signature · 15 lines
Cameron Mayor
Iders Incorporated
600A Clifton Street
Winnipeg, MB Canada R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 29
fax: 204-779-5444

Legalese some customers need us to state for the record:
This message is intended solely for the use of the designated
recipient(s) and their appointed delegates, and may contain
confidential information.  Any unauthorized disclosure,
copying or distribution of its contents is strictly prohibited.
If you have received this message in error, please destroy it
and advise the sender immediately by phone, email or facsimile.
#3 lore raw
In reply to Frodo Looijaard

done. We didn't have OMAHA in CVS so now we have both. mds

Quoted 68 lines · Cam Mayor

Thank you, Mark! I'm not sure if you got the number I want to add - the OMAHA listing was an example i took from the linux-arm code. The number i wanted to add is given below (and is also included in a patch against linux-2.4.19-rmk5 (and 6) on the arm-linux maintenance site). Please add it in if this isn't the number you added. (the omaha one is also valid, but i don't maintain it)

#define I2C_HW_B_GUIDE 0x15 /* Guide bit-basher */

thanks,
cam

ps. Do you know where Simon Vogel went? Has he disappeared?

Quoted 8 lines · Mark D. Studebaker

I checked your ID into i2c CVS.
It will eventually get submitted to the kernel or feel free to include it in one of your patches. mds

Quoted 2 lines · Frodo Looijaard
Quoted 1 line · Cam Mayor

From [email protected] Wed Jan 29 01:25:05 2003

[headers snip]

Quoted 39 lines
Quoted 39 lines

After lots of digging, I found a lead to the answer to where to find an answer in the place i should have looked but didn't remember - the MAINTAINERS file.

Simon, Frodo, do you have an opinion on where i should submit the following:

Quoted 9 lines · Russell King - ARM Linux
Quoted 7 lines · Cam Mayor

In the file ./include/linux/i2c-id.h
there is a list of bit-algorithm adapters and their associated sequential numbers.
eg.

	#define I2C_HW_B_OMAHA  0x14    /* Omaha I2C interface

*/

Quoted 6 lines
Quoted 4 lines

Are the numbers allocated in a first-come-first-serve (or first-to-propagate-patch-gets-it), or are they allocated in a more bureaucratic way? I see nothing listed in ./Documentation/i2c about this, and i wish to add our hardware to the list.

I have no idea; there appears to be no documented method for these IDs.

I suspect this device will only be used for ARM linux, as it is bit-bashed from an ARM processor. However, i don't want to have to continually be patching the device number.

Russell, it looks like at least two of these allocations are present in the 2.4.19-rmk5 patch, so perhaps i should just submit this patch to you.

I've added the two I2C maintainers to the mail to see if they have an opinion on whether i should submit the one-line patch to them or to submit it with the rest of the i2c code that i'm going to submit to the -rmk tree.

cheers,
cam