summaryrefslogtreecommitdiff
path: root/Documentation/driver-api/ipmb.rst
diff options
context:
space:
mode:
authorVijay Khemka <vijaykhemka@fb.com>2019-12-11 21:56:04 +0300
committerCorey Minyard <cminyard@mvista.com>2019-12-11 22:21:36 +0300
commit042f057fe2dcf38682d85d9f88df00d1a8d45dbd (patch)
treefa161ccfed90664156a3cacf38cfeb39124902a7 /Documentation/driver-api/ipmb.rst
parent6794862a16ef41f753abd75c03a152836e4c8028 (diff)
downloadlinux-042f057fe2dcf38682d85d9f88df00d1a8d45dbd.tar.xz
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>
Diffstat (limited to 'Documentation/driver-api/ipmb.rst')
-rw-r--r--Documentation/driver-api/ipmb.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-api/ipmb.rst b/Documentation/driver-api/ipmb.rst
index 3ec3baed84c4..209c49e05116 100644
--- a/Documentation/driver-api/ipmb.rst
+++ b/Documentation/driver-api/ipmb.rst
@@ -71,9 +71,13 @@ b) Example for device tree::
ipmb@10 {
compatible = "ipmb-dev";
reg = <0x10>;
+ i2c-protocol;
};
};
+If xmit of data to be done using raw i2c block vs smbus
+then "i2c-protocol" needs to be defined as above.
+
2) Manually from Linux::
modprobe ipmb-dev-int