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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html