From patchwork Sun Oct 29 19:41:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13439874 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81CBBC4167B for ; Sun, 29 Oct 2023 19:42:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230289AbjJ2TmA (ORCPT ); Sun, 29 Oct 2023 15:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjJ2Tl7 (ORCPT ); Sun, 29 Oct 2023 15:41:59 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3331BD for ; Sun, 29 Oct 2023 12:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=LD5O2IAfdD+Yr5 4vXUyuQYqnYv5r+rMuDe76FqaDQBQ=; b=g363FmIK5lLbFCaHcaXanA/JeXa07r wevHqTpsBpmWJCz4jrrq0At2xH5KOyXrGDrbU+ftM4uwP4cMZbQ3HeTOWOq0Istd hXO6tLH+hT3uHYgNOJ1gGrY0Yc7XqvRVRlteKimOWBKsK0VcNf9OEbbcJ04TCvfC 7p2DytQ+canICv53uZku+ZUF9zgf1zUbtqmDUX8zw16uRTkeL7rbQ1BRivvfIUj6 3RlRjhIm4CyBMh9KyLXJfcugOUFJL28k0rVpsfKKVYdIeC79BgMrD+MkYsayvHc+ gwM2tNujwIZAVatD6PXEUDrEUDaFveinli9kd6j0F7uS2UbIyG4axljg== Received: (qmail 3891171 invoked from network); 29 Oct 2023 20:41:55 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 29 Oct 2023 20:41:55 +0100 X-UD-Smtp-Session: l3s3148p1@mNwjHeAIyOxehhre From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] Documentation: i2c: add fault code for not supporting 10 bit addresses Date: Sun, 29 Oct 2023 20:41:43 +0100 Message-Id: <20231029194143.22512-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Document the specific fault code when 10 bit addresses cannot be supported. It is used for years, only the documentation slipped through the cracks. Signed-off-by: Wolfram Sang --- The original RFC was from late 2014... Documentation/i2c/fault-codes.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/i2c/fault-codes.rst b/Documentation/i2c/fault-codes.rst index 80b14e718b52..b0864d1268bd 100644 --- a/Documentation/i2c/fault-codes.rst +++ b/Documentation/i2c/fault-codes.rst @@ -39,6 +39,10 @@ Also, codes returned by adapter probe methods follow rules which are specific to their host bus (such as PCI, or the platform bus). +EAFNOSUPPORT + Returned by I2C adapters not supporting 10 bit addresses when + they are requested to use such an address. + EAGAIN Returned by I2C adapters when they lose arbitration in master transmit mode: some other master was transmitting different