[U-Boot] [PATCH v6 3/5] i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller
Simon Glass
sjg at chromium.org
Tue Jan 13 15:50:58 CET 2015
On 12 January 2015 at 19:44, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> This commit adds on-chip I2C driver used on newer SoCs of Panasonic
> UniPhier platform.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Simon Glass <sjg at chromium.org>
> Acked-by: Heiko Schocher <hs at denx.de>
Applied to u-boot-dm, thanks!
> ---
>
> Changes in v6:
> - Add some debug messages
>
> Changes in v5:
> - Drop unnecessary __packed
>
> Changes in v4:
> - Use a structure instead of macros for register access
>
> Changes in v3:
> - Fix a bug in that device busy is checked even if the stop
> condition is not issued.
>
> Changes in v2:
> - Fix a typo. s/freqency/frequency/
> - Rename the struct member for clarification. s/wait_us/timeout/
> - Add comments on all the registers
> - Skip stop condition if the next message is read
>
> drivers/i2c/Kconfig | 8 +
> drivers/i2c/Makefile | 1 +
> drivers/i2c/i2c-uniphier-f.c | 379 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 388 insertions(+)
> create mode 100644 drivers/i2c/i2c-uniphier-f.c
More information about the U-Boot
mailing list