]> git.ipfire.org Git - people/ms/u-boot.git/commit
i2c: designware_i2c: Add support for PCI(e) based I2C cores (x86)
authorStefan Roese <sr@denx.de>
Thu, 21 Apr 2016 06:19:42 +0000 (08:19 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 25 Apr 2016 05:31:58 +0000 (07:31 +0200)
commitba5da550ae1d955e53691e51cd74a27331ca3b3c
tree9c4292da3c80b2894d5f2e055951e5df60871980
parent334b9b004c61f9a3f195968e6107f5362a29ce47
i2c: designware_i2c: Add support for PCI(e) based I2C cores (x86)

This patch adds support for the PCI(e) based I2C cores. Which can be
found for example on the Intel Bay Trail SoC. It has 7 I2C controllers
implemented as PCI devices.

This patch also adds the fixed values for the timing registers for
BayTrail which are taken from the Linux designware I2C driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/i2c/designware_i2c.c