]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: ipmi: Support raw i2c packet in IPMB
authorVijay Khemka <vijaykhemka@fb.com>
Wed, 11 Dec 2019 18:56:04 +0000 (10:56 -0800)
committerCorey Minyard <cminyard@mvista.com>
Wed, 11 Dec 2019 19:21:36 +0000 (13:21 -0600)
commitf097637a4caf9e17b8d6d6b092446a91d3b89c57
treefa161ccfed90664156a3cacf38cfeb39124902a7
parent471945968c835b73bc2399102ab8d0d705db339f
drivers: ipmi: Support raw i2c packet in IPMB

Many IPMB devices don't support smbus protocol and this driver
only supports the smbus protocol at the moment.

Added support for the i2c protocol as well. There will be a variable
"i2c-protocol" passed by the device tree or ACPI table which determines
whether the protocol is i2c or smbus.

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Reviewed-by: Asmaa Mnebhi <asmaa@mellanox.com>
Message-Id: <20191211185604.1266063-1-vijaykhemka@fb.com>
[IPMB.txt had moved to driver-api/ipmb.rst, I adjusted]
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Documentation/driver-api/ipmb.rst
drivers/char/ipmi/ipmb_dev_int.c