[PATCH v9 1/2] i2c: i2c-cortina: added CAxxxx I2C support

Heiko Schocher hs at denx.de
Mon Jul 6 11:22:57 CEST 2020


Hello Alex, Arthur,

Am 01.06.2020 um 21:56 schrieb Alex Nemirovsky:
> From: Arthur Li <arthur.li at cortina-access.com>
> 
> Add I2C controller support for Cortina Access CAxxxx SoCs
> 
> Signed-off-by: Arthur Li <arthur.li at cortina-access.com>
> Signed-off-by: Alex Nemirovsky <alex.nemirovsky at cortina-access.com>
> CC: Heiko Schocher <hs at denx.de>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> 
> ---
> 
> Changes in v9:
> - specially include bitops.h and delay.h which
> were removed from common.h
> 
> Changes in v8:
> - No code change
> - Split out individual driver from Cortina Package 2 patch series
> to help streamline acceptence into master
> 
> Changes in v7:
> - Added additional description info in I2C KConfig
> 
> Changes in v6:
> - Add I2C DT binding document
> 
> Changes in v4:
> - Utilize standard I2C macros from <i2c.h>
> - Return ETIMEDOUT in funcs that can timeout
> - Return i2c_xfer_init() result to caller of i2c_read() if it
> 	fails within i2c_read() execution
> - Fix misc. style guide conformance issues
> - Use printf() to report i2c_xfer() runtime errors
> 	instead of debug()
> 
>   MAINTAINERS                                  |   4 +
>   doc/device-tree-bindings/i2c/i2c-cortina.txt |  18 ++
>   drivers/i2c/Kconfig                          |   8 +
>   drivers/i2c/Makefile                         |   1 +
>   drivers/i2c/i2c-cortina.c                    | 346 +++++++++++++++++++++++++++
>   drivers/i2c/i2c-cortina.h                    |  87 +++++++
>   6 files changed, 464 insertions(+)
>   create mode 100644 doc/device-tree-bindings/i2c/i2c-cortina.txt
>   create mode 100644 drivers/i2c/i2c-cortina.c
>   create mode 100644 drivers/i2c/i2c-cortina.h

travis build fails:

https://travis-ci.org/github/hsdenx/u-boot-i2c/jobs/705286814#L1358

seems you need to add:

#include <log.h>


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