Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1136821lqp; Fri, 22 Mar 2024 06:44:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7dnCTn2232KMrFDx+tnVHF+IU1/qMA0NWuDrTJCKG2PTHNaaqsQXneDTeqoweoGuDyjQ6hvdTL5gjWfciTi3RLHij3xBSj93fUSANnA== X-Google-Smtp-Source: AGHT+IERH6Ym4iYkEXyACw1iR1OyiAjbEaXJMkKP6pL8euKU+E0G3u3R+0MNXYGprW4Vds/pVJIG X-Received: by 2002:a17:906:a398:b0:a46:cc60:975b with SMTP id k24-20020a170906a39800b00a46cc60975bmr1770634ejz.17.1711115070991; Fri, 22 Mar 2024 06:44:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711115070; cv=pass; d=google.com; s=arc-20160816; b=E+XQ6q17vR5MorLGvHUcRQzIbZ5MM3iJo1V6+dIVa7ufuV43CyDs2immubkwO2TFZq NC0tO6+aY2fsz5WthVOJED1z+pxK/qEBtajCe6ug8V7lnucsGtZmRThOS9uJ+6PKGKvc T7wIcurM5htKANjYq6xuL4gK6zJRUXJ7xvdPgOVStu0e+yFfRSL7izlyHHfTmZNzdAwC yH9coZNGocttgiC++mUlT2ioSHSzZkT0Lxg5U+hdmy7qcmBQYGDo+nKSMO8Yy4MRhiDY TtdWVzySMFUc/3M1+DH41iCbS6hY+J5fc/yrqPtmsTSAavFoxCWuLw7W0E1MrXMCO2ah xAjg== 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=1r2o49i7iw+BKKFei4mEIEQYijZQXuvYnywkJfqsTjQ=; fh=AUTjtKRIRhu8G96xJsedOHh0h1oXmb2Fg4T/A6U30gM=; b=sa5CEtmYzy+x5d6FiYOzRD6eHRnOnip4N0vci5XgAoFz8qHaqOnRVnpZGhXyrWQlHp TeMLCYlHxq9LkA/rBSG2/IWQXHeSHQ9qn3ZuxGQqFXci6WNPM7ijggIkg3nUlJetyteH aD3Obp93//wzaGN7Ld3a/lRBbtaKBHGEvdL9HqurEaJfZI5kQ8IG+NCPbbaFJQoEjKdm GbHuHN+KMZ3GL+zGVdLO6ZSzP3qVRuGtu17YSdSPlthps5NB81cfXvMMJ3BBe4IKkxZF 9DklJtLw5SjPMVA9RA/Slj4kXeF4IrqBjRgr0RxOjYOIn//kzD1CWtidYbJSlt6pEAID JQlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=FgprhwLl; 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-111514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111514-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 2-20020a170906308200b00a465f2ed58esi940852ejv.837.2024.03.22.06.44.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:44:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=FgprhwLl; 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-111514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111514-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 C67631F27F13 for ; Fri, 22 Mar 2024 13:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30CB8626B9; Fri, 22 Mar 2024 13:27:11 +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="FgprhwLl" 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 6932061680 for ; Fri, 22 Mar 2024 13:27:08 +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=1711114030; cv=none; b=QQEZuD549UuLSdtXRVYD9qg2xEwCu8bohC7kDii5qj5k817DPsDj++55BdgZM9/S8wUY6OXRlc2OBI2SqKd8BWbgjD3WXCoeydU3gkOrk9zZ/vM4ZVrvs5f/NiIhofjuV0Ecfp/ArSNiss/6D8J/3LvV1k6MP85RVQ82QTegmso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114030; c=relaxed/simple; bh=PaE14FgF8utjw+iOuMQaOI1ODl2G/f5apZi+i46cVdo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mIOqNMiRDEarJVgayHyb0C+yyiwCFxLpa1HIPG6Zn9YOhcI5xkL3fIAfbGYl7/dGwcTUhiAk8Vtq40a10gnz3fi4abFBmWB2mEJl/Aoni8RVgB+a4CFYDg+dHa8wRICB0o315J/U3BjYqCK+xJJeLBHXCTd47aiGzDOMheTGpnE= 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=FgprhwLl; 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=1r2o49i7iw+BKKFei4mEIEQYijZQXuvYnywkJfqsTjQ=; b=Fgprhw Llnp5iR3M6IPiI56wO8nJCI7jZd/zEbWlbLTVXlQRy+gGmcLyYL+fNvI/TinEqsv M5ZWaf2y8ehQ8skw+bJFc0sPlXZOQW2JNNJBSRCBZTDKb/mxj0c/7TSdFEULFfa+ fGcZP1emXrPg4GRIhwYZ9ku4mjpVfi+EacxIc6wpQaCEs5hLSnLILkmowsTCVsoz mk5htHbmdauGJp43DeRm3yfvyBzWbt8wzSo7IUR6WWSUGMYOzQ6UHB/yd0eT0cqf 3qhIETDK7LVEAKSN7dCrRelO4AnpnerlxuYfqEQmAnOFu3NDsEOGdvDk/c0b/HDq WkEuPqtaykzHvvaw== Received: (qmail 3871212 invoked from network); 22 Mar 2024 14:26:51 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:26:51 +0100 X-UD-Smtp-Session: l3s3148p1@OKTIxj8USLBehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Chris Packham , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 36/64] i2c: mpc: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:29 +0100 Message-ID: <20240322132619.6389-37-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-mpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 8d73c0f405ed..135889fdb43e 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c @@ -115,7 +115,7 @@ static inline void writeccr(struct mpc_i2c *i2c, u32 x) writeb(x, i2c->base + MPC_I2C_CR); } -/* Sometimes 9th clock pulse isn't generated, and slave doesn't release +/* Sometimes 9th clock pulse isn't generated, and client doesn't release * the bus, because it wants to send ACK. * Following sequence of enabling/disabling and sending start/stop generates * the 9 pulses, each with a START then ending with STOP, so it's all OK. @@ -762,7 +762,7 @@ static int fsl_i2c_bus_recovery(struct i2c_adapter *adap) } static const struct i2c_algorithm mpc_algo = { - .master_xfer = mpc_xfer, + .xfer = mpc_xfer, .functionality = mpc_functionality, }; -- 2.43.0