[PATCH v2 13/19] i2c: Add enums for i2c speed and address size
Heiko Schocher
hs at denx.de
Thu Jan 16 08:01:59 CET 2020
Hello Simon,
Am 03.01.2020 um 23:26 schrieb Simon Glass:
> 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 at chromium.org>
> ---
>
> Changes in v2: None
>
> include/i2c.h | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list