]> 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)
commitd082bed983403a276c01d35b90fd3f0d7e3163ef
treefa161ccfed90664156a3cacf38cfeb39124902a7
parent454c14e9e682d5f42b7d538a884e36ea66a6b0ef
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