i2c: add support for Diolan DLN-2 USB-I2C adapter
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 6 Nov 2014 13:48:04 +0000 (15:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 10 Nov 2014 16:30:07 +0000 (16:30 +0000)
commitdb23e5001f75304af5345a04901061bdfabcc165
treef06fcc39db474fb78e61156ba50bfd106c6c1fad
parent338a128142975439a19ab3c91480bc9d5a71f033
i2c: add support for Diolan DLN-2 USB-I2C adapter

This patch adds support for the Diolan DLN-2 I2C master module. Due
to hardware limitations it does not support SMBUS quick commands.

Information about the USB protocol interface can be found in the
Programmer's Reference Manual [1], see section 6.2.2 for the I2C
master module commands and responses.

[1] https://www.diolan.com/downloads/dln-api-manual.pdf

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Johan Hovold <johan@kernel.org>
[Lee: Fixed some whitespace issues in Kconfig]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-dln2.c [new file with mode: 0644]