Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2690031imm; Fri, 20 Jul 2018 03:13:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpetworAACfLa7Os17bTqLB84z25MXFR8cQdGkkRoYA9S27dPU6O6dl8cPFJjOmiVmD7Xcbd X-Received: by 2002:a65:6258:: with SMTP id q24-v6mr1467593pgv.131.1532081604377; Fri, 20 Jul 2018 03:13:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532081604; cv=none; d=google.com; s=arc-20160816; b=MtWc/Y7PH+dkuJFaDMBYkuAsXamWeXZnPIdojYciQ/oeZyLTJ5TKJbkYe5cCKH+x3m u8AikZc3Qxel6SU3uPHOFXaNV5JAU0KpCAddB82lIFne3Ux05OXcxNbhhpQiDTbiM4Jl VWGTo7gcWV4il6a190hwAR5A7mIcv7RUa0h0/U9JDETHHWeX4Aq5v9st7ZcC3ybJx2K7 rdzzyc7zUc2EGwNcVQAsAA6Qm8waxnyOAJz8O3H/jTAr0j0M9DUR56bd1Ak/66/5SeIh kb9TSg+e6yNi52r/GILMwRKo5Rr/AjRIixS6laaFJFL14Qj76BptqYIAlmudKl3mU4vs EiPg== 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:arc-authentication-results; bh=MRltq9axvwwo4WIiMNVBIIfZq5c00iG0ebJRpomNO3I=; b=MWNLOJ1kjo4uh0sVW5u2XjC0+gY0nRQnQSteRuYArkqqo3anYtOC1Kel1q7egmPeDp 6T1sE4e+72afGDb9ILLKSsPnBd5JqjlOTuwpsIiBFeI94zfp6afWKPSM1tujep6/LhJl qlMZnXgOoH3+iyS+IFfvrRZv8Mfpt/2hPzfCws2CV+yCX/bo9ULJ6iO3uLkclZfE+SJw tgsaGuXRTgfGsrce5zKr8QRPa+p3JrKB96o/fRvySkJXMayT0Yl33HNnRlrBEDATiEvG IzBKPw8P05i46Ma0uM5DLhnwhQ+XOnIJW5mtRzTtV1g3IgtbYH8TXfdNXMrJETJCcgrm /0Dw== 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 c1-v6si1555427pfe.29.2018.07.20.03.13.10; Fri, 20 Jul 2018 03:13:24 -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 S1728335AbeGTK7m (ORCPT + 99 others); Fri, 20 Jul 2018 06:59:42 -0400 Received: from sauhun.de ([88.99.104.3]:55854 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbeGTK7l (ORCPT ); Fri, 20 Jul 2018 06:59:41 -0400 Received: from localhost (p54B33241.dip0.t-ipconnect.de [84.179.50.65]) by pokefinder.org (Postfix) with ESMTPSA id 0BE525E000F; Fri, 20 Jul 2018 12:12:07 +0200 (CEST) Date: Fri, 20 Jul 2018 12:12:06 +0200 From: Wolfram Sang To: Peter Rosin Cc: Arnd Bergmann , Boris Brezillon , linux-i2c@vger.kernel.org, Jonathan Corbet , "open list:DOCUMENTATION" , Greg Kroah-Hartman , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , DTML , Linux Kernel Mailing List , Vitor Soares , Geert Uytterhoeven , Linus Walleij , Xiang Lin , linux-gpio@vger.kernel.org, Sekhar Nori , Przemyslaw Gaj Subject: Re: [PATCH v6 00/10] Add the I3C subsystem Message-ID: <20180720101206.tv7nsoanwo5ftnia@ninjato> References: <20180719152930.3715-1-boris.brezillon@bootlin.com> <2ab0ab75-2df0-2714-f007-c33b25481016@axentia.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="buglsqpmzc2gtcib" Content-Disposition: inline In-Reply-To: <2ab0ab75-2df0-2714-f007-c33b25481016@axentia.se> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --buglsqpmzc2gtcib Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I have not read much of the I3C spec. I'm just coming from the > current situation with I2C and the i2c-demux-pinctrl driver which > tries to retrofit this into the I2C world and is not doing a grand > job. And how could it? >=20 > If you can acknowledge that i2c-demux-pinctrl is needed for I2C > but for some reason is not needed for I3C because of something > that differs between I2C and I3C, then fine, by all means ditch > the explicit bus object. >=20 > But in my mind splitting up the devices on the same bus between > several of our own masters and then not have a single object for > the bus is going to cause headaches down the line. Be it address > clashes or trouble with master ping-pong or whatever. >=20 > I think the reason for i2c-demux-pinctrl is that some (most?) I2C > hardware suffers from quirks and one way to work around it is to > make selected accesses from a different master. I expect I3C HW > to also suffer from quirks... >=20 > Maybe a bit-bang I3C master isn't feasible for some fundamental > reason? But if it is, then I'd say that it's just a matter of time > until someone finds a situation where such a thing could be used to > work around some I3C quirk. And then it might be too expensive to > always use the bit-bang master for the affected device. >=20 > But what do I know? Don't let me hold this series back... Thanks, Peter. You nailed it, the I2C use case (and its limits). From what I know about I3C, bit-banging doesn't sound very feasible to me, so the situation might be a bit different. Still, no one knows about future I3C use cases and HW quirks. This is why I encouraged the seperate bus object because back then it was said it was easy to do and implement. If this now becomes a show-stopper, we can surely re-decide. I am not strong on this point, it was just something which would have helped I2C. (And for that matter, we (=3D the Renesas Upstream Kernel Team) was discussing something similar to the i2c demuxer for SPI, too. We have multiple IP cores which can do SPI on R-Car, all with their pros and cons) --buglsqpmzc2gtcib Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAltRtXYACgkQFA3kzBSg KbbC3g//Qw+XT9Q0C+cSSYBwENIyyKVec3nsbrnekmC6VqMsApKNsdiQQUhkS7pe VFvc/3SOfmOhL791jwZ63MPvhhG00mGs1xL1jsoDql0xNcnodTbOFM61iIhJQQs2 uCr1xqHtQotCuUm3B1wcd4a1+adZePRwmT7o5jQL8jbPQBMZJDea/NphOEq5ewAI rN6/P+CynS3NL1QaHV3fZKTSzd/vkWjDRXj19maT0FLyGfOvA5/hMtj0XQzfgJI+ iArvUIX8fZ7lkCPia/3tjsMkwpgCMHlbdWKsysbFl/Zr1ocVT5IappqbolvfZTwX 4QXnOtjEDY+AOfjrSXXlsjaFgnVqX+wFWk9MSpQmL95Yy2JImdjt50wUam3FPHFJ sjCDfyu2ueefmzichetpDG0gu++kJSIRis0jOgsB2BVQ0Ak0Z6yvFK7rzHNssB8U EXdS302fj+HV75O7H6ynN1dmBk4f5Xpw+X/3i6IQ3QUIAReVgc7s6JRq+3/Z0Npb tNXjYUROJN4PZr1XqOC/8nMzEe3A2s+q5EkjBHUko1rfyq7vo1KqN5HkEjNlYwbR Cf6ksivMfiWHHts94f6EhDTxMnWbkKdCR3ZfxSKQtXcVnh4MyZNAQggcszNmHhXz iMymQYq7uYzAq1McBTP7vpBGzOK+kzwHZzcWl4y84AlaVP1oRbI= =o7ro -----END PGP SIGNATURE----- --buglsqpmzc2gtcib--