| To: | ddaney@caviumnetworks.com, ben-linux@fluff.org, khali@linux-fr.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus |
| From: | Yang Shi <yang.shi@windriver.com> |
| Date: | Fri, 5 Mar 2010 15:08:15 +0800 |
| Cc: | linux-mips@linux-mips.org, linux-i2c@vger.kernel.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] MIPS: Protect current_cpu_data with preempt disable in delay(), Yang Shi |
|---|---|
| Next by Date: | Re: [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus, Wolfram Sang |
| Previous by Thread: | [PATCH] MIPS: Protect current_cpu_data with preempt disable in delay(), Yang Shi |
| Next by Thread: | Re: [PATCH] MIPS: Octeon: Register EEPROM device on the I2C bus, Wolfram Sang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |