Skip to content
Snippets Groups Projects
Commit c6202d85 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 59345b1f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment