[U-Boot] [PATCH v5 2/5] i2c: UniPhier: add driver for UniPhier i2c controller

Simon Glass sjg at chromium.org
Tue Jan 13 02:42:34 CET 2015


On 8 January 2015 at 00:47, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> This commit adds on-chip I2C driver used on some old Panasonic
> UniPhier SoCs.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Heiko Schocher <hs at denx.de>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
>
> Changes in v5:
>   - Drop unnecessary __packed
>
> Changes in v4:
>   - Use a structure instead of macros for register access
>
> Changes in v3: None
> Changes in v2:
>   - Fix a typo.  s/freqency/frequency/
>   - Add some comments to explain the formula calculating
>     wait time.
>   - add comments on every register
>   - skip stop condition if the next message is read
>
>  drivers/i2c/Kconfig        |   8 ++
>  drivers/i2c/Makefile       |   1 +
>  drivers/i2c/i2c-uniphier.c | 235 +++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 244 insertions(+)
>  create mode 100644 drivers/i2c/i2c-uniphier.c


More information about the U-Boot mailing list