Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp678922ybl; Thu, 23 Jan 2020 05:56:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwQFU3U7S8ytuI5lXit/avnDDwPcKeQP6BIgRdhuknJ1hL39gLFc//B9BAbtUUlSBWYMrsz X-Received: by 2002:aca:2419:: with SMTP id n25mr10644379oic.13.1579787804552; Thu, 23 Jan 2020 05:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579787804; cv=none; d=google.com; s=arc-20160816; b=s4hl16kovTKH5vwyNj6mJKio5cbnWOlalaNzNWsLnf/klvdWhF/tPGgDqAXYhLKJcD lWopNJPVcw1uK6bqh7J+Tdv/4SGH5zJCLFrQJ3xSWz+T6hYdRhquFbx+4g7WNV+Q/R5d ygwtSxZ9PMIz7VbGulHV4vU65MOxncBLLkbVVJ3TGNT4rv6jv10DazRANtPFuJIeHsos chq7Wfy1JKGRADS8e6C9PHDriYjav52bRCeykznYB8XhqwLFNVmUgFRMTrtC48X8yKEn sCRmFLbEWMtjoMzgWYJ4n9k/iMtDmwrNDh0IWFfbkVNNJadwjkyLq0AErUPiZZncTOfg f09w== 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=W/syPdu/aAw1DsuTlm8SvR047S/CmmXb3KppxVOlAjg=; b=sObSj7s/gOFYGN+Js3hRzFgc8aq0PfrlwT/qknzi8wVkDXOR5FiWl5D7tTWT0SxGZG qD9NrnQTQfDENhbpzSExwzw4caybbnNaoupVGyqaF6187mAlq/qgp7BhTDnJsKr0Okyl e1I1dXtOJkMdQDRLtKN0LaAz0Htjc6TCTbGe3MAeCe+Av8G5JiNc1ch1Sl2U0D9QLjaw /53hkkPKHNe1tK/x7ZxdRQ2J4hpCmWZlxOIFh+NJUPuG6+TNkDIl34Y1xAPv3iTkimIy EuF8qPgDnUPvYb5bMY+cfSaNjE+uHR55ylN99CXKNDigdL6y+Om+FQEwoOBpaBFHQCiM d5eA== 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 12si761687oiz.131.2020.01.23.05.56.33; Thu, 23 Jan 2020 05:56:44 -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 S1729012AbgAWNxq (ORCPT + 99 others); Thu, 23 Jan 2020 08:53:46 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:47503 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbgAWNxo (ORCPT ); Thu, 23 Jan 2020 08:53:44 -0500 Received: from [109.168.11.45] (port=47192 helo=pc-ceresoli.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.92) (envelope-from ) id 1iucvW-000CNg-3O; Thu, 23 Jan 2020 14:53:42 +0100 From: Luca Ceresoli To: linux-i2c@vger.kernel.org, linux-doc@vger.kernel.org Cc: Luca Ceresoli , Wolfram Sang , Jean Delvare , Peter Rosin , linux-kernel@vger.kernel.org Subject: [PATCH v2 08/28] docs: i2c: i2c-protocol: properly name start and stop conditions Date: Thu, 23 Jan 2020 14:50:43 +0100 Message-Id: <20200123135103.20540-9-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200123135103.20540-1-luca@lucaceresoli.net> References: <20200123135103.20540-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 Reviewed-by: Jean Delvare --- 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.25.0