Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1136595lqp; Fri, 22 Mar 2024 06:44:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXnoH5hOggctGFHMiQWxT32uIQbHpQ4LiBuNh/yt8jl0W4WMEvocJtE/bSRcMscM3RyLT+F6pfCRymiNS9cKDux9o4kdFwQzD8hoL4yRQ== X-Google-Smtp-Source: AGHT+IH+RPP88oQ9qdRyfoy6Tbykmhb4oCNX7KkI0v3wVS88wu5pL2wPwASh9WgVAiNcBhTbNKIS X-Received: by 2002:a50:8e5a:0:b0:56b:dd0c:b206 with SMTP id 26-20020a508e5a000000b0056bdd0cb206mr1596388edx.18.1711115047509; Fri, 22 Mar 2024 06:44:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711115047; cv=pass; d=google.com; s=arc-20160816; b=PeHN4nYbv4UMSAskYODhdw/iD6h4+qnWaFZ2jmNbyUvOlDWHlNe3GoE3Jr3NPpHOYJ hiqTFbydIKysKjsoT8wJEGpewvbbxDVxBdZOkttXxlE9d6fStehIInl4GoTNyXv1uEdj pNGKNBV7z/C0VUdaOogfWXrc6n9QB/kJKPXXuFvAKyauKuoYJO9J3vezARH5bySI86RW /AIeGV0E9idpZmVX29AEqk2uj7LsY7Nk1c9ueWHN2c88+qhdE+RMLiRnlRtOiO2mPrqe TZOjHECe9uDru1sB3u0LrJMuf25fbv3dRAJK6VmIgLhZYXaBI5ye2dPAhXMzcNvx+8JH eS6g== 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=pVA6WDf6g9/z8AGBcr1q1z0H9ceUAD/J3z3hoNEhDL4=; fh=agZ48xBxMQSL72kl/4WJsZ0CECuwzD+VjQu2LSgQwRw=; b=MC5tO8inoHpq6/P2AHRrX/yXdD4C/IZbQOuCRkdqmPW4FtcOxzZkw3cbO33uvriPdW pmoIhdUq/n9KVIaTbMNRk4F5xsJQVqRAJUk7pFcd8K1cMLCk7PTvXCy3qEcJ6q+TTruG haG+jndCIKq2QN0qApA0DJbJX+RdhsBJ/B9N3tE3UwLltbJtpth/GJD7bc7mAB2VlZ3R LmHbchv/eXdPPaJXUuEj7V7dzYH0GBVmnGvr1wqD6RJUjFZxM+VYsN9zKTEliMX5HZWV j6DLp1M5pxBmtdBOFeRvOCIwrzjokw2Sd7foEBVFoI4jDDuSKvRji1uUZ6DIhAks5cDF ivcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="mcEMV1/Q"; 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-111512-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111512-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 y10-20020a056402440a00b0056bed049da4si133538eda.40.2024.03.22.06.44.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:44:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111512-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="mcEMV1/Q"; 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-111512-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111512-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 584F21F27F7C for ; Fri, 22 Mar 2024 13:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2ABE962141; Fri, 22 Mar 2024 13:27:09 +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="mcEMV1/Q" 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 764EA612D2 for ; Fri, 22 Mar 2024 13:27:06 +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=1711114028; cv=none; b=b8Qu4sUOiL/LtNaaO3QV43Gnt+lTQFUYgQXXVXzBUJQaNjK2XliNjgJf7K/87VcsFIOCs61FmrRtGwnSI3G489cphV3KwZDw+QG6DSBiOYIEsV4UqdvxX3IssGkxzW0rT6L+2Hm8EmRjOF5GqlG7l2EFTknRbBLgoEYYEA0Eg7s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114028; c=relaxed/simple; bh=w0h843T81O+CzW4YGtWlq/y3kUMxeT1ZLaogKPRPBYE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AQMTWT4GOrU6fArOJzV5Ycl2UyGQatlwWpNNiRjwWk4GS+94fCUv+apXNt5AY2yfnV7u+6uAM3JbxpuN07Wk+gLYZtDTpp8cfqe4Jn3m589WnZXB3AcQDMDr54UqLtvULy1BX7rDE23xV82XVwzWDYDycQ6hQHKMND7DdfqYtIQ= 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=mcEMV1/Q; 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=pVA6WDf6g9/z8AGBcr1q1z0H9ceUAD/J3z3hoNEhDL4=; b=mcEMV1 /QvfbwmXZCuOmcBG+YtKHi2v2j8xLgFoFDWW4naekAG8tUAkxvHcrotg5HgWkBcY 4uTnmOnfpIh+MKA+o7PntGhAAgbmbDm2dRb/xfMR+1uRuxLuIxnITDIzTg+cGnc8 zUyVxoW+hdIvP9rvwOI367bbUJBVF1DtOsHD7Y5muQwP1UjkEMaEfrJ6i0Rj5RE7 xIHk8/vg6+opmBWlEYwh1E4l7G4emXOkF+LyERCXOS2Gz4J1VSpuQeunbAZl8sHv s45c0A/pvpebeF8Wojg/454bxYah/qOVKzYn05E4nsUGGVLS8ANDSBpnyeh3OXzU xJ20u+1VaH0w4ykA== Received: (qmail 3871141 invoked from network); 22 Mar 2024 14:26:49 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:26:49 +0100 X-UD-Smtp-Session: l3s3148p1@CDeuxj8UBpVehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Conor Dooley , Daire McNamara , Andi Shyti , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 34/64] i2c: microchip-corei2c: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:27 +0100 Message-ID: <20240322132619.6389-35-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-microchip-corei2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-microchip-corei2c.c b/drivers/i2c/busses/i2c-microchip-corei2c.c index 0b0a1c4d17ca..53a7a1bd535c 100644 --- a/drivers/i2c/busses/i2c-microchip-corei2c.c +++ b/drivers/i2c/busses/i2c-microchip-corei2c.c @@ -100,7 +100,7 @@ * @bus_clk_rate: current i2c bus clock rate * @isr_status: cached copy of local ISR status * @msg_len: number of bytes transferred in msg - * @addr: address of the current slave + * @addr: address of the current client */ struct mchp_corei2c_dev { void __iomem *base; @@ -359,7 +359,7 @@ static u32 mchp_corei2c_func(struct i2c_adapter *adap) } static const struct i2c_algorithm mchp_corei2c_algo = { - .master_xfer = mchp_corei2c_xfer, + .xfer = mchp_corei2c_xfer, .functionality = mchp_corei2c_func, }; -- 2.43.0