]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: Introduce support for I2C bus
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 16 Nov 2016 14:20:44 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 04:29:04 +0000 (23:29 -0500)
commit2456421867a01a9268e07136fdc5ec88e3117ed1
treef34b058a0743fba6001a9e4a4a04d4d1c762303c
parentcedd17b1cb60daddb209eeab3925b172f785f70a
mlxsw: Introduce support for I2C bus

Add I2C bus implementation for Mellanox Technologies Switch ASICs.
This includes command interface implementation using input / out mailboxes,
whose location is retrieved from the firmware during probe time.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/Kconfig
drivers/net/ethernet/mellanox/mlxsw/Makefile
drivers/net/ethernet/mellanox/mlxsw/i2c.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlxsw/i2c.h [new file with mode: 0644]