linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/8] i2c-octeon and i2c-thunderx driver
@ 2016-05-12 12:22 Jan Glauber
  2016-05-12 12:22 ` [PATCH v9 1/8] i2c: octeon: Rename driver to prepare for split Jan Glauber
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Jan Glauber @ 2016-05-12 12:22 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-kernel, linux-i2c, David Daney, Jan Glauber

Hi Wolfram,

this update adds ACPI support for the clock-frequency setting in the
thunderx driver. For SMBUS alert support it is currently unclear how
it will look like in ACPI so I left that unimplemented.

Patch #5 - #7 are (final) cleanup patches.

Patches are on-top of next-20160512.

Changes to v8:
- Use device property for clock-frequency setting in thunderx,
  get rid of of_find_node_by_name
- Simplify adap.name by using device name
- SMBUS ACPI handling
- Re-phrase SMBUS error/not-specified message

Changes to v7:
- Sort include files also in octeon-core.c
- Add cleanup bool patch (left-over from v7)
- Dropped read-write function shuffle patch

Changes to v6:
- Fixed read_int kerneldoc
- Removed udelay after write-int in recovery
- Killed retries in recovery, use EAGAIN
- Disable SMBUS QUICK and remove unneeded length check
- Spell out enable/disable
- Switch to wait_event_timeout
- Removed superfluous status check in HLC write
- Optimize wait-queue also for HLC
- Use readq/writeq instead of __raw_* in some places
- Add STAT_IDLE to status check (valid after a write)

Changes to v5:
- Switch to i2c recovery framework
- Clean-up register access, introduce new helper functions
- Fixed ready bit check in combined write
- Fixed IFLG clear in hlc_enable
- Removed complicated last phase logic, not needed when we send
  START for every message part

Changes to v4:
- Splitted the High-Level Controller patch into several patches
- Reworded some commit messages

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

Thanks,
Jan

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

Jan Glauber (8):
  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
  i2c: octeon,thunderx: Move register offsets to struct
  i2c: octeon: Sort include files alphabetically
  i2c: cavium: Use booleon values for booleon variables
  i2c: octeon: thunderx: Add MAINTAINERS entry

 MAINTAINERS                                       |   25 +-
 drivers/i2c/busses/Kconfig                        |   10 +
 drivers/i2c/busses/Makefile                       |    3 +
 drivers/i2c/busses/{i2c-octeon.c => i2c-cavium.c} | 1033 ++++++---------------
 drivers/i2c/busses/i2c-cavium.h                   |  214 +++++
 drivers/i2c/busses/i2c-octeon-core.c              |  288 ++++++
 drivers/i2c/busses/i2c-thunderx-core.c            |  305 ++++++
 7 files changed, 1131 insertions(+), 747 deletions(-)
 rename drivers/i2c/busses/{i2c-octeon.c => i2c-cavium.c} (57%)
 create mode 100644 drivers/i2c/busses/i2c-cavium.h
 create mode 100644 drivers/i2c/busses/i2c-octeon-core.c
 create mode 100644 drivers/i2c/busses/i2c-thunderx-core.c

-- 
1.9.1

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

end of thread, other threads:[~2016-05-12 12:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 12:22 [PATCH v9 0/8] i2c-octeon and i2c-thunderx driver Jan Glauber
2016-05-12 12:22 ` [PATCH v9 1/8] i2c: octeon: Rename driver to prepare for split Jan Glauber
2016-05-12 12:22 ` [PATCH v9 2/8] i2c: octeon: Split the driver into two parts Jan Glauber
2016-05-12 12:22 ` [PATCH v9 3/8] i2c: thunderx: Add i2c driver for ThunderX SOC Jan Glauber
2016-05-12 12:22 ` [PATCH v9 4/8] i2c: thunderx: Add SMBUS alert support Jan Glauber
2016-05-12 12:22 ` [PATCH v9 5/8] i2c: octeon,thunderx: Move register offsets to struct Jan Glauber
2016-05-12 12:22 ` [PATCH v9 6/8] i2c: octeon: Sort include files alphabetically Jan Glauber
2016-05-12 12:22 ` [PATCH v9 7/8] i2c: cavium: Use booleon values for booleon variables Jan Glauber
2016-05-12 12:22 ` [PATCH v9 8/8] i2c: octeon: thunderx: Add MAINTAINERS entry Jan Glauber

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).