i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC
authorKhalil Blaiech <kblaiech@mellanox.com>
Tue, 22 Sep 2020 22:49:37 +0000 (18:49 -0400)
committerWolfram Sang <wsa@kernel.org>
Sun, 27 Sep 2020 17:58:38 +0000 (19:58 +0200)
commitb5b5b32081cd206baa6e58cca7f112d9723785d6
tree077e2b14f54b692c9e4a1abc4295d60e44f76920
parentd9becc53b3ade81e234205e1983f2a0240974f89
i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC

Add BlueField I2C driver to offer master and slave support for
Mellanox BlueField SoCs. The driver implements an SMBus adapter
and interfaces to multiple busses that can be probed using both
ACPI and Device Tree infrastructures.

The driver supports several SMBus operations to transfer data
back and forth from/to various I2C devices. It is mainly intended
to be consumed by userspace tools and utilities, such as i2c-tools
and decode-dimms to collect memory module information.

On the other hand, the driver has a slave function to support,
among others, an IPMB interface that requires both master and
slave functions to handle transfers between the BlueField SoC
and a board management controllers (e.g., BMC).

Signed-off-by: Khalil Blaiech <kblaiech@mellanox.com>
Reviewed-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
MAINTAINERS
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-mlxbf.c [new file with mode: 0644]