devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] i2c: Imagination Technologies I2C adapter driver
@ 2014-11-10 19:20 Ezequiel Garcia
       [not found] ` <1415647207-15264-1-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2014-11-10 19:20 UTC (permalink / raw)
  To: Wolfram Sang, James Hartley, Andrew Bresticker
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, Ezequiel Garcia

Changes from v3:

  * Checked for the return value of clk_enable and clk_prepare_enable calls.

  * Fixed the MODULE_LICENSE to "GPL v2", as per the comment at the top of
    the driver.

Changes from v2:

  * Removed support for the "linux,i2c-index" devicetree property.

Changes from v1:

  * Cleaned-up the clock filter configuration by adding some macros.

  * Dropped the ISR_ATOMIC macro since it wasn't used anywhere and
    instead just return 0.

  * Rename some functions with the img_i2c_ prefix to follow the rest
    of the driver style.

  * Make img_i2c_{readl,writel} receive a struct img_i2c argument,
    instead of the register base.

  * Removed a duplicated flag in INT_ENABLE_MASK_ATOMIC macro definition.

  * Added the system clock to the devicetree binding. Improved the binding
    document.

  * Added an explanation by James Hogan with details about the timer-based
    abort condition detection.

This patchset adds a new adapter driver supporting the Imagination Technologies
I2C Serial Control Bus (SCB) controller.

The driver supports the usual FIFO-based mode of operation (so-called automatic
in the driver), and also a set lower-level modes of operation that is used
for 0-length writes and for bus recovery routines.

The recently merged bus recovery infrastructure is not used, given this driver
already implements a fairly complex bus recovery, and has been tested
extensively with it.

Based on v3.18-rc2.

James Hogan (2):
  i2c: Add Imagination Technologies I2C SCB driver
  DT: i2c: Add binding document for IMG I2C SCB

 .../devicetree/bindings/i2c/i2c-img-scb.txt        |   29 +
 drivers/i2c/busses/Kconfig                         |   10 +
 drivers/i2c/busses/Makefile                        |    1 +
 drivers/i2c/busses/i2c-img-scb.c                   | 1402 ++++++++++++++++++++
 4 files changed, 1442 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-img-scb.txt
 create mode 100644 drivers/i2c/busses/i2c-img-scb.c

-- 
2.1.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-10 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 19:20 [PATCH v4 0/2] i2c: Imagination Technologies I2C adapter driver Ezequiel Garcia
     [not found] ` <1415647207-15264-1-git-send-email-ezequiel.garcia-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-10 19:20   ` [PATCH v4 1/2] i2c: Add Imagination Technologies I2C SCB driver Ezequiel Garcia
2014-11-10 19:20   ` [PATCH v4 2/2] DT: i2c: Add binding document for IMG I2C SCB Ezequiel Garcia
2014-11-10 19:27   ` [PATCH v4 0/2] i2c: Imagination Technologies I2C adapter driver Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).