Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp20913519ybl; Sun, 5 Jan 2020 14:52:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxGP1uV3L1TXUe7KR895+n1Tji12zFj3/Y5atIaTTwc6NfveQPMnGAW7PXdXuKLKmctYBOR X-Received: by 2002:a05:6830:1f8e:: with SMTP id v14mr2760878otr.65.1578264748757; Sun, 05 Jan 2020 14:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578264748; cv=none; d=google.com; s=arc-20160816; b=VgI0RBKheF0iQA4z1jSOjAuIKiPbIAKjQbgYcc/IKyOND842mYmZxHkCefiEwIu5+q Xcd0MJv+brMwfz1Cv7G+dQrotSYd2rB2osaNGYZbJOZm4qJyS5jTgUxqqL3/XY70uSm8 sXuTB23fEE4xTs4ElYfeqcccF1rGmkQ+9NNbqfagC/ufwiljaLJXeg3Xs0qgu4ZH70D7 +EwhzOJ+ATnA1bTPw3GShcvTEm/FOP+6Xz2QFNfwyY+4PwoIg/r/ufx5PcXGwFMxSkx3 mpty6RQXM5zXilejqiWpv6DrfrbHV13Bj3UZ9qklycf1Qu508oE8kU0nHeepoK0sghs9 hC2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HB919jl5v4AHU8DML2+zWMsDiQ1wxwmj9O92Oogbu0c=; b=bY9DLyhXdix2wprRCPuFQNN6gOewZMPkeciLwGNB9vOAPYpl99MOqzmXzKEhgfDCf2 57LkAlW8lBR5ww1fpywqWBEw/Dc+I9mHXaLqesgLTJ4/NmqFv9ndE9BEa9WBEqSq3LQ0 n4ftFrMMCfGTGhNbRqn7W6xnZ6xIN1OUkN1Gzrw7At9am08SCWM+z4S9pBNXrD5HsAeL T+09rIGxMgHfrizz5p4K++SnhN55KjgSIF+Ee2l7iPK/OjVDvMfUh7RPhG9G/WxfS1Xv u1ECeVwxPq5Oy/USy4ehjq9fo5x9qpTQdpoFvNQZpFvFuIsoo0/N2d8Jpe20TYPiIjpD 2hpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4si178729oiy.97.2020.01.05.14.52.16; Sun, 05 Jan 2020 14:52:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727355AbgAEWvN (ORCPT + 99 others); Sun, 5 Jan 2020 17:51:13 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:56645 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727212AbgAEWvL (ORCPT ); Sun, 5 Jan 2020 17:51:11 -0500 Received: from [37.160.42.38] (port=5507 helo=melee.fritz.box) by hostingweb31.netsons.net with esmtpa (Exim 4.92) (envelope-from ) id 1ioEjk-00GSqI-WF; Sun, 05 Jan 2020 23:51:09 +0100 From: Luca Ceresoli To: linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org Cc: Luca Ceresoli , Wolfram Sang , Peter Rosin , linux-kernel@vger.kernel.org Subject: [PATCH 08/26] docs: i2c: i2c-protocol: properly name start and stop conditions Date: Sun, 5 Jan 2020 23:49:54 +0100 Message-Id: <20200105225012.11701-8-luca@lucaceresoli.net> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200105225012.11701-1-luca@lucaceresoli.net> References: <20200105224006.10321-1-luca@lucaceresoli.net> <20200105225012.11701-1-luca@lucaceresoli.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In I2C there is no such thing as a "start bit" or a "stop bit". Use the proper naming: "start condition" and "stop condition". Signed-off-by: Luca Ceresoli --- Documentation/i2c/i2c-protocol.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Documentation/i2c/i2c-protocol.rst b/Documentation/i2c/i2c-protocol.rst index f289d7759a51..c090003f55ed 100644 --- a/Documentation/i2c/i2c-protocol.rst +++ b/Documentation/i2c/i2c-protocol.rst @@ -8,8 +8,8 @@ Key to symbols ============== =============== ============================================================= -S (1 bit) : Start bit -P (1 bit) : Stop bit +S : Start condition +P : Stop condition Rd/Wr (1 bit) : Read/Write bit. Rd equals 1, Wr equals 0. A, NA (1 bit) : Accept and reverse accept bit. Addr (7 bits): I2C 7 bit address. Note that this can be expanded as usual to @@ -46,9 +46,9 @@ Combined transactions This corresponds to i2c_transfer(). -They are just like the above transactions, but instead of a stop bit P -a start bit S is sent and the transaction continues. An example of -a byte read, followed by a byte write:: +They are just like the above transactions, but instead of a stop +condition P a start condition S is sent and the transaction continues. +An example of a byte read, followed by a byte write:: S Addr Rd [A] [Data] NA S Addr Wr [A] Data [A] P @@ -77,8 +77,9 @@ I2C_M_NOSTART: S Addr Rd [A] [Data] NA Data [A] P If you set the I2C_M_NOSTART variable for the first partial message, - we do not generate Addr, but we do generate the startbit S. This will - probably confuse all other clients on your bus, so don't try this. + we do not generate Addr, but we do generate the start condition S. + This will probably confuse all other clients on your bus, so don't + try this. This is often used to gather transmits from multiple data buffers in system memory into something that appears as a single transfer to the -- 2.24.1