From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5360BC433E2 for ; Wed, 9 Sep 2020 08:41:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6957215A4 for ; Wed, 9 Sep 2020 08:41:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="emBsRRpO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="woc2gl+8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6957215A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1HAlTIRJ4B+jhA9kUSML4XjBZi/TW91Az+PNg6b/1/E=; b=emBsRRpOOwIqaqTxQ5+rBC/5f nIysqnZJr827ygIlLS0LQIVboIrHupJO3rjqw6j/y0mjMkk8u9HOqcbUFwmI1GIubbdNGDhojTqeX ceXzUNgxae6S4aDs6nbVz9o5d9p7lbinsRatpxsSNA6lqZMCK4B+frUUJnfvCDqJ6SGc9cD+xkJWd XXUNBDDu+N1cp+ZajROPLCXz6YRBVthLsi4TbxnpyEJ6Tlgmy2YgGj8Q+hmCn2SN6z7f/WJcl1rM7 BWAcCLr3ULQZxJQnNcmBx+Qz9WazUI8NrQw73x218BPQ5iSKjdxh/O7H/mJlEIUhA3beo3G673r2P xeAbiH9Fg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFve1-0006uK-39; Wed, 09 Sep 2020 08:39:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFvdx-0006tV-TL for linux-arm-kernel@lists.infradead.org; Wed, 09 Sep 2020 08:39:54 +0000 Received: from localhost (p54b33098.dip0.t-ipconnect.de [84.179.48.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 79E3B215A4; Wed, 9 Sep 2020 08:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599640793; bh=8XEwCJdH8trsu8T/gd+RIVCXaoeI6Ibj6+vvgipWRxQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=woc2gl+8Zg8c/9HA+Wat8GGHtledWTXvxjTv7NNC9uAThk6RzMNPqN3xfKtFj9rGu BBkFOqf5ZRa6AQxXLUODCMfsXH8k6nox45Fc4Vcgm4aMnXMeLP8t2XXKMvFBdv7J9t JbVmPWWYEbIzvuy+b2hUicWkq0fqqgyPm+Kj57v8= Date: Wed, 9 Sep 2020 10:39:50 +0200 From: Wolfram Sang To: Alain Volmat Subject: Re: [PATCH v3 1/2] i2c: smbus: add core function handling SMBus host-notify Message-ID: <20200909083950.GF2272@ninjato> References: <1596431876-24115-1-git-send-email-alain.volmat@st.com> <1596431876-24115-2-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 In-Reply-To: <1596431876-24115-2-git-send-email-alain.volmat@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200909_043954_027974_F02751CC X-CRM114-Status: GOOD ( 16.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.torgue@st.com, linux-kernel@vger.kernel.org, pierre-yves.mordret@st.com, linux-i2c@vger.kernel.org, fabrice.gasnier@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============3179503527532282578==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3179503527532282578== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="27ZtN5FSuKKSZcBU" Content-Disposition: inline --27ZtN5FSuKKSZcBU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 03, 2020 at 07:17:55AM +0200, Alain Volmat wrote: > SMBus Host-Notify protocol, from the adapter point of view > consist of receiving a message from a client, including the > client address and some other data. >=20 > It can be simply handled by creating a new slave device > and registering a callback performing the parsing of the > message received from the client. >=20 > This commit introduces two new core functions > * i2c_new_slave_host_notify_device > * i2c_free_slave_host_notify_device > that take care of registration of the new slave device and > callback and will call i2c_handle_smbus_host_notify once a > Host-Notify event is received. >=20 > Signed-off-by: Alain Volmat Applied to for-next, thanks! --27ZtN5FSuKKSZcBU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9YlNUACgkQFA3kzBSg KbargA/+Mx0jnagcE3Z5BZha8at8CzPwiC7r5rtL8V3E4h2lUgCjOzXnDoLgpWZu u6VY2U7RO1n86oOlzzT6yQ/SDT5LouaGfs5ytpMn20A8P5H0zORi5vHERmTHeJ/J JjLuhD+2UrnFAVGLhylRNl66/qSMyV22aSSKMWVDvBbj7X9bktLg70QhimmJWFf+ YW9HY2N3eot8+KgqiB6asAACGdNbCUMy/gYWv5ZmvTE7f9fPUdxFVcxKr0Eueg8e a7o9tXRMf6Wpa/Vz4U/KXCX+Kqwz6cdWwWLqNWKkoFXR52AWML+hQ1eo4y3G7lJK JqQ+kR2FwaH3t0xuc4tjtAcI2sPWZEjcMFJ9Bvje3ms/NcX/KHtlzPlXO/OJcC6b omu0QLVcgeDmIVn3d9LM45nSkOqwt+ZQKYdu6ZzlR0l9DhVDVz2ma//4iZpQ3wBL 5euK8TGjlA1I8KkKOEfvV9xoZrazaUj3EUf38ujAtV8RPkglluKxQIkpDitNSvAB SCD5UbcFYDtLLXNCGuxF6zAgc5OlIxDCxTDlyWt26WgSFY+DKUP+ZDfbdbyU2gol 83CZMVihVcfsTFbDFSvznACXuQS1X8ziVZ/Pn3mfWCMBkmH3Aosca7T+iDXogV2l w7zQxNCJI9VY1913TCeHU4SHSJ/I8YFBYmKqlgLs6zxrsRI4UPg= =i7Ml -----END PGP SIGNATURE----- --27ZtN5FSuKKSZcBU-- --===============3179503527532282578== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3179503527532282578==--