Skip to content

i2c: add driver for Mellanox BlueField SoC

Khalil Blaiech linux-i2c 3 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 Latest2 patches 10 repliesApplied
  2. v102 patches 2 repliesSuperseded
  3. v92 patches 0 repliesSuperseded

Changes in v11 from the cover letter

- Fixing checkpatch (--strict) warnings.
- Fixing sparse warnings.

Patches in v11 Applied

#Subject and filesSizeRepliesApplied
1/2i2c: i2c-mlxbf: I2C SMBus driver for Mellanox BlueField SoCMAINTAINERS drivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile +1 more+2526 -05 replies
2/2dt-bindings: i2c: I2C binding for Mellanox BlueField SoCDocumentation/devicetree/bindings/i2c/mellanox,i2c-mlxbf.txt+42 -05 replies

Reviews trailers per patch

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

PatchVadim Pasternak
1/2R-b
2/2

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/2] i2c: add driver for Mellanox BlueField SoC

From: Khalil Blaiech <[email protected]>

Add I2C SMBus driver and device tree bindings documentation.

The Mellanox BlueField is a System-on-Chip (SoC) that combines Arm cores and ConnectX network adapter technology intended to accelerate storage network solutions. The Mellanox BlueField incorporates various I2C devices that are accessed using SMBus protocol, a variant of the I2C protocol. On storage controllers, the BlueField SoC is connected to a management controller board, e.g., BMC via an I2C bus.

An I2C driver running on the Arm side is needed to manage the hardware I2C controllers. The driver enables a master function to transfer data back and forth from/to I2C devices, such as EEPROM parts and implements a slave function to handle the BMC controller requests.
---
v10->v11:
- Fixing checkpatch (--strict) warnings.
- Fixing sparse warnings.
v9->v10:
- Fixing compile issue when building with gcc 9.3.0 and Werror enabled; remove unused variable in mlxbf_slave_enable().
v8->v9:
- Fixing implicit declaration of devm_ioremap_nocache and ioremap_nocache build error.
v7->v8:
- Updating the dependency expression in Kconfig.
- Fixing an implicit fallthrough build error.
v6->v7:
- Fixing kernel coding style issues as suggested by Mellanox internal code reviewers.
- Updating the dependency expression in Kconfig.
- Fixing various device driver bugs.
- Adding an entry to MAINTAINERS file.
v5->v6:
- Fixing kernel coding style issues detected using '--strict' flag.
- Updating the device binding documentation to add support for BlueField-2 SoCs.
v4->v5:
- Fixing device driver bug.
v3->v4:
- Review of the device binding documentation to fix format issue and miscellaneous cleanup.
v2->v3:
- Various device driver changes and bug fixes.
- Updating the device property in the device binding documentation and file format review.
v1->v2:
- Various device driver changes and bug fixes.
- Cleanup of the device binding documentation.

Khalil Blaiech (2):
i2c: i2c-mlxbf: I2C SMBus driver for Mellanox BlueField SoC
dt-bindings: i2c: I2C binding for Mellanox BlueField SoC

 .../devicetree/bindings/i2c/mellanox,i2c-mlxbf.txt |   42 +
 MAINTAINERS                                        |    6 +
 drivers/i2c/busses/Kconfig                         |   13 +
 drivers/i2c/busses/Makefile                        |    1 +
 drivers/i2c/busses/i2c-mlxbf.c                     | 2506 ++++++++++++++++++++
 5 files changed, 2568 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/mellanox,i2c-mlxbf.txt
 create mode 100644 drivers/i2c/busses/i2c-mlxbf.c
Signature · 1 line
2.1.2