commit | 7bd21b626477ea2e3c45e8fa2bf16e8d86a0e5fa | [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 | 96fe11c3dace9038e2df0e7c4625d1c3e330425f [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>