linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus
@ 2010-03-05  7:08 Yang Shi
  2010-03-05  7:11 ` Wolfram Sang
  0 siblings, 1 reply; 10+ messages in thread
From: Yang Shi @ 2010-03-05  7:08 UTC (permalink / raw)
  To: ddaney, ben-linux, khali, ralf; +Cc: linux-mips, linux-i2c

An EEPROM resides on 0x50 of I2C bus on CN56xx/57xx board,
register this device.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/cavium-octeon/octeon-platform.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c
index 62ac30e..5bfa513 100644
--- a/arch/mips/cavium-octeon/octeon-platform.c
+++ b/arch/mips/cavium-octeon/octeon-platform.c
@@ -164,6 +164,9 @@ static struct i2c_board_info __initdata octeon_i2c_devices[] = {
 	{
 		I2C_BOARD_INFO("ds1337", 0x68),
 	},
+	{
+		I2C_BOARD_INFO("eeprom", 0x50),
+	},
 };
 
 static int __init octeon_i2c_devices_init(void)
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-03-08  4:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05  7:08 [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus Yang Shi
2010-03-05  7:11 ` Wolfram Sang
2010-03-05  7:31   ` Yang Shi
2010-03-05  7:41     ` Wolfram Sang
2010-03-05  7:53       ` Yang Shi
2010-03-05  8:50         ` Jean Delvare
2010-03-05 10:09           ` Michael Lawnick
2010-03-05 10:39             ` Yang Shi
2010-03-05 10:52               ` Jean Delvare
     [not found]                 ` <4B90E83A.5020106@gmx.de>
     [not found]                   ` <20100305124200.6f6eccfc@hyperion.delvare>
2010-03-08  4:43                     ` Yang Shi

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).