On 12 January 2015 at 19:44, Masahiro Yamada <[email protected]> wrote: > This commit adds on-chip I2C driver used on some old Panasonic > UniPhier SoCs. > > Signed-off-by: Masahiro Yamada <[email protected]> > Reviewed-by: Simon Glass <[email protected]> > Acked-by: Simon Glass <[email protected]> > Acked-by: Heiko Schocher <[email protected]> > --- > > Changes in v6: > - Pass (struct uniphier_fi2c_regs*) to reset_bus() and > check_device_busy() > - Add "static" to issue_stop() > - Remove an extra blank line
Applied to u-boot-dm, thanks! > > 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 | 239 > +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 248 insertions(+) > create mode 100644 drivers/i2c/i2c-uniphier.c > _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

