commit | c6202d857ebce5d6c8f0ec1d8d30352195546280 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 10 08:55:47 2014 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 11 13:18:42 2014 -0700 |
tree | 85a76af015d57390f13871e0250c5a0446dcfa86 | |
parent | 59345b1f0f9941d32b45d0e27401355b34106357 [diff] |
dm: i2c: Add a uclass for I2C The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove concept of 'current' I2C bus - Drop all existing init functions Acked-by: Heiko Schocher <hs@denx.de> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Simon Glass <sjg@chromium.org>