Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1173240lqp; Fri, 22 Mar 2024 07:35:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuItPvH8RGJACWrWw60Q1NNbUjoWtArfzGowYSVUQi4z4zuSVfShNU12m/lNN/hbmVcb/ykGWgWUa2s9pXOjEDRhSEJahxLUpZ/eKfaw== X-Google-Smtp-Source: AGHT+IEZlgh1m0FW43ILEWa9/zuSaW3Yc+iRJZIS8bGNp7XlvEaWK5hLt/b1SIIBQK6DDWC11/CI X-Received: by 2002:a17:902:d3cc:b0:1e0:226:8ffe with SMTP id w12-20020a170902d3cc00b001e002268ffemr2600633plb.38.1711118149951; Fri, 22 Mar 2024 07:35:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711118149; cv=pass; d=google.com; s=arc-20160816; b=yaEEFQgfNwfk0ofu8UyL2OMEC8tYhVxW9ajUmVgmaR9puaj9yL/8VhjpxVgc1grPlA 78KBgtFHu1Ojxd7PQqGYIOvi+d9YWid4fz68qdXvI4VSZUPq7QrOwohxJrHUdrjVW6on RfHjX30YMGNIj31FYMSwtkKrUhcqRRsRYt7b4NXtO9JP5MmBoB3Zu1hj6zGmRtttTvRG q6Xtj9kxZAvS/GxWcS+pJc/lx1Ajl/JxGMET54QtSJTADqMWhOPt4p0h/2MGRGFNSFYw iimfQYHCcOsjfNAjta2Lh7E6/eguaKcmCnqK3ueWSuCufy8NUQ3Yj85BqRfSbASYhJy6 LZtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CuSckh4rHe8eoogPK1fBBQW94za+DHSOkjiRG6+SXE8=; fh=sX4sOHq2oBsVyOb2bnoOyVAREmTHLUBEwBvLOmsoTL4=; b=M201LnVYUFOtV8lpxH4Yr4rvK4mWmzzbPsuL8EaQnKe9SDEvYxVGhvFMjSdL14i7x4 UM3WhenLjxHNukWd7pPW0CJhM5XDm89XYo740Yk0h4pFePwrrJpl23D7zclvgr3HC5gs MOHWCMy2Vc1Q3WWyrq/m14OsDwo+uO57MqitSgJ7x1bf/klqP3vZ8vF7JgYbqKp1SpzV SdTBbKlevjTDawvO7wIsSCyInUaNrda5G21qhc8Ratm9H/KIL3N4BQFhMBzNXkxtiPcJ /QAHRcF3xgiDaEAja2zcCtzv5aqINBhqofJqwvAweYvR0leyjTQOExUC+7WSLfwOfM9x h6cA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FA/SG+9T"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111629-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u2-20020a17090341c200b001dc8a50e480si2128737ple.549.2024.03.22.07.35.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 07:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111629-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FA/SG+9T"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111629-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9C2C8285DA8 for ; Fri, 22 Mar 2024 14:35:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76E52481DA; Fri, 22 Mar 2024 14:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FA/SG+9T" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8A26A47F6F; Fri, 22 Mar 2024 14:35:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118141; cv=none; b=byc5hh7Socmj6KJSbyZBm+SGSwoza648+BgXsD80I73Zz+KT3A91y5GIJnG8VCmHPKIMTJcwG+BoPBmFplqQTGdi/DXifPiPdJX5dHGSuabGC93Ny1rf56TPqpb4DRTiVH32n/EaFaabf/M5A65NkNXQ7lPNKRxIoxlNK81OQyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118141; c=relaxed/simple; bh=6BhaNQSGjOcHcLyTBknP2Sw28oEWlTrKGYjz+J67vF8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ikPezsKSp2h9gGAO2JMzegSRFr/Xi94ItAfbZB511yh7Oml3YyRoixRgTnN2b3Ym2+9S01H18zjyd/INKwDovnS5ZF704t/jCjaDLGOgQ58tJQqqSLVBjO/UmhpxJHFB1uriUPHhaskuV0TghMttNaXgMesUbbaUApYG19R4AbI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FA/SG+9T; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 862D4C433C7; Fri, 22 Mar 2024 14:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711118141; bh=6BhaNQSGjOcHcLyTBknP2Sw28oEWlTrKGYjz+J67vF8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FA/SG+9TvmCkwewQwm+7kSt5pHQtrmCFmVCBg4whJckoitX2/LdAOiQzV6Hj2m4RS wsRnQf3VK4HEixX1lOnPhjtOw5pwUoIiBHSmS355ZKAraRWCjp2g1/WadnZTRoQeGh VXCoom3CuC6775gfF/4eY3VHk56ScK3J3LOgzLgMtpsR4q4OQZrcj00pz/39mXFxRi EbOlRgNLs3k5zcOatjqkLCfHz/9JMoQxmAKw0p7926s1bzalPretXINSASHUzsbAr2 HHOP7A8IuZIwkWOCO/l9+Zhm9TOQDP/3vncebvZmWU2y8uCxSDkYAGl5JXD1DlG8BP /X/C6arB90+xA== Date: Fri, 22 Mar 2024 09:35:38 -0500 From: Bjorn Andersson To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Konrad Dybcio , Andi Shyti , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 44/64] i2c: qup: reword according to newest specification Message-ID: References: <20240322132619.6389-1-wsa+renesas@sang-engineering.com> <20240322132619.6389-45-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240322132619.6389-45-wsa+renesas@sang-engineering.com> On Fri, Mar 22, 2024 at 02:25:37PM +0100, Wolfram Sang wrote: > 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 Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/i2c/busses/i2c-qup.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c > index 598102d16677..2aeb5c33a711 100644 > --- a/drivers/i2c/busses/i2c-qup.c > +++ b/drivers/i2c/busses/i2c-qup.c > @@ -380,7 +380,7 @@ static int qup_i2c_poll_state_mask(struct qup_i2c_dev *qup, > u32 state; > > /* > - * State transition takes 3 AHB clocks cycles + 3 I2C master clock > + * State transition takes 3 AHB clocks cycles + 3 I2C host clock > * cycles. So retry once after a 1uS delay. > */ > do { > @@ -1607,12 +1607,12 @@ static u32 qup_i2c_func(struct i2c_adapter *adap) > } > > static const struct i2c_algorithm qup_i2c_algo = { > - .master_xfer = qup_i2c_xfer, > + .xfer = qup_i2c_xfer, > .functionality = qup_i2c_func, > }; > > static const struct i2c_algorithm qup_i2c_algo_v2 = { > - .master_xfer = qup_i2c_xfer_v2, > + .xfer = qup_i2c_xfer_v2, > .functionality = qup_i2c_func, > }; > > -- > 2.43.0 >