Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1134349lqp; Fri, 22 Mar 2024 06:40:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1h2YQyqRGcj9j+2CK8wj9qL16Pu4L27vDeVKHNJUI4780YBpt8plVRBGxADCI0XekrV5SfN6MfY32j7dB4lnBsIZLxKDFsclgDUayuw== X-Google-Smtp-Source: AGHT+IG4htfYAvGLL2zr7nl35if39HSqb/iA3u10bgi/xZLxJLUXVNvkLjaCERHT8UwjBsEtLTvW X-Received: by 2002:a17:906:b259:b0:a46:f3cc:ccab with SMTP id ce25-20020a170906b25900b00a46f3ccccabmr1720768ejb.4.1711114824946; Fri, 22 Mar 2024 06:40:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114824; cv=pass; d=google.com; s=arc-20160816; b=GYqHcZcQyhhB76nIqURFxsT5AcRe2fzhm+ijyAA1MPY1ASgM107oi6Mk9ZTtoHBdmw 5bVLXTyMSmc9akpJtFmE6FTgD9xlEg+59Yj/D6lZrKcVJYPJmzYRzh/veCdLR//UTUQR OuLP5yinsVhiUwcXnNR5MqUEiatRoG74seaRUGzkEJ517I2grRoZczdSG2qkJ1pMAew/ +GvPrUZo1a7+qvjGlsZf4y9HzHeClscP2pmcmhpfIJ0447a9Ce/yJAMy0Y2d5swmJRIU yAlBGKi9uqJC8cUT/V3vxGz6Lzxz+vhpkL7wNWBIXSreEUrjXLo+1SQw3gSQ9pdpZqw8 iVJg== 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=wxqg7Z+kFkA+aeNqnWAOKnhOCtUPYChybJW2GTLiINU=; fh=Mfd9c3MYd6Q+Powq9wv6XiPcgk0zZW7+7SThwo/rzbA=; b=ZVOexQ1+TcwxUFP+GyRf8AF4Dutb9cKDSeZ/kEgZxzssfIQMAbcnzhSe2gGk1Cw0gD 49oijxCrvd3HnxoNwFo1P3GXi7PWOCR2HwQhYB736cP2tJ58FICqHU0q6F9y5zevSgPN PgS/6ZJppRqwgyUKGQqzTlUOTtKewAqR3cFpLBfAhsAkln6mWP9UvNZ2Sz5D0mKcATg8 YO5vqnzlr4msfQ6sCZ3yqWhFz8j/+ugW54HBot1NQl4br+uM/gTCkCNyZ++QoZ8M4TS6 Df3NTlswyVGfRGi4ZAJk0DvW16u8trCk3VePiQaqteUIRYiX9eX5nEhoizmazQd5Q8/d KfnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=HrbMRJPe; 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-111539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111539-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 q27-20020a170906361b00b00a463544f579si931633ejb.755.2024.03.22.06.40.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:40:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111539-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=HrbMRJPe; 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-111539-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111539-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 AA2A31F22115 for ; Fri, 22 Mar 2024 13:40:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D12569957; Fri, 22 Mar 2024 13:27:36 +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="HrbMRJPe" 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 5FA7067A0A for ; Fri, 22 Mar 2024 13:27:33 +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=1711114055; cv=none; b=IaXxEQQde1GDk9TqJ7zJOvvOqECDbhQMcCl029+xN0BFMnxlazsTZK/gGtxVsPf20z3/6eE79epFsQQUEN2ylZLbyDRM4wXvEuIyuG2/5x80mqkpUa/JDR+dRDoz+fPo97GmHHh3iO5mjQ52SQ3XSgPFWb6RRHhHhtJqJeiXgDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114055; c=relaxed/simple; bh=LCHmmTcTk+2vjiSobJRMbTT798hMptAxCnXzrq2f7Cc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iSvdWFR33uUTysE0SJqhXtoZzNfhfRXBkqxPVt2OydeksAMvgo8sQxV/VfF4Og6oy0qIln9fVoe7xDPxQJAqPcU2CeZdztUO1MJCi2XPSi6EBPU022ke7CVecVbj8f7QsQYZnVyKC0YCUN3qOwpXv//uUIZoQkbOsVN2+8BwXeE= 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=HrbMRJPe; 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=wxqg7Z+kFkA+aeNqnWAOKnhOCtUPYChybJW2GTLiINU=; b=HrbMRJ PexTlwFW20IcjqbefYKUVB2puOBaT1IT+sYNMqukbLvde7B5zCVp5wwO2DkBs78/ uj3qyO5QJ6P4fkdF2k2r9UK+dtHe/2zbCJs2SgcHfId+DwR9KJbITD3kZeLBUtBx ppX8mMyCf/7EA+u4PIa6fID7M+2RFhePz6DLJZH4myqPdqYksCxOgMIQ6fCFnP62 SXtC4NugdZ1kQRuf1XRP+txGUtdBnGUcvylRxOxI5Vztft4mLtJEPjCri+jtx2RP EZOQS85Ppnza1TJPtUT0Npgc21mr1foVOjYFlFvllh6ks+SjYe8qUf4rvKxuC8uo yPcxFhn4WsBsog8A== Received: (qmail 3872246 invoked from network); 22 Mar 2024 14:27:11 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:27:11 +0100 X-UD-Smtp-Session: l3s3148p1@qgoFyD8UjoVehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 61/64] i2c: viperboard: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:54 +0100 Message-ID: <20240322132619.6389-62-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-viperboard.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c index 9e153b5b0e8e..810424bc7a04 100644 --- a/drivers/i2c/busses/i2c-viperboard.c +++ b/drivers/i2c/busses/i2c-viperboard.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later /* - * Nano River Technologies viperboard i2c master driver + * Nano River Technologies viperboard i2c controller driver * * (C) 2012 by Lemonage GmbH * Author: Lars Poeschel @@ -273,8 +273,6 @@ static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs, (struct vprbrd_i2c_addr_msg *)vb->buf; struct vprbrd_i2c_status *smsg = (struct vprbrd_i2c_status *)vb->buf; - dev_dbg(&i2c->dev, "master xfer %d messages:\n", num); - for (i = 0 ; i < num ; i++) { pmsg = &msgs[i]; @@ -345,7 +343,7 @@ static u32 vprbrd_i2c_func(struct i2c_adapter *i2c) /* This is the actual algorithm we define */ static const struct i2c_algorithm vprbrd_algorithm = { - .master_xfer = vprbrd_i2c_xfer, + .xfer = vprbrd_i2c_xfer, .functionality = vprbrd_i2c_func, }; @@ -461,6 +459,6 @@ static void __exit vprbrd_i2c_exit(void) module_exit(vprbrd_i2c_exit); MODULE_AUTHOR("Lars Poeschel "); -MODULE_DESCRIPTION("I2C master driver for Nano River Techs Viperboard"); +MODULE_DESCRIPTION("I2C controller driver for Nano River Techs Viperboard"); MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:viperboard-i2c"); -- 2.43.0