i2c: Renesas Highlander FPGA SMBus support
PATCH 1/3 i2c: Renesas Highlander FPGA SMBus support
From: Paul Mundt <[email protected]>
This adds support for the SMBus adapter found in the various FPGAs on the Renesas Highlander platforms. Particularly the R0P7780LC0011RL and R0P7785LC0011RL FPGAs.
Functionality is fairly restricted, in that only byte and block data transfers are supported. Normal/fast mode and IRQ/polling are also supported. Primarily used for various RTCs and thermal sensors.
---
drivers/i2c/busses/Kconfig | 12 drivers/i2c/busses/Makefile | 1 drivers/i2c/busses/i2c-highlander.c | 500 ++++++++++++++++++++++++++ 3 files changed, 513 insertions(+)
drivers/i2c/busses/Kconfig renamed from drivers/i2c/busses/Kconfig~i2c-renesas-highlander-fpga-smbus-support +12 -0
@@ -148,6 +148,18 @@ config I2C_GPIO This is a very simple bitbanging I2C driver utilizing the arch-neutral GPIO API to control the SCL and SDA lines. +config I2C_HIGHLANDER + tristate "Highlander FPGA SMBus interface" + depends on SH_HIGHLANDER + help + If you say yes to this option, support will be included for + the SMBus interface located in the FPGA on various Highlander + boards, particularly the R0P7780LC0011RL and R0P7785LC0011RL + FPGAs. This is wholly unrelated to the SoC I2C. + + This driver can also be built as a module. If so, the module + will be called i2c-highlander. + config I2C_HYDRA tristate "CHRP Apple Hydra Mac I/O I2C interface" depends on PCI && PPC_CHRP && EXPERIMENTAL
drivers/i2c/busses/Makefile renamed from drivers/i2c/busses/Makefile~i2c-renesas-highlander-fpga-smbus-support +1 -0
@@ -14,6 +14,7 @@ obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bf obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o +obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o obj-$(CONFIG_I2C_I801) += i2c-i801.o obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
drivers/i2c/busses/i2c-highlander.c new file +500 -0
500 lines not on this page · raw message
_
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c
Hi Andrew,
Quoted 6 lines · On Wed, 14 May 2008 16:14:44 -0700, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@publi…
From: Paul Mundt <[email protected]>
This adds support for the SMBus adapter found in the various FPGAs on the Renesas Highlander platforms. Particularly the R0P7780LC0011RL and R0P7785LC0011RL FPGAs.
Quoted 8 lines
Functionality is fairly restricted, in that only byte and block data transfers are supported. Normal/fast mode and IRQ/polling are also supported. Primarily used for various RTCs and thermal sensors.
Signed-off-by Paul Mundt <[email protected]>Cc Jean Delvare <[email protected]>Signed-off-by Andrew Morton <akpm-de/[email protected]>
I have reviewed this new driver on April 25th:
http://lists.lm-sensors.org/pipermail/i2c/2008-April/003397.html
Trent Piepho added some valuable comments too. I am now waiting for Paul to submit an updated patch, but it did not happen yet. Which is why this patch isn't in my i2c tree.
Signature · 6 lines
Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c