Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1132076lqp; Fri, 22 Mar 2024 06:36:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+q3f+n16Wre4OE8NJ6ELbGiUS/JOPCr2/ndAdNxWU60Jvg4xCWwyYMmd5fB+1OwUVruff7SjX8obMZOZQAPh8ocxpt+4Ynbcis8hnYA== X-Google-Smtp-Source: AGHT+IFK/x7gi3+kHvDg+Wu0pfDz7H7gBWdY56Pe96TNzGbRmV8qS7y61QrLmeAyzyXbZhdNQpx/ X-Received: by 2002:ad4:5aa4:0:b0:696:6301:ae79 with SMTP id u4-20020ad45aa4000000b006966301ae79mr2276138qvg.10.1711114599472; Fri, 22 Mar 2024 06:36:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114599; cv=pass; d=google.com; s=arc-20160816; b=PK0ont7sGkYTIXjxZEjuyZxKe2t2/Y168U0TW3FKE543diBfkUj1mKO7iPjb1R5YJN 8v8Ix5ajF3FfUMEL8wLCk1wMgd6LR/tfPiPo/8VT03EKKQnlGU/UKOLtdu22lTlApD3N xCSOMWFduC1n6jLpIlm+ZDzimUH9iXCweHSzjTt3du7EgLJ4Kh2/ruR6ecuZYSNN+DOz hOb8U5ND/6KqX1Na02jwkPmfkSgpixGGsBGMkr0YZxIBzKquC+AvvSeEKSnC6k4Rhz8x ZLRhUPlVorShBmuEXYB/D5rGmc14DClmmAVk4Vd7jLj9aXlznGDAMwZBnaVFeO7JZWUg NJBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=udgUjkpefuQ9OwJPC3EPycZIK/sxdg4g3sqFLxJebvM=; fh=FZDHrTGPz90kp8ClbxtLQZumCmeDAGXxYybzKSGCezA=; b=alYDnoBsBQZVYS8tHcItaiCPPJWehiArF1nvxv/aDXz/OUl3B3cEOZawnb/mtfrRdL ovQovvkxvWWp1klEn8vpAvRJIpqYWVGyHm+du1u+IlIqvwlRjcR8XEihE7mHXRlH2xhv HulfQY5yLcApbhUVgqvpPd50o07Gmx1LBAtn3FnnspYyGIGE+bdAGwQCBaaXXbUv1lCl pLLEglCvCRh+k8ftchazK4u/tqRtCpCpuqvndqDU51I+nqNTyLn+jIxxvEtpI2sDtaqT Cd9UL4PVYiXfqTCSuTkm5z1CvoSanA6BLHvL5oAvVwPWox1WlRcW9i06LKYfFNjUlNUF QlJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=OQ0uH+2W; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-111517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111517-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s12-20020a0562140cac00b00696271faea6si2068529qvs.197.2024.03.22.06.36.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:36:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=OQ0uH+2W; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-111517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111517-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 81EDD1C2470A for ; Fri, 22 Mar 2024 13:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 487BE629FA; Fri, 22 Mar 2024 13:27:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="OQ0uH+2W" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77A2D626CC for ; Fri, 22 Mar 2024 13:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114033; cv=none; b=enIUheWHHJe1dLfwmxx5p7AjoKLNMTzOuvw2/xjFkOM6I0tTkrLLOD24RFL49lpH1+I+ugg52ochaOCae1BMXhoRdYC+T+pT7l5ZJQyM9Fo9i9LLgTKhS9kXEb6V6k0dVyM2tWTEkGKTgi7U7+KH/vW1Hoh9K1H4EiMh0zpOcuI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114033; c=relaxed/simple; bh=+RS+UhS6WUjSbCY0xfU+zM9YHKbLEi8gdstYXT6GhQY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=g8zQwJPlgI/kkJ6UjRZlIR39y16BDjG0LrQZmoGtHzvHmechWhzDtAuJ0aTTSEgS8sFxuxcEcklFozn8ibFkPocm8Tfu/HrbwpsMOoxqRiLXv3ZnBGWrkYvM8JGBrDvo3QHVrxQ8TzHW9EQBt5KpdGOVKw++PEMlTob6glzVFr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=OQ0uH+2W; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=udgUjkpefuQ9OwJPC3EPycZIK/sxdg4g3sqFLxJebvM=; b=OQ0uH+ 2WnKS8IffATf4BWVHvcEa2AgwrtH8px3F2SELW7HV4ZsdRcKoa0yhp6qk7t5rImU sJLJzbas/WdMD1al3K66D/hCW59ZRbfq4oaGUKVBa1iuU7+UZOalN5aWDdPQaFQb QABMkiX2uzowp9UEe9e7iMDBrakyuSm/HwYhIeH29iAutn8VH0XdvwIgMDqqGmWy hh7smvMWSQrdsRL3ON8auBlSBSZI6GInGpoARaXe9LQyhtrKqF6+ymZ5HC3jXeXG jRjSmo2Tr1+O+LOFV2c5BlWgvvqZK88fyBpkWY5QzmrKswW353WRx4bG3LEfbHrf YTkOfrJvSrAoacbA== Received: (qmail 3871338 invoked from network); 22 Mar 2024 14:26:53 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:26:53 +0100 X-UD-Smtp-Session: l3s3148p1@Wvvvxj8UarBehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Robert Richter , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 39/64] i2c: octeon-core: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:32 +0100 Message-ID: <20240322132619.6389-40-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240322132619.6389-1-wsa+renesas@sang-engineering.com> References: <20240322132619.6389-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Match the wording of this driver wrt. the newest I2C v7, SMBus 3.2, I3C specifications and replace "master/slave" with more appropriate terms. They are also more specific because we distinguish now between a remote entity ("client") and a local one ("target"). Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-octeon-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-octeon-core.c b/drivers/i2c/busses/i2c-octeon-core.c index 845eda70b8ca..a0e6c9a43168 100644 --- a/drivers/i2c/busses/i2c-octeon-core.c +++ b/drivers/i2c/busses/i2c-octeon-core.c @@ -215,14 +215,14 @@ static int octeon_i2c_check_status(struct octeon_i2c *i2c, int final_read) case STAT_LOST_ARB_B0: return -EAGAIN; - /* Being addressed as slave, should back off & listen */ + /* Being addressed as target, should back off & listen */ case STAT_SLAVE_60: case STAT_SLAVE_70: case STAT_GENDATA_ACK: case STAT_GENDATA_NAK: return -EOPNOTSUPP; - /* Core busy as slave */ + /* Core busy as target */ case STAT_SLAVE_80: case STAT_SLAVE_88: case STAT_SLAVE_A0: @@ -595,7 +595,7 @@ static int octeon_i2c_hlc_comp_write(struct octeon_i2c *i2c, struct i2c_msg *msg } /** - * octeon_i2c_xfer - The driver's master_xfer function + * octeon_i2c_xfer - The driver's xfer function * @adap: Pointer to the i2c_adapter structure * @msgs: Pointer to the messages to be processed * @num: Length of the MSGS array -- 2.43.0