aboutsummaryrefslogtreecommitdiff
path: root/Documentation/driver-api/ipmb.rst
diff options
context:
space:
mode:
authorGravatar Vijay Khemka <vijaykhemka@fb.com> 2019-12-11 10:56:04 -0800
committerGravatar Corey Minyard <cminyard@mvista.com> 2019-12-11 13:21:36 -0600
commit042f057fe2dcf38682d85d9f88df00d1a8d45dbd (patch)
treefa161ccfed90664156a3cacf38cfeb39124902a7 /Documentation/driver-api/ipmb.rst
parentMerge tag 'for-5.5-rc1-kconfig-tag' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-042f057fe2dcf38682d85d9f88df00d1a8d45dbd.tar.gz
linux-042f057fe2dcf38682d85d9f88df00d1a8d45dbd.tar.bz2
linux-042f057fe2dcf38682d85d9f88df00d1a8d45dbd.zip
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