linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Glauber <jglauber@cavium.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org,
	David Daney <ddaney@caviumnetworks.com>,
	Jan Glauber <jglauber@cavium.com>
Subject: [PATCH v4 00/14] i2c-octeon and i2c-thunderx drivers
Date: Fri, 18 Mar 2016 09:46:25 +0100	[thread overview]
Message-ID: <cover.1458289385.git.jglauber@cavium.com> (raw)

This series for the Octeon i2c driver is an attempt to upstream some
bug fixes and features that accumulated for some time.

On top of the Octeon changes a i2c driver for the ThunderX SOC is
added which uses the same functional block as the Octeon driver.

Patches #1-2 are cleanups.
Patches #3-10 are forward-ports of Octeon features and bugfixes.
Patch #11-12 prepare for the driver split
Patches #13-14 add the ThunderX driver.

Patches are on top of 4.5 + i2c-octeon-kerneldoc-patch and were
tested on OCTEON, OCTEON-78 and ThunderX.

Changes to v3:
- added more functionality flags for SMBUS
- removed both module parameters
- make xfer return also other errors than EGAIN
- return EPROTO on invalid SMBUS block length
- use devm_ioremap_resource
- added rename-only patch
- removed kerneldoc patch from series
- improved defines

Changes to v2:
- Split clenaup patch into several patches
- Strictly moved functional changes to later patches
- Fixed do-while checkpatch errors
- Moved defines to the patches that use them
- Use BIT_ULL macro
- Split ThunderX patch into 2 patches

Changes to v1:
- Fixed compile error on x86_64
- Disabled thunderx driver on MIPS
- Re-ordered some thunderx probe functions for readability
- Fix missing of_irq.h and i2c-smbus.h includes
- Use IS_ENABLED for CONFIG options

Jan

-------------------------------------------------


David Daney (4):
  i2c-octeon: Support I2C_M_RECV_LEN
  i2c-octeon: Enable high-level controller and improve on bus contention
  i2c-octeon: Add support for cn78xx chips
  i2c-octeon: Add workaround for broken irqs on CN3860

Jan Glauber (8):
  i2c-octeon: Cleanup i2c-octeon driver
  i2c-octeon: Cleanup resource allocation code
  i2c-octeon: Change adapter timeout and retry default values
  dt-bindings: i2c: Add Octeon cn78xx TWSI
  i2c-octeon: Rename driver to prepare for split
  i2c-octeon: Split the driver into two parts
  i2c-thunderx: Add i2c driver for ThunderX SOC
  i2c-thunderx: Add smbus alert support

Peter Swain (2):
  i2c-octeon: Flush TWSI writes with readback
  i2c-octeon: Faster operation when IFLG signals late

 .../devicetree/bindings/i2c/i2c-octeon.txt         |   6 +
 drivers/i2c/busses/Kconfig                         |  10 +
 drivers/i2c/busses/Makefile                        |   3 +
 drivers/i2c/busses/i2c-cavium.c                    | 822 +++++++++++++++++++++
 drivers/i2c/busses/i2c-cavium.h                    | 212 ++++++
 drivers/i2c/busses/i2c-octeon-core.c               | 283 +++++++
 drivers/i2c/busses/i2c-octeon.c                    | 622 ----------------
 drivers/i2c/busses/i2c-thunderx-core.c             | 303 ++++++++
 8 files changed, 1639 insertions(+), 622 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-cavium.c
 create mode 100644 drivers/i2c/busses/i2c-cavium.h
 create mode 100644 drivers/i2c/busses/i2c-octeon-core.c
 delete mode 100644 drivers/i2c/busses/i2c-octeon.c
 create mode 100644 drivers/i2c/busses/i2c-thunderx-core.c

-- 
1.9.1

             reply	other threads:[~2016-03-18  8:46 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18  8:46 Jan Glauber [this message]
2016-03-18  8:46 ` [PATCH v4 01/14] i2c-octeon: Cleanup i2c-octeon driver Jan Glauber
2016-03-23 19:51   ` Wolfram Sang
2016-03-18  8:46 ` [PATCH v4 02/14] i2c-octeon: Cleanup resource allocation code Jan Glauber
2016-03-23 19:52   ` Wolfram Sang
2016-03-18  8:46 ` [PATCH v4 03/14] i2c-octeon: Change adapter timeout and retry default values Jan Glauber
2016-03-23 19:55   ` Wolfram Sang
2016-03-31 10:13     ` Jan Glauber
2016-03-18  8:46 ` [PATCH v4 04/14] i2c-octeon: Support I2C_M_RECV_LEN Jan Glauber
2016-03-23 19:52   ` Wolfram Sang
2016-03-18  8:46 ` [PATCH v4 05/14] i2c-octeon: Enable high-level controller and improve on bus contention Jan Glauber
2016-03-23 20:32   ` Wolfram Sang
2016-03-31 10:24     ` Jan Glauber
2016-03-18  8:46 ` [PATCH v4 06/14] dt-bindings: i2c: Add Octeon cn78xx TWSI Jan Glauber
2016-03-18  8:46 ` [PATCH v4 07/14] i2c-octeon: Add support for cn78xx chips Jan Glauber
2016-03-18  8:46 ` [PATCH v4 08/14] i2c-octeon: Flush TWSI writes with readback Jan Glauber
2016-03-18  8:46 ` [PATCH v4 09/14] i2c-octeon: Faster operation when IFLG signals late Jan Glauber
2016-03-18  8:46 ` [PATCH v4 10/14] i2c-octeon: Add workaround for broken irqs on CN3860 Jan Glauber
2016-03-18  8:46 ` [PATCH v4 11/14] i2c-octeon: Rename driver to prepare for split Jan Glauber
2016-03-18 17:11   ` David Daney
2016-03-18  8:46 ` [PATCH v4 12/14] i2c-octeon: Split the driver into two parts Jan Glauber
2016-03-18  8:46 ` [PATCH v4 13/14] i2c-thunderx: Add i2c driver for ThunderX SOC Jan Glauber
2016-03-18  8:46 ` [PATCH v4 14/14] i2c-thunderx: Add smbus alert support Jan Glauber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1458289385.git.jglauber@cavium.com \
    --to=jglauber@cavium.com \
    --cc=ddaney@caviumnetworks.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wsa@the-dreams.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).