Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1134509lqp; Fri, 22 Mar 2024 06:40:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/Qbhd5fDLk5KgHrV6gUCL0Ek2p9gpp1bp61Lx5g38PMIy3E08DatpHO5d5h798sPZVx1DEL+reELQlrmaCifuTpnOBWRzi68SCFX9Xg== X-Google-Smtp-Source: AGHT+IGBao4Lm7YPRwXKGj0ZPZ31sutnvo/8g3xOWPRrkWaBgILI3WTCsPDkGTwFML0uqvZU4k2t X-Received: by 2002:a50:8e5d:0:b0:566:1952:694c with SMTP id 29-20020a508e5d000000b005661952694cmr1646549edx.20.1711114838262; Fri, 22 Mar 2024 06:40:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114838; cv=pass; d=google.com; s=arc-20160816; b=F4I5v/VpAROOaUigM9gbEM4PIsURl/EUcny3+xflCxWJXPZhnszOZLBqj+GtQiZL1U 8EvpmW6YsimP+fcSlkQavwYzaW5g7+l7TMQJL5IRZ88OWPK+ri8EVKzkVQrEftbE0znj Jc6/rTGgs5qhcpHN8AZf4Th7mUdi6eSgBr9RvaaLBKfPze1pkdcLeL9c6AjX8cgx1WTH CDBLM3FEym4B3NYrlx3FHcD7ygf6EgkZwQUmjPsl5EnUC3PNC0vNVJlpumsF0d9WNt/W uWFugbu3T1ctJYZh8Tkxmyk52sZSZlJpDMqEt0i/qx/5S+/q3z5dZ/h9vCYPybFV7YKY EoLA== 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=zPO/AyVegLzL+94blha3Sj3ZjxaXY7bBsokNTRDxIaY=; fh=+BFXgG59eIHN+YrfYupZQ3VpQOibtpN1VehkYGCZk+o=; b=M+gKVjqVmjqg13ssZ81ifYpxMhjDrODW3LJu2kQSLEXBQ4CYXi1nlPmQplTsL8C/S2 Jj4Zg6rMTG9nZXQRUPHzjiOX+p8vpsOkJvRbPvQRrZ47AdF2dWvUwm/h4jdzoFWfIB// IHFoZiNEKOmBveZyUWTIQjNcbEmVJeDkHxte1qHXz6JDvt5HfK5AynxsF5ZzFsGq+FTL nh1N11NpZqSL0p/CruJxUDFyVu5tnJyG9BS6ctOKV+VWKmSVhgmNh+hQOkBIL6012NR/ 2zW28DVmngHV5Bj8JwtCQeCjXRs5Qiasvt37Pe690JdNPqiQ2Bq+yCz8Ppeczq+QzK5f Ovqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=aFMrpUaq; 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-111540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111540-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i13-20020a05640200cd00b0056baf460f94si934755edu.635.2024.03.22.06.40.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:40:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=aFMrpUaq; 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-111540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111540-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 04A071F22ABD for ; Fri, 22 Mar 2024 13:40:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 487F069D03; Fri, 22 Mar 2024 13:27:37 +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="aFMrpUaq" 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 5BB6967C59 for ; Fri, 22 Mar 2024 13:27:34 +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=1711114056; cv=none; b=cjmqAHGRrZbknrPD5ogQ3fXsOUn4QMNUScMf3sagkURQBaISUGSPfiUdzac7/xahprdJ2R7n/Sx4O8hjYxdXFNzqRw6Aak4IrPn3AArJQOrXbxth0DMq3eeeRNynHX30Ed9cI67E/rl4Cq4cfPcBEvPdhN21zExOhWMBtzqEqaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114056; c=relaxed/simple; bh=Ko5/Z2nRc5pMm4ibUjoyOnYGFwAgUhQpC5SCZht4oZg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fxfvpHRwQ44Xa4jW2g6ISctWfs+Ewc8U1sxMO0PwpARGj1B7NYziwexH54DMPZ21zN35ukljlwSyUIM7wk2QbIiQ8opiwex0XVQKkyeCAU5J5N9K3TD66yu4FsjkImZL4J492IMEeq9Dk9/lxVy+G6FGcrJ68Fq3ZsSjK3M6vzU= 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=aFMrpUaq; 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=zPO/AyVegLzL+94blha3Sj3ZjxaXY7bBsokNTRDxIaY=; b=aFMrpU aqyfQC2+TlCAp0lKshmBAIQXLRphVEA8CbmzbF3bJDEb+bIHnZDe1pFZApxWOndX MhiTY7zJpHrIdMnNHpnUrjAc+gJfikij8bCYBTem2OchZ3mAnQThvUqStZOGXP2j dMM5X8LjcbpkhNeAhisxrWb3WsAMeAn79epDqevzwVRRJUuuVjDN6+gFA9fgjPwe ElEbASERUG6Fvnkb1n67OPIiekm+y9od3LFhgjfHBAqrlzjbHAteqRdy+h3TkzRo Jsyg0i+kLFKAnISxYVGbvSILqfBv7dapEE/b2fTcDhr/AOabyX35iI01BjO8jYTg +DSuCucWLh5vAMkw== Received: (qmail 3872279 invoked from network); 22 Mar 2024 14:27:12 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:27:12 +0100 X-UD-Smtp-Session: l3s3148p1@+ngRyD8UloVehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , George Cherian , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 62/64] i2c: xlp9xx: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:55 +0100 Message-ID: <20240322132619.6389-63-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-xlp9xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-xlp9xx.c b/drivers/i2c/busses/i2c-xlp9xx.c index 08a59a920929..9a0a1c5f5c6f 100644 --- a/drivers/i2c/busses/i2c-xlp9xx.c +++ b/drivers/i2c/busses/i2c-xlp9xx.c @@ -336,7 +336,7 @@ static int xlp9xx_i2c_xfer_msg(struct xlp9xx_i2c_dev *priv, struct i2c_msg *msg, xlp9xx_write_i2c_reg(priv, XLP9XX_I2C_MFIFOCTRL, XLP9XX_I2C_MFIFOCTRL_RST); - /* set slave addr */ + /* set client addr */ xlp9xx_write_i2c_reg(priv, XLP9XX_I2C_SLAVEADDR, (msg->addr << XLP9XX_I2C_SLAVEADDR_ADDR_SHIFT) | (priv->msg_read ? XLP9XX_I2C_SLAVEADDR_RW : 0)); @@ -452,7 +452,7 @@ static u32 xlp9xx_i2c_functionality(struct i2c_adapter *adapter) } static const struct i2c_algorithm xlp9xx_i2c_algo = { - .master_xfer = xlp9xx_i2c_xfer, + .xfer = xlp9xx_i2c_xfer, .functionality = xlp9xx_i2c_functionality, }; -- 2.43.0