Skip to content

i2c-octeon and i2c-thunderx driver

Jan Glauber linux-i2c lkml 12 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest8 patches 1 replyApplied
  2. v108 patches 9 repliesSuperseded
  3. v98 patches 0 repliesSuperseded
Earlier versions · 9
VersionPostedPatchesRepliesStatus
v88 patches1 replySuperseded
v715 patches18 repliesApplied
v619 patches25 repliesApplied
v514 patches0 repliesSuperseded
v414 patches8 repliesSuperseded
v314 patches9 repliesApplied
v210 patches3 repliesSuperseded
v1 posting 2/210 patches0 repliesSuperseded
v1 RFC posting 1/28 patches0 repliesSuperseded

Changes to v10 from the cover letter

- Proper use of managed device functions
- Renamed files
- Removed i2c class setting
- Droped timeout setting
- Improved Kconfig dependency
- Removed most probing kernel messages
- select SMBUS instead of if-defing
- Removed bogus i2c pointer check
- Explicitely mention GPL version
- Drop whitespace fixes from MAINTAINERS patch

Patches in v11 Applied

#Subject and filesSizeRepliesApplied
1/8i2c: octeon: Rename driver to prepare for splitdrivers/i2c/busses/Makefile drivers/i2c/busses/i2c-octeon-platdrv.c+1 -10 replies
2/8i2c: octeon: Split the driver into two partsdrivers/i2c/busses/Makefile drivers/i2c/busses/i2c-octeon-core.c drivers/i2c/busses/i2c-octeon-core.h +1 more+1010 -9730 replies
3/8i2c: thunderx: Add i2c driver for ThunderX SOCdrivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile drivers/i2c/busses/i2c-octeon-core.h +1 more+234 -30 replies
4/8i2c: thunderx: Add SMBUS alert supportdrivers/i2c/busses/Kconfig drivers/i2c/busses/i2c-octeon-core.h drivers/i2c/busses/i2c-thunderx-pcidrv.c+50 -00 replies
5/8i2c: octeon,thunderx: Move register offsets to structdrivers/i2c/busses/i2c-octeon-core.c drivers/i2c/busses/i2c-octeon-core.h drivers/i2c/busses/i2c-octeon-platdrv.c +1 more+40 -310 replies
6/8i2c: octeon: Sort include files alphabeticallydrivers/i2c/busses/i2c-octeon-platdrv.c+5 -50 replies
7/8i2c: octeon: Use booleon values for booleon variablesdrivers/i2c/busses/i2c-octeon-core.c+2 -20 replies
8/8i2c: octeon: thunderx: Add MAINTAINERS entryMAINTAINERS+8 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchDavid Daney
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v11 thread

Cover letter [PATCH v11 0/8] i2c-octeon and i2c-thunderx driver

Hi Wolfram,

this update should address all comments. The probe funtion is much easier to read now after using the managed device functions.

We also had an issue with the 5ms timeout and some ipmi/ssif commands so I dropped the timeout setting to get the 1s default.

Changes to v10:
- Proper use of managed device functions
- Renamed files
- Removed i2c class setting
- Droped timeout setting
- Improved Kconfig dependency
- Removed most probing kernel messages
- select SMBUS instead of if-defing
- Removed bogus i2c pointer check
- Explicitely mention GPL version
- Drop whitespace fixes from MAINTAINERS patch

Changes to v9:
- rebased on top of upstreamed octeon i2c fixes
- reduced default sclk to 700Mhz

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

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: octeon: Use booleon values for booleon variables
i2c: octeon: thunderx: Add MAINTAINERS entry

 MAINTAINERS                                        |    8 +
 drivers/i2c/busses/Kconfig                         |   11 +
 drivers/i2c/busses/Makefile                        |    3 +
 .../i2c/busses/{i2c-octeon.c => i2c-octeon-core.c} | 1039 ++++++--------------
 drivers/i2c/busses/i2c-octeon-core.h               |  211 ++++
 drivers/i2c/busses/i2c-octeon-platdrv.c            |  288 ++++++
 drivers/i2c/busses/i2c-thunderx-pcidrv.c           |  259 +++++
 7 files changed, 1077 insertions(+), 742 deletions(-)
 rename drivers/i2c/busses/{i2c-octeon.c => i2c-octeon-core.c} (57%)
 create mode 100644 drivers/i2c/busses/i2c-octeon-core.h
 create mode 100644 drivers/i2c/busses/i2c-octeon-platdrv.c
 create mode 100644 drivers/i2c/busses/i2c-thunderx-pcidrv.c
Signature · 1 line
2.9.0.rc0.21.g7777322