Skip to contentSkip to conversation

i2c: Support for Netlogic XLR/XLS on-chip I2C controller.

PATCH RESEND New Ganesan Ramalingam 1 participant 1 message Sep 6, 2011 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 i2c: Support for Netlogic XLR/XLS on-chip I2C controller.

Add support for on chip I2C bus controller on Netlogic XLR/XLS family of MIPS64 SoCs. The changes are:

Kconfig/Makefile: add CONFIG_I2C_XLR option busses/i2c-xlr.c : driver for Netlogic XLR/XLS on-chip I2C controller

---
[ Posting this again, on Netlogic boards the RTC is on the i2c bus, so this
patch is required for our platform. ]

 drivers/i2c/busses/Kconfig   |   11 ++
 drivers/i2c/busses/Makefile  |    1 +
 drivers/i2c/busses/i2c-xlr.c |  303 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 315 insertions(+), 0 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-xlr.c
drivers/i2c/busses/Kconfig +11 -0
index 646068e..4ac63f5 100644
@@ -309,6 +309,17 @@ config I2C_AU1550
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-au1550.
 
+config I2C_XLR
+	tristate "XLR I2C support"
+	depends on CPU_XLR
+	help
+	  This driver enables support for the on-chip I2C interface of
+	  the Netlogic XLR/XLS MIPS processors.
+
+	  Say yes to this option if you have a Netlogic XLR/XLS based
+	  board and you need to access the I2C devices (typically the
+	  RTC, sensors, EEPROM) connected to this interface.
+
 config I2C_BLACKFIN_TWI
 	tristate "Blackfin TWI I2C support"
 	depends on BLACKFIN
drivers/i2c/busses/Makefile +1 -0
index e6cf294..14e7a76 100644
@@ -65,6 +65,7 @@ obj-$(CONFIG_I2C_TEGRA)		+= i2c-tegra.o
 obj-$(CONFIG_I2C_VERSATILE)	+= i2c-versatile.o
 obj-$(CONFIG_I2C_OCTEON)	+= i2c-octeon.o
 obj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
+obj-$(CONFIG_I2C_XLR)           += i2c-xlr.o
 obj-$(CONFIG_I2C_EG20T)         += i2c-eg20t.o
 
 # External I2C/SMBus adapter drivers
drivers/i2c/busses/i2c-xlr.c new file +303 -0

303 lines not on this page · raw message

Signature · 1 line
1.7.4.1