Received: by 10.213.65.68 with SMTP id h4csp3652085imn; Tue, 3 Apr 2018 08:32:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xSkpOxq74sagovyXkouo7I7vcYUAkwGAqiWdIPu3VwhcraLMzOtih3v1sqhDdGYk3BdeM X-Received: by 10.101.78.142 with SMTP id b14mr4714527pgs.406.1522769567034; Tue, 03 Apr 2018 08:32:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522769567; cv=none; d=google.com; s=arc-20160816; b=PTRtx6PBnXC+4QLNFRGHy5Ov3qGabA3WV6qa+qkvpT1LSMKP8wRunBgNlHKXjepbgM YNyUr/M7HsObz4q0y5TOTXLQYKCMn/nS0fsWJR5UUml266r5AK9V0+WjM93aDTz4wV67 VHSoa/P08ORbDfboqDVcGMvhEoK1ETQIShJaK0YeoB1dRlbHEG5g4mXguFoBoZXXgWLt EwCr9WaDxnC+sU+wq9Z1mKHAkGLfCxIPTMvrsmXf27KdVUKrJRdxfDddt/Es1CzV8Wsw AOox5psxxQj/B255yH8xiQij0L5GyL1hdMRFOl+IO5y8jGr6dfm0685Vrvrq8PNQKfL0 Wt2w== 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=OBEViLPK8poCyatlvX4FKQRkUCrC013zpYRa6V4S92Y=; b=Y5pR0tnzdewqr4J2YkVx0bDDqdo+8GTqUccl8F8pE+UOT0ffY3G5++Go4WWgyBuNXd alvQe93PvaX3pCVkI+Mf++tKExloiw6TZ/hZFeSnmVqVBpyNIfzSfkdOOot/d2nxU9ko cOwg6vfQk3IlRR1vyN1l0hsz4qGFSTCoFDhzGv/OTPqzPYYg6i0Z+OqcI3Mig9dZSdSK 78+JrkVibvK/guQ43Y0c29fCKMO4Lzm+t9hg879KtDYix4BlqeVthOx7NWxsdOXOVEM0 xvnplCjDvvBRgpjqKxgZI6uGrWUD1rkiXDY0GwOxUIFP3EwJ4v5+aW6Crp/Gc7sJjdnH fr4Q== 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 r11si2351773pff.160.2018.04.03.08.32.32; Tue, 03 Apr 2018 08:32:46 -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 S1752377AbeDCPbZ (ORCPT + 99 others); Tue, 3 Apr 2018 11:31:25 -0400 Received: from sauhun.de ([88.99.104.3]:43234 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751461AbeDCPbX (ORCPT ); Tue, 3 Apr 2018 11:31:23 -0400 Received: from localhost (p54B337E1.dip0.t-ipconnect.de [84.179.55.225]) by pokefinder.org (Postfix) with ESMTPSA id 911192E75FC; Tue, 3 Apr 2018 17:31:22 +0200 (CEST) Date: Tue, 3 Apr 2018 17:31:22 +0200 From: Wolfram Sang To: Pierre Yves MORDRET Cc: Maxime Coquelin , Alexandre Torgue , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/6] i2c: i2c-stm32f7: Add initial SMBus protocols support Message-ID: <20180403153122.ux6hnnmexwmq3soz@ninjato> References: <1521650940-11651-1-git-send-email-pierre-yves.mordret@st.com> <1521650940-11651-4-git-send-email-pierre-yves.mordret@st.com> <20180324224911.xz3fz2jojcdrovb4@ninjato> <2fadcd7f-3bfc-997e-a30e-808f6d854f2c@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="56erioblcg7mp7u5" Content-Disposition: inline In-Reply-To: <2fadcd7f-3bfc-997e-a30e-808f6d854f2c@st.com> 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 --56erioblcg7mp7u5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >> All SMBus protocols are implemented except SMBus-specific protocols. > >=20 > > What does that mean? >=20 > It miss SMBus Host Notification and SMBBus Alert. They are almost ready b= ut I'm > struggling to put them back to operational state after recent changes rel= ated to > SMBust Host Notification. A more "classic" interrupt base solution has be= en put > in place but I fail to use implement it in my side. > Another patch set is going to be delivered for these 2 commands. This is totally fine to implement it incrementally. Please just update the commit message with the more detailed explanation above. > > That is quite some complexity considering we have I2C_FUNC_SMBUS_EMUL. I > > don't mind, but you really want that? > >=20 >=20 > All SMBBus commands are implemented as such. I never try to emulation com= mands. > Should we use emulation SMBus commands or real commands... Don't know. You won't see any difference on the wire. I don't know your HW. It might be that SMBus mode is more "automatic" and uses less interrupts. Or stuff like Alert or HostNotification only works in this mode. If you and the driver maintainers think it is worth the added complexity, I am fine, too. --56erioblcg7mp7u5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlrDnkoACgkQFA3kzBSg Kbaa8w//W/hT0ITcBW6N8zC3a9Rp4e/q0ZWUP+89RbxYKkCeHRm+GClsF2dapEa1 HIsIJwlXfEOoIqb4Ryqx78J7xAezNzYznnIGMRdIQgws7JwjIpfrQYwxdSB7Vr32 h4uxkrMOitRHoZylarwk+uGtFnH4i89TcB27cZBo3Vo4Zr0mrCSV94gk/lTjP8oC gkEyUvyIbeBN45DSsqyW9e1M/xY/aFVj0EYfwDX41yr1IfIsq11jXUqtv9doH0Bn xtGEKzfbaZM+VnF37EGATqWEPjsLz/LuFNQBzAzdc7o+KHGW4odCvAzRbnLeGZWy wHApv/JeibFDiAhIfnZTQfy3bZd1KR/GpHS4XkAXVPWE3f7f2Ooyd5tLL5hFlsKT 9jYs+yQup+LIhwytcS/o/zo+zP0ycn/tMlOb+i3mNb+E2bIg+elvoHAKO1MJKBb4 zJRWGXnERVc/wAfPlzB7fpzjvFLbKNvankyUR4bI7XjjW8JlThkH/IlfDhnwH7Sp m/Z3G1M3tpx3HtRPqgoykGb1Xz6s5BfC91YOI59RCZ0W45KmHgYaoYtQfPxRVGFG Q9MdqrqCjxDtkDceujUuZZL6xsIDQG/AdeKhCK0g219KGpZAoobT7qX7Be7A+pEG pXtg9Azny64XZBK3cl5L16LlD6Amoz8NMYoOCo2J1UqH0dS00wI= =F0lT -----END PGP SIGNATURE----- --56erioblcg7mp7u5--