Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp158119pxk; Wed, 9 Sep 2020 01:40:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyieJli3U5kbTuf0QqC7HU9ezirsv554tT6c3uuXNy7Q+lYrcBNxRnS7sYca1YdAvlInqWf X-Received: by 2002:a17:906:2962:: with SMTP id x2mr2522986ejd.188.1599640849631; Wed, 09 Sep 2020 01:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599640849; cv=none; d=google.com; s=arc-20160816; b=Tqb40DtTpzsb7ggTpIEe09mU9D4YrKObUtP2SpP5x+uO7UiWqcVppap2az0cKbvCVH PFhetEblRCnHUNUsjpWtytZiH+CZ+D1zbL3pHZViOP79ZA0+5UnQioO1k38VEFrn9O53 m3c1sNVIUXERHabwh+TBiMZ2+aVPJ7lC/P1JcuhQ0fphm6jo6cQ7yuVciZcXYgfuIXE/ hEO4qrdKmBoZsRh8eiNmTa1i1IA4MKakOcEJEI+I0C0liHKEVSrAKyr3wwZAVCcbKf1I P15GXQExm2/1+eKjlbQuv3mKsUp/aZv23hMunFdoYxfsreimKItzaFalR+vR6IpTEgQQ 3zVA== 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:dkim-signature; bh=CZemXfRxfLJDxwTfgNs9zq3T9mJIrc5s5s+rOZd4NnU=; b=iP3LSAkYeIcLRL1ydLvlTs73P0gQBxjWjl8BpdejdGFVsRb7gC5S9M5Mu8J67RPadv wq7JDUm4wRRLojdaNajo17rX51bvO+8OAAsvjeoCuSvZiaIb9ux5S2DcIoXRndMHvWH5 x7W7jIGwCXryDGS0ciB8G7Ly9EGEYS1siFwg8yzyHiGX0uDflMb3DRSwms7AA/9hte68 hmmCiMS4QsW/leZ6H68BdSwuBxGWIrJ6AVcbLmXvDJSfkY9wVsb35VyPsog4Haw9k4Ag m7VdWfpXS4ln81kUU4oPXDd1BrYDlpIr29V4LxsUIPcuBVfms+aNw24ju0yul9Xb28UA ROZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=woc2gl+8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si1190410edj.203.2020.09.09.01.40.27; Wed, 09 Sep 2020 01:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=woc2gl+8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726726AbgIIIjy (ORCPT + 99 others); Wed, 9 Sep 2020 04:39:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:34624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgIIIjx (ORCPT ); Wed, 9 Sep 2020 04:39:53 -0400 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 Cc: pierre-yves.mordret@st.com, alexandre.torgue@st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="27ZtN5FSuKKSZcBU" Content-Disposition: inline In-Reply-To: <1596431876-24115-2-git-send-email-alain.volmat@st.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 --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--