x86: i2c: Add a stub driver for Intel I2C/SMbus
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 23:11:44 +0000 (16:11 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:09:40 +0000 (12:09 +0800)
commitabb0b01e7a22c4a1f3fdd2301fae7276e857b04b
tree2c31a75b3f0381c0895ec08c592e4998791a8dc5
parent433650a2fc29523b765342fbd0374c5b16ffcc29
x86: i2c: Add a stub driver for Intel I2C/SMbus

This is used on most Intel platforms. We don't have a driver for it yet, but
add a stub to handle the init. For now this targets ivybridge so we may want
to add a device tree binding and generalise it when other platforms are
supported.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/intel_i2c.c [new file with mode: 0644]