i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)
authorStefan Roese <sr@denx.de>
Tue, 9 Aug 2016 05:41:15 +0000 (07:41 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 16 Aug 2016 03:44:09 +0000 (11:44 +0800)
commitca6c5e03f132e9042c27472650184be9e8263508
treebce60dd717a73af9e83b7d90efcf1a6b3d695d1c
parentcc7ed269341fb48b6453d013cc79ac15cb497f04
i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

This patch adds support for the SMBus block read/write functionality.
Other protocols like the SMBus quick command need to get added
if this is needed.

This patch also removed the SMBus related defines from the Ivybridge
pch.h header. As they are integrated in this driver and should be
used from here. This change is added in this patch to avoid compile
breakage to keep the source git bisectable.

Tested on a congatec BayTrail board to configure the SMSC2513 USB
hub.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/arch-ivybridge/pch.h
drivers/i2c/intel_i2c.c