[U-Boot] [PATCH v6 02/11] dm: i2c: Implement driver model support in the i2c command
Simon Glass
sjg at chromium.org
Thu Dec 11 14:22:30 CET 2014
On 10 December 2014 at 08:55, Simon Glass <sjg at chromium.org> wrote:
> The concept of a 'current bus' is now implemented in the command line
> rather than in the uclass. Also the address length does not need to
> be specified with each command - really we should consider dropping
> this from most commands but it works OK for now.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Heiko Schocher <hs at denx.de>
> Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4:
> - Update call to i2c_probe()
>
> Changes in v3:
> - Add new 'i2c flags' command to get/set chip flags
> - Adjust for slightly altered I2C uclass API
>
> Changes in v2:
> - Call the deblock() method for 'i2c reset'
> - Change alen to int so that it can be -1 (this was a bug)
>
> common/cmd_i2c.c | 376 +++++++++++++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 323 insertions(+), 53 deletions(-)
Applied to u-boot-dm.
More information about the U-Boot
mailing list