Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1819954ybl; Sat, 31 Aug 2019 02:53:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO+W8mpuIErrEUcPKwf8xTR5jY6jEPaas2/zxsFUdlVnvUjhSDlJrqaemeen8IosfcPXsh X-Received: by 2002:a62:2603:: with SMTP id m3mr24207832pfm.163.1567245238020; Sat, 31 Aug 2019 02:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567245238; cv=none; d=google.com; s=arc-20160816; b=dI0yU8x265bsr74XdXBk0ZU8QPSnKqveG+tjv03ujQX0ajTMx0I8xqrnCprV6zt7xn IdYoZqg4SGMbrbzRL0JDxLzYL0fHzOUIeAB1ZsP3tfmD4/+Wfgz6uzejtfxhaaFVLemQ N9IFuApIibiG/vDaIoDDvnpkvWKxJlaWI/h6fW+y5JXxhqWI+15+WxzTEkLiAnSSUN6c IxI435JGekVAbYe3RVskHVtKYaJ075gbyV6UKzASSmNHugQXHkIKaqV5qBGNy34V4rXm +wBpgubQx7W36z1ZGDSS4ms7dWJL7ef6RZuzgfRSOUdpV9x21xVTM7mj6FQq8nKwpMPu dIdg== 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=39pEPjuhH1EuU8PzQgsWVUDFtfkrF1eaAESvPCExmes=; b=1AhNKl7k64m33j4n8HZb+Lmuwj50Ylr5C7gZ3k9sONb/ki0SFV3Og/4NymJ+yYum4o ISrpPidabE6uNKyVetTGUL/gic4+uBVLB34P/dDVcI9wbs3ArKnl1m0hu5m2iRPhEy58 blsVLPeB0FDpwn+Th+7pq5/SbOu7Oqje4jmbxeXGOlTHbU4PHWWt3xzoMDtQjsUWY4pL VeQRJGOH2IM6tuCMlamEhqhJy7i42zBYiEBu/qPVcgccGf1Kyw+Jt1H4vJhnM7LE8Xk/ YjiNtgXEGjN7IY8whBvZXGb2itwlWGxF5XbhQ48bgDtOio+0rOk9Y+1cSa3z8NUXqW4I ivRA== 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 l71si6429785pgd.314.2019.08.31.02.53.10; Sat, 31 Aug 2019 02:53:58 -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 S1727298AbfHaJto (ORCPT + 99 others); Sat, 31 Aug 2019 05:49:44 -0400 Received: from sauhun.de ([88.99.104.3]:36442 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726402AbfHaJto (ORCPT ); Sat, 31 Aug 2019 05:49:44 -0400 Received: from localhost (p5486C98B.dip0.t-ipconnect.de [84.134.201.139]) by pokefinder.org (Postfix) with ESMTPSA id 649852C0093; Sat, 31 Aug 2019 11:49:41 +0200 (CEST) Date: Sat, 31 Aug 2019 11:49:41 +0200 From: Wolfram Sang To: Ray Jui Cc: Rayagonda Kokatanur , Rob Herring , Mark Rutland , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Lori Hikichi , Icarus Chau , Shivaraj Shetty Subject: Re: [PATCH v1 1/1] i2c: iproc: Add i2c repeated start capability Message-ID: <20190831094940.GA1138@kunai> References: <1565150941-27297-1-git-send-email-rayagonda.kokatanur@broadcom.com> <20190830125626.GC2870@ninjato> <3e70fa7e-de13-4edd-2e17-b7c56e91d220@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <3e70fa7e-de13-4edd-2e17-b7c56e91d220@broadcom.com> 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 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ray, > > With all the limitations in place, I wonder if it might be easier to > > implement an smbus_xfer callback instead? What is left that makes this > > controller more than SMBus and real I2C? > >=20 >=20 > Right. But what is the implication of using smbus_xfer instead of > master_xfer in our driver? >=20 > Does it mean it will break existing functions of the i2c app that our > customers developed based on i2cdev (e.g., I2C_RDWR)? If the customers uses I2C_RDWR (and it cannot be mapped to i2c_smbus_* calls) then this is an indication that there is some I2C functionality left which the HW can provide. I'd be interested which one, though. >=20 > 1) Does Maybe you wanted to describe it here and it got accidently cut off? Regards, Wolfram --AhhlLboLdkugWU4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl1qQrAACgkQFA3kzBSg KbbmbQ/9E9Ts1/5jZMraYl7CNxsXtWMbdSUWQFyuZDJGvO7UvZz9v7O0Aq9ct/MB mMb4lMVP4lLM/y1DMpVmoYoqVXyKPXzvMzGzsB0CMCs5e+XCbWKr1yCaDCLv0/Js HNbEe7PC1fuNz/YklNtYvHEe1LjSxf81lFWoLDFGPZ4FkSDcbUAZQkUfe/VpcKbc VVhYAQucc6GrBoJ12UMRSWSf3diIkR0CBqKhALZXCnrSLx9cXtTuqA0k7UnN9Piv qPZs/I20tTu52RCHXTpjnwFpWMLNuswRIoCWcMR6Vl1Ix6v0TB4NiUpMStk4Pw45 KD6hdZSPBtFM4uQ04M7wbVFR634PF4mQx7wts+VjFXBe6rxEASwpIq3dMtxVFWgs GwZ2tyZDQBT/jqdJi2QyUsKw4UW2R7su3D3+/idNTtoT1JkqwAfsFix283Bcbees Kmx1W32dzB7p2G0k2vCWmNWx1CI+Mf/K16H0n2ffyD/5t4vCME7kLeIVcqkYNF7l i98hRkYVJm3iecvg2iVr5/y6a7T/V248YJl59WTs7ycb3wqZJib5hQDOmMKeZbmS DrKSbdHwlistLsHnatTQxOz8vlHG6ufoAXBy+x3PXs1b+HD21Zh94ugVqgoOHoSm xqIQaulWFBYVg6xi2y9ZyEPyKo4KEwBBmNFs4eTCPmSgTvKT3lg= =mcNR -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--