Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1542895lqs; Sat, 15 Jun 2024 13:49:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWqLmDpOEy3iv9Fte9jOQ6PcCzv1ElJmz2JoxADOBhB1Qy3shnlYjkZNiNXYyO/ZZuh1nOlaV6sxJqwB0u5Bs62cza+Ecss77k0mBr0w== X-Google-Smtp-Source: AGHT+IHC5HgRwupc5xkryT3rsw3MUhrnCUgD/FDiwiinJLpkewTS4/T2lh+0p/6nr/DNA2a6fjB0 X-Received: by 2002:a05:6602:3426:b0:7eb:8afa:ecf8 with SMTP id ca18e2360f4ac-7ebeb4d5eb9mr678436039f.11.1718484576560; Sat, 15 Jun 2024 13:49:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718484576; cv=pass; d=google.com; s=arc-20160816; b=0QVwEIMm6onEOJ/Kd1NQW8h9v43S0UJ+hpFmKgCzB2MI3Eg3puaOQZc/ko9yap8n8J 7DYA6MMJcvjTPC4BfNR3JPkYn50z2/mlxuzyCkYELyd3ffu/Ce6l077tmsCPYj/5dEzo ZDJn/51T+M8Y2QOYuYkWn32aQxkyeMpHSa617hQkNS49dz93dHzffnn7ZkEwVSVuRgnl H4Ocim6g7vh/+/COnd0OMkwbU1pIAlQVMz6CCQ/7nbltU9Zj5nbzgdgNVtkKZiaUaVJG U4Cio0wfqKULvj6ep9KXlqjXaMD7DTRH8ivN7LgJkCjqWl4DiQwDwC69MmPokyC8fsQy kycQ== 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=Z95FEhULqX7blpL6CxJrGLn52JzALhsCuj/vy+xAjiA=; fh=gq5NKVolb1hXwT3OEmv7K70aqiV65Rcy2XKlYwC7gfQ=; b=K8tG/W7X5lozgnSOTyYpsBZKH0pGXi+LEnvJNguMPiXMt1eZmPZ8tPkexd8LNY3Em3 5fgoyeZb0ba61EyXcs1ZsPDADpErYpNWZP5p1GBEzq8XXKxacpSVnmnv3epvmJoPPyva 9RDyUPCnsvHpS19c5PiNPFUszPSX6lTH2Utq0CV868/8jAPoQYMWc3SY5mbmvsvppg/t 4gld45+9TyV8x5wKuG2L1H+QO4E+h5USLnDXgx+/U335EwQFjMElk9hlL5esEyQ7AHiz dEwbH9h9FiQ3/GkHeoAVkgai5kbSCJ/YYJcWyDw74OuwFs9udy0DdvrIVqcKVkOevmhI J90w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NJlkwg3L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216013-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee453c43csi6045423a12.525.2024.06.15.13.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 13:49:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NJlkwg3L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216013-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 2FDB12836AF for ; Sat, 15 Jun 2024 20:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BCC861FE4; Sat, 15 Jun 2024 20:49:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NJlkwg3L" 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 ABE643F9CC; Sat, 15 Jun 2024 20:49:27 +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=1718484567; cv=none; b=V0KpzgUV7CMsY43SDZ633TCcWexvsxO2C0LNGFh54bhFHcnjuvZf1QdKEtVZ6c397FQN0wISqgTKisiJcWDx3s6Pbu+EfVj6SLgdfw2KY9mG3H2xokgcebkVAg98PycNhKh063j6K0EpiP+2BMnva3mEU5cUnYo1H/xpAWSSwoQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718484567; c=relaxed/simple; bh=+lLsRhJQa0csmNsBtDsKvLrgB/ujeFvdmKUbmQmBOcA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XY6EKaZLRmqD1Qe1wl90xlz1gjTGGgupDUcbJBzzsbUfIi2CuNzGk4+SKOoEeX+gkGJcArfg7e1px2C8MZoBdJ/hFz2pNYLwFsebKnAp3mq+TOIFz1AIW+XlWm9oIxxmYXuFWjm+RF00jfyEOvhn9+0uR6eqiWh/vEAAQq7BqEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NJlkwg3L; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AC47C116B1; Sat, 15 Jun 2024 20:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718484567; bh=+lLsRhJQa0csmNsBtDsKvLrgB/ujeFvdmKUbmQmBOcA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NJlkwg3LVxgIncwHXXYm4NAMXtUw+aA1yrPGbQPFnFdSI6VIew6zLP1D2N2L5PJ91 V3IL0H/+J/NYomtn88oGx4lGQZ/QuCMciZKd9YSrgVDm4wdLjgieoi6XTsS8P5tOxI 31NsnmZx8yhsia7/Q+saRZU2Csdj0O8In2BMyBVtGgcOmTU4uHDUl1zrP9gQOtlFol ffLHTbAtjPW3D9QJ8yOV1uLCFNQ11W5XnwrsI+5+SiGrfWiqeg5v53Vsr3zoYgO7+0 UuyFpEC6i3KpIooIQjei2fT4VHS8zJMF2OMHhdB48J6eoTvRZafzbrtSw65N/UeNvq xnggH8acimv0w== Date: Sat, 15 Jun 2024 22:49:23 +0200 From: Andi Shyti To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Easwar Hariharan , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/6] docs: i2c: summary: document 'local' and 'remote' targets Message-ID: <4zxr4rlqnjqbqh3oxmd2ufqi6uk4pxa3tniuya5pgjtqi6tswc@utq4r2zt6z6b> References: <20240614081239.7128-8-wsa+renesas@sang-engineering.com> <20240614081239.7128-13-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: <20240614081239.7128-13-wsa+renesas@sang-engineering.com> Hi Wolfram, ... > -A **target** chip is a node that responds to communications when addressed > -by the controller. In Linux it is called a **client**. Client drivers are kept > -in a directory specific to the feature they provide, for example > -``drivers/media/gpio/`` for GPIO expanders and ``drivers/media/i2c/`` for > +A **target** chip is a node that responds to communications when addressed by a > +controller. In the Linux kernel implementation it is called a **client**. While I am not a big fan of the use of the word client. It's not used anywhere in the documentation and it's too generic as a name for giving it a specific meaning. I've seen already some confusion amongst reviewers and maintainers when Easwar sent the patch in drm. If it depends on me, I would stick to the only controller/target and render obsolet the use of the word "client" in the i2c context. Andi > +targets are usually separate external chips, Linux can also act as a target > +(needs hardware support) and respond to another controller on the bus. This is > +then called a **local target**. In contrast, an external chip is called a > +**remote target**. > + > +Target drivers are kept in a directory specific to the feature they provide, > +for example ``drivers/gpio/`` for GPIO expanders and ``drivers/media/i2c/`` for > video-related chips. > > For the example configuration in figure, you will need a driver for your > -- > 2.43.0 >