Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1129308lqp; Fri, 22 Mar 2024 06:32:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBpzjHBXL9v61Dqfe4R5VkBlh+Cm3B8TJ0TD2X8olp1ooiOPtPQRF6xLy9hwbr0dX6oBn4I18W0So33KddibyErrv4TM5EsURVifQfXQ== X-Google-Smtp-Source: AGHT+IFa8e+CBFFCfRpLEkDeq3X06RJmlrbqQ6isumDVmKrhaAerCFwt0GDUELb5QVUZD3bpv5XW X-Received: by 2002:ac5:cb10:0:b0:4d3:31fc:4839 with SMTP id r16-20020ac5cb10000000b004d331fc4839mr1944201vkl.2.1711114347978; Fri, 22 Mar 2024 06:32:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711114347; cv=pass; d=google.com; s=arc-20160816; b=0x7NQYmJzw+As/Rg4kXspZA9BTPJHIkdCRIxeV8fTB1+/5fes/xc3d/hCByGdXE7pG bZNoJJH3iPwEJtXosmxAqYTTLB9PscODMiYUnTaK6sxRnUEymvbG72lulc+oDAdkCtar CK3OHualzY0igebtLrUVfZxAyUratHPSPmlUhxZO8nAs8FfrjlNR4ZEGpo+O4DQ/pFKA Lu3tDd5ZUyyG8XbVjKLcMNRg0cDemlvoHJprV9pLtAyczow+UDDV44AUjbQ1qxy51D2Q 0gVs5RYQT+bT2/19c0ikVc8mq2GUF4AzpsHTnVqs5I9JG8hsIvfJM/f7Lx7qWsgOItMA SIQQ== 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=ELobiikT/EftdANZZNCWbmYEFMap38mTRb0PD3v43fw=; fh=4rCUAXEVsxaF0v6fFzDttaa/8UcUGFLktTHhkcSEHE4=; b=mTO9/Zr2OSVYsHtCYj9IGlYiv8ctIKMoxLKwq5C6I3YA3verj9lYTP30DGkbYqECrj z0SV+vc8tsaDaaG01NQ0ZqoHggiOJSuw8PN9wlVOaORz1bwIt3qcSegiI/tkX+RxphrH Xt+D81GUzL1EANl/D1OPyBNrcuPuGDtIRawE22bR1UnWauXHP+Zj+g5XCxv3XAbRWcVS kaiRTL4flwdKGvvSkl4hihWs7R1WCK79FRmA17SbrJxUAqyZcbr74AoAq5n/EtgUllxu l03zuE6wsM1Q9D/OYBCPngvxeofbCUH2MtynxZW8Xkfa7mLDPgEEHBBarxYIRTUojI0u lrAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=dAN0vM62; 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-111503-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111503-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cm25-20020a056122421900b004d346ffda80si273010vkb.275.2024.03.22.06.32.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 06:32:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111503-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=dAN0vM62; 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-111503-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111503-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7E5EA1C230FD for ; Fri, 22 Mar 2024 13:32:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EFEE60BA7; Fri, 22 Mar 2024 13:27:01 +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="dAN0vM62" 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 DDA19605BE for ; Fri, 22 Mar 2024 13:26:57 +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=1711114020; cv=none; b=Omttr7mbeL4bCNqJIWUNpwPK1oRI7dMAA0QhQF83NRabqwVxF4QUk0Ts6p59llSTcq9tM8nKO6BOrxyeovFscD5GdBydZ4oMjUVkvTxBCfzzEazAGOsKybhq7ZNXpSc6asw8tleK3RRYZH+kizeCYDVuei/gR4znO59524FwXmU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711114020; c=relaxed/simple; bh=KMlPjhymqUnFrcOezsGlxN4z0c5hiNab6hv/WcMS95s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ujXpMLcvBnDobuXK0exy1mCPZiKjkugOlgmP8Q02KHeftQLp0dWF6qDdp8yYLHctU79RU3m5f7oM5/mJderFKLWX3sHSL/oD3rX/5TWvE9WA8TqQa68kIVCro9mUlqWLXFkT/JtH5CnDR+RSqpFE90pUFcN4XghSIXm7KxsSRbU= 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=dAN0vM62; 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=ELobiikT/EftdANZZNCWbmYEFMap38mTRb0PD3v43fw=; b=dAN0vM 62K1vHo9Ig88LNbKifyqaPmYYbUwnxrG6m7RtS1JzQPnwj9vhgxKQNoh4ekGjktW X+uN8FXdTbuyQ/PTyf0GOxoipXoWNr1Qum9c1zEGavTc2wp6qAbfw4LEBeuX7wBF bRG8GvBftkLNLBmOleniGhumM26A9+XXkoY8wn9HCR3j8KIIzk6T7r9yDFS1jhkU kBDT0vZ50ug8ci8bbZ5olezjWhNaJ51OfYO/VBGyitdAIkrj6KIiS5CUgLtB7/Gr IDfB4+E0Ffid8d9WosfStsYkTja6W0nf450JWcRO+V0B7UeJ62XyTtmFrHQYj0UO fuM6vzljcwadKqvg== Received: (qmail 3870679 invoked from network); 22 Mar 2024 14:26:41 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 22 Mar 2024 14:26:41 +0100 X-UD-Smtp-Session: l3s3148p1@hVcvxj8UqJRehhtF From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Jean Delvare , Andi Shyti , linux-kernel@vger.kernel.org Subject: [PATCH 24/64] i2c: i801: reword according to newest specification Date: Fri, 22 Mar 2024 14:25:17 +0100 Message-ID: <20240322132619.6389-25-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-i801.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index a6861660cb8c..68983f0a7fef 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -87,7 +87,7 @@ * Block buffer yes * Block process call transaction yes * I2C block read transaction yes (doesn't use the block buffer) - * Slave mode no + * Target mode no * SMBus Host Notify yes * Interrupt processing yes * @@ -1274,10 +1274,10 @@ static void register_dell_lis3lv02d_i2c_device(struct i801_priv *priv) i2c_new_client_device(&priv->adapter, &info); } -/* Register optional slaves */ -static void i801_probe_optional_slaves(struct i801_priv *priv) +/* Register optional clients */ +static void i801_probe_optional_clients(struct i801_priv *priv) { - /* Only register slaves on main SMBus channel */ + /* Only register clients on main SMBus channel */ if (priv->features & FEATURE_IDF) return; @@ -1304,7 +1304,7 @@ static void i801_probe_optional_slaves(struct i801_priv *priv) } #else static void __init input_apanel_init(void) {} -static void i801_probe_optional_slaves(struct i801_priv *priv) {} +static void i801_probe_optional_clients(struct i801_priv *priv) {} #endif /* CONFIG_X86 && CONFIG_DMI */ #if IS_ENABLED(CONFIG_I2C_MUX_GPIO) && defined CONFIG_DMI @@ -1756,7 +1756,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id) /* We ignore errors - multiplexing is optional */ i801_add_mux(priv); - i801_probe_optional_slaves(priv); + i801_probe_optional_clients(priv); pci_set_drvdata(dev, priv); -- 2.43.0