Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3015898imm; Fri, 20 Jul 2018 08:42:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfe71Puolz26Fm1my5avKS0b06OpzsDShWGwTOeL9eBiQ242L8g04cP5M25gr7FMsTsysSG X-Received: by 2002:a63:455c:: with SMTP id u28-v6mr2617902pgk.210.1532101375093; Fri, 20 Jul 2018 08:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532101375; cv=none; d=google.com; s=arc-20160816; b=uCngkq1voMt9CU73zlwDo55UkAIiv344/ovs96mVBilVC9ISpUoZIuO2WALVFRMCpJ qncIpEHRtJ5AY7fHJ/VtTeIGqsViH6sYkQPHfrVio5brTXlku47quh0GYwxeQjc5HtGn yhOCK0gLik/tSZBH4RZV3bhrYhwHAv/FYDpafmsBgRRAVs8j9sdue5RrKJskIZagyIGu kZhNw9F2KKbdyeWeoj328X4Jaw9WKe9eXiAXpNZNlvFgI7bF3H6WsIO+Nq1uGMX8Pssg dau6FT0UAQ7qUFQ1u1bUUqlCpUUvWLFcb2upyL93SyczldO4iXVcT1hiTyDLoJNcnOwE bAug== 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=1ULCA5Xxee6hZIUt+baUsIglHUOpglHjjZfCo5Hhqsc=; b=BVhmxEJcU9XJMHXiQXHmg7RUmCr+soQDmJmKSYwnitUVPomiGz0IOJ+ynL2YIbcSKy pCy/5dMwhF65B7Nact9yTaz+WU3huhU5j97IXQZyAuwD8MU2tcJQ0mWBSJElXg0yDUau PZp8JXFQEeSD2PgExIp9pwYOSp+KpNBw7IrAruWpc7vF8gV4GkAnaGFHBPuyzNpMuAWX UGmTcat/netB/ZqRtHX5WN3RsrhY2XJDU5Kd42hpbvNCOV5O8v9lt9EtRJOEVh0RvWcg WiZMvZ+/PMqIbssvxGhOS2PonU6EuZYSjcjXZWXepSpWf76RqXs5JH8dOtDYMqGB/BgV phEQ== 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 j67-v6si2100506pgc.186.2018.07.20.08.42.39; Fri, 20 Jul 2018 08:42:55 -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 S2387804AbeGTQa1 (ORCPT + 99 others); Fri, 20 Jul 2018 12:30:27 -0400 Received: from sauhun.de ([88.99.104.3]:57802 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731747AbeGTQa0 (ORCPT ); Fri, 20 Jul 2018 12:30:26 -0400 Received: from localhost (p54B33241.dip0.t-ipconnect.de [84.179.50.65]) by pokefinder.org (Postfix) with ESMTPSA id 2416E5E000F; Fri, 20 Jul 2018 17:41:33 +0200 (CEST) Date: Fri, 20 Jul 2018 17:41:32 +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: <20180720154132.2fwmwpiwtxa73ljf@ninjato> References: <20180719152930.3715-1-boris.brezillon@bootlin.com> <2ab0ab75-2df0-2714-f007-c33b25481016@axentia.se> <20180720101206.tv7nsoanwo5ftnia@ninjato> <21b269c5-a3a7-c5de-c81e-c9c9301ae13e@axentia.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5qjmuivse67kaw4q" Content-Disposition: inline In-Reply-To: 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 --5qjmuivse67kaw4q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > I don't have an actual example for I2C, maybe Wolfram does? But I can > invent a case. E.g. the speedy DMA-enabled master cannot generate > RESTART, which is a must for (re-)configuration, but not for passing > data to the device. DMA capable controllers may also not react adequate to the slave doing clock stretching (which is forbidden in I3C). Renesas R-Car Gen2 has two I2C IP cores. One can do DMA and automatic transfers to the PMIC, the other has I2C slave functionality. One cannot do I2C_SMBUS_QUICK, the other can. And some more kind of quirks. Sometimes you can mux the pins to GPIO, so you have a third option. This setup is the reason the demux driver exists. > Also consider some future HW that has several I3C blocks, but they > are not identical. There's one beefy kind and one slim kind (I'm sure > you can find HW with different flavors of I2C blocks). Even if the > HW designers intended for one type of block to be superior in every > aspect, they might have made a mistake? This HW also has a pinmux, so > the SW is free to route different I3C blocks to the actual I3C bus. So, basically this is what happened with R-Car. Now, I tend to think that I3C is much more complex and noone would put two I3C IP cores into on SoC. But it was not too long ago that I wouldn't believe someone put two different I2C IP cores into a SoC. Then again, it happened when I2C was around for 35 years... --5qjmuivse67kaw4q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAltSAqgACgkQFA3kzBSg KbbN1g//WcDSNStRmr0iBDO0XSjnWhcI+kcUTf8ETxISUPklVAzkORin4E42FKXC soxRpX/m7z5tU5QjHJRq5MFXFp3JShO3kUpofLAhC6eQt60C75Unk48QP7Doktmg Rx4OoWOkNwykZEYglRN1pSjdCzu0kRboRsxpAuUD41YVSRebRdzxwXpgVEUeA9pG W4apNVpmjn1CBxDP9UmM7rE+6hJIUS5tzA0KtRHaF3QoAn2kH1F/c+lHFYaTqSUR WZw7hcyIOky6ylSQShY2OTV4xurZm8Qx84QE0i+DJ9VENTMuhvZisEKlxm5pSelL TGWqDNHe16kxNMaheRP/rZVMlbLosbtlhvRrrYwfoH+1M2tl50nk7rDCqd/EBgv/ KIrCprk6tZeSITJUd+GO5Srx3JYD1Cwj0L9wbt0IEHHj+ZamisgO5VhqqqcXcp0e NXPsp1vcbnoUTNqk7P8yK6UDlhSRoCbcMlQ0BE6hm6qvwYfwLHnLlVnDi9fShsnd m4ielcyEKVvj8VSufzYNuRy3G0FZmujMJJlnaMa/ZqESjfaRquWlhKvpwDyvghdC 5i0VNH1dAJoCyMejMlMFTLc/4+Gew1I6p0pCmfI5NJDLmyTuQQpRk4lA57qHueY4 4hkWptnUuKNTE1+C7xXKj25gm/lnr4HoF+4aT1H6vI6FNT1y8OI= =nV3b -----END PGP SIGNATURE----- --5qjmuivse67kaw4q--