linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yang Shi <yang.shi-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
To: ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org,
	khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org,
	ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org
Cc: linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus
Date: Fri,  5 Mar 2010 15:08:15 +0800	[thread overview]
Message-ID: <1267772895-25409-1-git-send-email-yang.shi@windriver.com> (raw)

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

Signed-off-by: Yang Shi <yang.shi-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
---
 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

             reply	other threads:[~2010-03-05  7:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05  7:08 Yang Shi [this message]
     [not found] ` <1267772895-25409-1-git-send-email-yang.shi-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2010-03-05  7:11   ` [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus Wolfram Sang
     [not found]     ` <20100305071130.GB21925-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-03-05  7:31       ` Yang Shi
     [not found]         ` <4B90B341.9000601-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2010-03-05  7:41           ` Wolfram Sang
     [not found]             ` <20100305074155.GD21925-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-03-05  7:53               ` Yang Shi
     [not found]                 ` <4B90B888.6060005-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2010-03-05  8:50                   ` Jean Delvare
     [not found]                     ` <20100305095040.6ab4612c-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-03-05 10:09                       ` Michael Lawnick
     [not found]                         ` <4B90D85E.6040308-Mmb7MZpHnFY@public.gmane.org>
2010-03-05 10:39                           ` Yang Shi
     [not found]                             ` <4B90DF48.50005-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2010-03-05 10:52                               ` Jean Delvare
     [not found]                                 ` <4B90E83A.5020106@gmx.de>
     [not found]                                   ` <4B90E83A.5020106-Mmb7MZpHnFY@public.gmane.org>
2010-03-05 11:42                                     ` Jean Delvare
     [not found]                                       ` <20100305124200.6f6eccfc-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-03-05 12:15                                         ` Michael Lawnick
2010-03-08  4:43                                         ` Yang Shi

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=1267772895-25409-1-git-send-email-yang.shi@windriver.com \
    --to=yang.shi-cwa4wttnnzf54taoqtywwq@public.gmane.org \
    --cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
    --cc=ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org \
    --cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org \
    --cc=ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).