]> asedeno.scripts.mit.edu Git - linux.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)
commit042f057fe2dcf38682d85d9f88df00d1a8d45dbd
treefa161ccfed90664156a3cacf38cfeb39124902a7
parent6794862a16ef41f753abd75c03a152836e4c8028
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