From patchwork Sun Aug 2 08:21:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1339887 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=sang-engineering.com header.i=@sang-engineering.com header.a=rsa-sha256 header.s=k1 header.b=IX6yQLyx; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BKDWR5N3cz9sSG for ; Sun, 2 Aug 2020 18:21:39 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725973AbgHBIVi (ORCPT ); Sun, 2 Aug 2020 04:21:38 -0400 Received: from www.zeus03.de ([194.117.254.33]:39400 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbgHBIVh (ORCPT ); Sun, 2 Aug 2020 04:21:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=tBq3NeLgdcvMzzrMBJhnHyHCEj6 dMDECkPV5uR2GWvY=; b=IX6yQLyxYD40qNQhfPxdbJ8lNgNcX7ZAwzgKixsWkxp X3I9ZtyhNDlSmGK8j6s48cnWXz4Nb+y9hs+Uy4YPp3AfBafmrCHLFmN9zDU82DL1 JQbaiZnBqC+obzE2Nft2rObYscOQBTkz+WFcyNVSdLqSVWA/5nul7fqYEP2Y01G0 = Received: (qmail 2042132 invoked from network); 2 Aug 2020 10:21:35 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 2 Aug 2020 10:21:35 +0200 X-UD-Smtp-Session: l3s3148p1@RBDWteCriMNQT+F6 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Jean Delvare , Wolfram Sang Subject: [PATCH] Documentation: i2c: dev: 'block process call' is supported Date: Sun, 2 Aug 2020 10:21:22 +0200 Message-Id: <20200802082122.3863-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org And it has been for a while (since 2012 at least), only it was not documented. Add it. Signed-off-by: Wolfram Sang --- Documentation/i2c/dev-interface.rst | 2 ++ 1 file changed, 2 insertions(+) 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);