Re: [PATCH] i2c: Add support for Xilinx XPS IIC Bus Interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Dooks wrote:
> On Mon, Sep 21, 2009 at 03:56:11PM +0200, Richard Röjfors wrote:
>> This patch adds support for the Xilinx XPS IIC Bus Interface.
>>
>> The driver uses the dynamic mode, supporting to put several
>> I2C messages in the FIFO to reduce the number of interrupts.
>>
>> It has the same feature as ocores, it can be passed a list
>> of devices that will be added when the bus is probed.
>>
>> Signed-off-by: Richard Röjfors <richard.rojfors@xxxxxxxxxxxxxxx>
>> ---
>> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
>> index 8206442..6b291e8 100644
>> --- a/drivers/i2c/busses/Kconfig
>> +++ b/drivers/i2c/busses/Kconfig
>> @@ -433,6 +433,16 @@ config I2C_OCORES
>>  	  This driver can also be built as a module.  If so, the module
>>  	  will be called i2c-ocores.
>>
>> +config I2C_XILINX
>> +	tristate "Xilinx I2C Controller"
>> +	depends on EXPERIMENTAL && HAS_IOMEM
>> +	help
>> +	  If you say yes to this option, support will be included for the
>> +	  Xilinx I2C controller.
>> +
>> +	  This driver can also be built as a module.  If so, the module
>> +	  will be called xilinx_i2c.
>> +
>>  config I2C_OMAP
>>  	tristate "OMAP I2C adapter"
>>  	depends on ARCH_OMAP
>> diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
>> index e654263..a2ce5b8 100644
>> --- a/drivers/i2c/busses/Makefile
>> +++ b/drivers/i2c/busses/Makefile
>> @@ -40,6 +40,7 @@ obj-$(CONFIG_I2C_IXP2000)	+= i2c-ixp2000.o
>>  obj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
>>  obj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
>>  obj-$(CONFIG_I2C_OCORES)	+= i2c-ocores.o
>> +obj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
>>  obj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
>>  obj-$(CONFIG_I2C_PASEMI)	+= i2c-pasemi.o
>>  obj-$(CONFIG_I2C_PNX)		+= i2c-pnx.o
>> diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
>> new file mode 100644
>> index 0000000..7b1e618
>> --- /dev/null
>> +++ b/drivers/i2c/busses/i2c-xiic.c
>> @@ -0,0 +1,800 @@
>> +/*
>> + * i2c-xiic.c
>> + * Copyright (c) 2009 Intel Corporation
> 
> is this the right copyirhgt entity?

Thanks for your feedback. Yes it is the right copyright, it's for Intel.

I agree with the rest of your comments and will come up with an updated patch.

Thanks
--Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux