DORMANTno replies

Revision v5 of 6 in this series.

Revisions (6)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 current
  6. v6 [diff vs current]

[PATCH v5 0/2] i2c: Imagination Technologies I2C adapter driver

From: Ezequiel Garcia <hidden>
Date: 2014-11-10 19:30:14
Also in: linux-i2c

Changes from v4:

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

Changes from v3:

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help