All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/7] i2c: lpc32xx: add DM support
@ 2017-03-14 15:24 Sylvain Lemieux
  0 siblings, 0 replies; only message in thread
From: Sylvain Lemieux @ 2017-03-14 15:24 UTC (permalink / raw)
  To: u-boot

From: Sylvain Lemieux <slemieux@tycoint.com>

This patchset add DM support to the I2C LPC32xx platform.
All I2C drivers should be converted, to DM, by the end of June 2017.

The I2C driver is supporting the DM and non-DM setup.

Since the mainline LPC32xx boards are not supporting the devicetree
bindings, patch #6 and #7 are required to ensure the LPC32xx I2C driver
is working properly in DM in a non-device tree environment.
Refer to the individual patch for details.

A separate patch will update the LPC32xx USB driver to support
the DM i2C API (depend on this patchset).

Another patch will add the support to the LPC32xx platform
for I2C DM in a non-device tree environment
(depend on this patchset and the LPC32xx USB patch).

This patchset, and the other 2 patch (USB & platform) were tested
on a two different custom LPC32xx board.

To enable the mainline LPC32xx board (devkit3250 & work_92105),
the following should be done:
* Remove "#define CONFIG_SYS_I2C" from board header file and
  add "CONFIG_DM_I2C=y" to the board defconfig file.

Liam Beguin (6):
  i2c: lpc32xx: Rename probe function
  i2c: lpc32xx: Prepare compatibility functions
  i2c: lpc32xx: Factor out i2c_adapter parameter
  i2c: lpc32xx: Add DM for lpc32xx I2C
  i2c: lpc32xx: Move definitions to header file
  i2c: lpc32xx: Force consistent bus numbering

Sylvain Lemieux (1):
  i2c: lpc32xx: Remove note for DM conversation

 arch/arm/include/asm/arch-lpc32xx/i2c.h |  37 +++++
 drivers/i2c/lpc32xx_i2c.c               | 237 ++++++++++++++++++++++----------
 2 files changed, 201 insertions(+), 73 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-lpc32xx/i2c.h

-- 
2.11.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-14 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 15:24 [U-Boot] [PATCH 0/7] i2c: lpc32xx: add DM support Sylvain Lemieux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.