summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2020-08-02 10:21:22 +0200
committerWolfram Sang <wsa@kernel.org>2020-08-05 11:52:28 +0200
commitcee807cf9e5beb3e7dbdd6804773f5b8749baa25 (patch)
tree608b3406685f1a7909e173c362805465e718e6d4 /Documentation/i2c
parenti2c: at91: Move to generic GPIO bus recovery (diff)
downloadlinux-cee807cf9e5beb3e7dbdd6804773f5b8749baa25.tar.xz
linux-cee807cf9e5beb3e7dbdd6804773f5b8749baa25.zip
Documentation: i2c: dev: 'block process call' is supported
And it has been for a while (since 2012 at least), only it was not documented. Add it. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r--Documentation/i2c/dev-interface.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/i2c/dev-interface.rst b/Documentation/i2c/dev-interface.rst
index bdb247f2f11a..73ad34849f99 100644
--- a/Documentation/i2c/dev-interface.rst
+++ b/Documentation/i2c/dev-interface.rst
@@ -159,6 +159,8 @@ for details) through the following functions::
__s32 i2c_smbus_read_word_data(int file, __u8 command);
__s32 i2c_smbus_write_word_data(int file, __u8 command, __u16 value);
__s32 i2c_smbus_process_call(int file, __u8 command, __u16 value);
+ __s32 i2c_smbus_block_process_call(int file, __u8 command, __u8 length,
+ __u8 *values);
__s32 i2c_smbus_read_block_data(int file, __u8 command, __u8 *values);
__s32 i2c_smbus_write_block_data(int file, __u8 command, __u8 length,
__u8 *values);