Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1134612lqp; Fri, 22 Mar 2024 06:40:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZ3GGYAmWfJuIuA0gIFGMEX+DUepgcem18/wsB126fMoPFUrgzk8SKqVYILIj/wkPufzwls2odC9jbvHW+zkvzuSlEFpWn4p1K/oMxYg== X-Google-Smtp-Source: AGHT+IEegAbC5yHWHML0uxpf2cA5y1s/a7Ws4IAGy8TRxDhzbQKjxn3az9lziyyliVO7j8188p2k X-Received: by 2002:a17:906:2555:b0:a47:fa3:aea8 with SMTP id j21-20020a170906255500b00a470fa3aea8mr1817436ejb.30.1711114847296; Fri, 22 Mar 2024 06:40:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114847; cv=pass; d=google.com; s=arc-20160816; b=GZWmandp28ha9nc/MPUdxF9ZH3ymSMJLJvw/JXWv2wz2mUa6531zoIMGceKYZt6Pl4 mNeCXXLEAEtBPbNPNlJFSlI4YfNtNzRgehwVzai4OshvK/SJag6NOfcscAbsKeJ0AE6b lKo4oF5sjKrgnl1Iwr/FRTUdwyee8zCIjBZR8J0V/vLD29Xa1QRb9WtwtB5IYndhZQPL 8o2G53ccOI4j03FPXqj+AXMcNfQ3sEZHxM2PEwL1yLz46hMq6A1gNPTmY+JMeJOoU0kn 13L80g5eTCRGPgclrHPyW5iWOolygHjQ6akq+GRYiAP0HBrtUdbRsqd8xcyO9Y4db4qS njPA== 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=Mc+kkfqmbWeBgun419lGDhT1G5v018HjE/DNf0WDLT4=; fh=oyJ24oVOqfvo8G/6A8ccQqyZeBt4KiRbraEBLS3GUu0=; b=IxUvmjKWB11dZ8FI/K/uALUPpR8oqQhEDPEx5e6lC3XV33JV5+47sDxF0m1orBYxcA HjrjeiY8u4/us2Rl/Zp8ev8PeLbKHCyozQm+jz+mG2JVUc3xekRIwJe/RAE1IsSmS1Ss /7+zjsbfI2F7o17jHBTGO9Usoyd7YRJCRCevVErOqnCEAttNVf+YxyA1gxsF/Sya5w5H Kt34ohPfmPMwiZe4YcHrYsVFPt9qzFhNuewC7Xr+4W5Am1xcOWgt8u6WmSrXJHV+wh6l i2jscv8R/Lh075pRIvh7baCAajz2xYWsg+VbKUAcWrfiVdMRhe5fGiK23kaH+7O1Fhz8 HGCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=VT6kn430; 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-111541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111541-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 v11-20020a170906564b00b00a472ce558c3si696051ejr.750.2024.03.22.06.40.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:40:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111541-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=VT6kn430; 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-111541-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111541-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 0C9571F21E28 for ; Fri, 22 Mar 2024 13:40:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBCF769D27; 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="VT6kn430" 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 28FDD67E75 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=1711114057; cv=none; b=uPl0fABGEzUltrYP2TimCUEJXUwT1+IT7yTYM1aLydVyQydvOLO9cnqUGBdTv83/7gCVYlgR45B79axRDwB86Yfsd/9SGjneLqoR9T8zU+WR98wHTpeGxEwAeOOkO8Oyn8M+malBZQvlcUorj21J+98xHVLTiVh19N4mnmK4YCU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114057; c=relaxed/simple; bh=3SYrWo907vsAxN9nNRVA1UFj//np9nL10OQCf9WRfD0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ak6+hqPLkF0dRinmWsSfKxooiav/mLCK7qcZtDc98eGwabA8Gk4Z0L8E7wkTVR8cfaDSHLD2Sv4dku+SKNX5ESXNG74frl2rLVdX37d4tsm1Fw8DKYOz/9lWN7VBvS2umorp9uvbPaBbWzj+/QFfqYT3m5gqhEL47xZhnjSnouY= 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=VT6kn430; 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=Mc+kkfqmbWeBgun419lGDhT1G5v018HjE/DNf0WDLT4=; b=VT6kn4 30eDKn9BBGnx/dKE4FI8SNsCOADo0k0+EWC0q1O+6IorhRyNVmvj+bnsHP9srqtd 5pxcsYrm0XHcOsPX//JFQlehqHfsuY737It4lxyZhp+zqJuNCZwGwk41Rt01m1nh hEi6sOKKs8TZLVAOg5/k1GwO0561m0Zs2By/tpMOMqqDXIbaVvNS7V97dwib4uLP QjrouLjQsM3UT4BzHHii7DveB1wO78YtDw3y9k0QtpvDLhK5ZYAF/epXHw6lyojz K5XrhZv+dgEHTIXELsUc3Ur52VXqhk518n53mYiFsmrH6/k3ACEGs8ZD3VhvnSwm kfup9LQTjU7EAqwA== Received: (qmail 3872340 invoked from network); 22 Mar 2024 14:27:13 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:27:13 +0100 X-UD-Smtp-Session: l3s3148p1@z3QeyD8UmoVehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Jim Cromie , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 63/64] i2c: scx200_acb: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:56 +0100 Message-ID: <20240322132619.6389-64-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/scx200_acb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index 3648382b885a..0d773210f9be 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c @@ -110,7 +110,7 @@ static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) goto error; } if (!(status & ACBST_MASTER)) { - errmsg = "not master"; + errmsg = "not host"; goto error; } if (status & ACBST_NEGACK) { @@ -251,7 +251,7 @@ static void scx200_acb_reset(struct scx200_acb_iface *iface) outb(0x70, ACBCTL2); /* Polling mode */ outb(0, ACBCTL1); - /* Disable slave address */ + /* Disable target address */ outb(0, ACBADDR); /* Enable the ACCESS.bus device */ outb(inb(ACBCTL2) | ACBCTL2_ENABLE, ACBCTL2); -- 2.43.0