Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6030392ybe; Tue, 10 Sep 2019 12:24:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+/WxVnIgQp1RaG9fxcnvKRbDxHhDLRreMCpEp6G6d0gbuddVij4/sPVtnUVDqJHQ3DFs1 X-Received: by 2002:a50:e005:: with SMTP id e5mr32314966edl.279.1568143491807; Tue, 10 Sep 2019 12:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568143491; cv=none; d=google.com; s=arc-20160816; b=euLgoK+oEN0fUXaqaT6Jrh5I7cTZr7FRT6HwENKjBfkN7nRYP7iOFAoYiDjTu2N8qT LDH7dSVyuzYmgg22PKI1Z0EOsZXnuLjh2hRASE+Ms/CmrlJIvei4byCVH26qfsXirkgJ Mo9K2FJ/Rq30XJM8tEdNAhKx1xGuKnLcRkJsiyhOSRqFc+SbwhidDTwxoOgA4KnI8+bJ xBAxRlsu8rRf2efY0i1Y7DIGlr4cJlA5w1yagINrO6yzB2eGqFWNPHN+L9fmQ9S+Gidy 1kc+fKIvunBJFABrkGDanlKrg7TdFLWW3h/LYULlQ6uZ98yhUUP2ZPPMjzE1oac9r97j Ozlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=T+uqUPjY852zJ7DWrGR9TYVY8/2Nu1PcIHWKXJZHRmo=; b=R29vwNf8H6Ic/CKwwIKd7ZXn7TFq7q7bEPAiGbock40+2RBVesbg2RTBcYjw0ohA+B 6+PNIRmc4jYCssre8whovB45Rh5gk6dR7HDrnUZTWGo+fQgVebPrL45Z/PUDFAGdewdO 9c5oanXGcNmosYKOhQu0CRaq4D0DCTPY92iqRl3l+lTUb2F0d+xeHyzRDQrtLsdL5SZr fcdiEbkgtRkLRmnD5pUZx+21Krgpao+0FP3eNS4FwFhVHIx/mi3rvKeZfBOjKSdjbZp0 3JpnPUhwjOGLfAjI+gHTnbU5vRbgnuRccdVYC/daDSONFR0aSe5Thgs3OJIK4IY/MStd 90wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si1478103edq.375.2019.09.10.12.24.27; Tue, 10 Sep 2019 12:24:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437101AbfIJRQe (ORCPT + 99 others); Tue, 10 Sep 2019 13:16:34 -0400 Received: from sauhun.de ([88.99.104.3]:50016 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387433AbfIJRQe (ORCPT ); Tue, 10 Sep 2019 13:16:34 -0400 Received: from localhost (234.77.63.94.rev.vodafone.pt [94.63.77.234]) by pokefinder.org (Postfix) with ESMTPSA id 1A4A42C0095; Tue, 10 Sep 2019 19:16:31 +0200 (CEST) Date: Tue, 10 Sep 2019 18:16:30 +0100 From: Wolfram Sang To: Luca Ceresoli Cc: Vladimir Zapolskiy , jacopo mondi , Peter Rosin , linux-media@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Kieran Bingham Subject: Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support Message-ID: <20190910171629.GA5581@kunai> References: <20190723203723.11730-1-luca@lucaceresoli.net> <20190723203723.11730-3-luca@lucaceresoli.net> <20190901143101.humomdehy5ee73sk@vino> <20190909072232.GA990@kunai> <8af9a049-06b9-dbe8-827b-5134d20e9435@mleia.com> <152384b8-c0a8-e6fe-9a1f-52caf00533de@lucaceresoli.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <152384b8-c0a8-e6fe-9a1f-52caf00533de@lucaceresoli.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Here i2c-0 is the "local" bus, i2c-4 and i2c-5 are the remote busses on > ports 0 and 1. As you can see the eeproms are accessed using a name like > "4-0050", meaning physical slave address 0x50 on bus 4. No alias is neede= d. >=20 > Should you want to know the alias, perhaps for debugging (it's the > address you'll see on your logic analyzer), they are shown in the kernel > log. And to add to that: The aliases on i2c-0 will be marked busy and show up as used if you run i2cdetect. So, you'd need a force-flag if you'd want to access them from userspace. --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl132mkACgkQFA3kzBSg KbY7KA//dTGgRdQZxIRRuFmdxhZR6aCLbnLiEuCcMagiQ2aa/EP1vhN8qPrUaucL Jf+XXPeFbx9q1ycOa/tOuI7CZbK9jXKDfMPQtP/gTx3MuHzv4MlHgTIWpEm8YMfr CgblrDzIKZqaeR3PGdu7AD6gSWDorwh/Rq4tt8hxqVi+KMiXgQBjiQFb2F5h2g5z nKjONcRnItlAnieSUnnzYzEs5jtLTHfaioMpAyrVXVRBr1uvRsQAxqUvN7bV+ThA mwmJfUOCrNf6gk596ug3SrHow7rgZxaNds6kEqiSY7Kib9MEfvkUj8q9yfBz8wCk YB052AdefuREt64vShJtmgbSjj+wRvBNkTB+/fdZptFL6CxORGhw+GKgkQnssqyQ W0Arjte++VEG3jGMtCx7I4GxDOdp2FqjSnBHDW9u1piPYBZOaxMeknBLhrrxiyfa Vrr3ZRgKTdz+70h1lQsQ5udADUxq6DhhGfoouGDlvk1JP6aLMXUr7PSNpjpYpZ0V N4qx2eJMRLkYrcNbbyDe+GWwFp3b1j859nk0jmi5M2zDTkqVji11DBkb0p1zrT1j 7pvW9Us/V2i1jCLBHED2CSSQIaBs8StDnkPFvbeezoCUDxDeBz7ePDXO2asDYu9+ jWDqFrb/qOTkZZdhvcurGUF3lL1SEgLR6gvWutjx1B5hQTHTE8g= =vLj2 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--