commit | 0d9dc0cd46b0a4c1dca7486986ac75853bc28d52 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jan 23 11:48:16 2020 -0700 |
committer | Heiko Schocher <hs@denx.de> | Mon Jan 27 07:22:23 2020 +0100 |
tree | d564d6f10bf4c3227cecaaf8f38e2527ef439968 | |
parent | c38e2b323346719f8846547a52778aefdbf9555f [diff] |
i2c: Add enums for i2c speed and address size Some drivers define their own speed enums and use their own constants for speed. It makes sense to have a unified defition of the different speeds. Since many controllers have to do different things for fast/high speed, it is a good idea to have an enum for the mode. Add these as well as an enum for the address mode. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>