diff options
author | Asmaa Mnebhi <asmaa@nvidia.com> | 2022-09-27 16:39:23 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-09-27 22:45:08 +0200 |
commit | 19e13e1330c63506452eed80f473f344e6779b94 (patch) | |
tree | 3960254f26fcf5f17db0cfa6ad53eba10ae901b5 /MAINTAINERS | |
parent | 58b924241d0a23eee8e86dd9e6f5dacd01c82e62 (diff) |
i2c: mlxbf: support BlueField-3 SoC
BlueField-3 SoC has the same I2C IP logic as previous
BlueField-1 and 2 SoCs but it has different registers' addresses.
This is an effort to keep this driver generic across all
BlueField generations.
This patch breaks down the "smbus" resource into 3 separate
resources to enable us to use common registers' offsets for all
BlueField SoCs:
struct mlxbf_i2c_resource *timer;
struct mlxbf_i2c_resource *mst;
struct mlxbf_i2c_resource *slv;
Of course, all offsets had to be adjusted accordingly, and we took
this chance to reorganize the macros depending on the register block
they target.
There are only 2 registers' offsets that do not fit within this
schema so their offsets are passed as SoC-specific parameters:
smbus_master_rs_bytes_off
smbus_master_fsm_off
Reviewed-by: Khalil Blaiech <kblaiech@nvidia.com>
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index f5ca4aefd184..74af5b789d45 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12984,6 +12984,7 @@ F: drivers/input/touchscreen/melfas_mip4.c MELLANOX BLUEFIELD I2C DRIVER M: Khalil Blaiech <kblaiech@nvidia.com> +M: Asmaa Mnebhi <asmaa@nvidia.com> L: linux-i2c@vger.kernel.org S: Supported F: Documentation/devicetree/bindings/i2c/mellanox,i2c-mlxbf.yaml |