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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 CE93FC433F1 for ; Mon, 3 Aug 2020 05:20:29 +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 A23DB206DA for ; Mon, 3 Aug 2020 05:20:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MXqLbddG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="GYuThUnh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A23DB206DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com 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-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=561tbx+0QB4lpDEHpl8mtvqSi38XdzcTNhZy71Yx2oY=; b=MXqLbddGdYTXVQ9ky/9yrSZVwH pna6Ov/LeBbxAG9GxQemu+DMU5xdM/e73FDIlQeym8d+aq2QuXuw8v41C9zUdFsi0VLYzInwJtkui tnyxbnPQMn1IE7ST6cKdt79vyUAzxa8peRBtOq0KhRH1gFUTBGjLYagIHFCBuzVtdfdLXl1ixsjpg xgHROu1tJ7sZVHICzy0fzZGlCvvJMHeto+UUpWbS1WwHOtnEQbzu273RqP51q/1CzGAbZbKIyLXi2 4tjuMGu7DIHTxUln2s2CqhebFEEwXoVvAmUxqblinyk+FokWnhN1q25qbZl6TAWSK4wl26V09LplF OEC9h2ig==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2SsA-0003CJ-EH; Mon, 03 Aug 2020 05:18:54 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2Ss7-000396-2R for linux-arm-kernel@lists.infradead.org; Mon, 03 Aug 2020 05:18:52 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0735H2xv031305; Mon, 3 Aug 2020 07:18:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=I5RMLhsf+2H/+2z062Q7AViIP2i9l6KE48tTultTe6U=; b=GYuThUnhsjrsn76SrPD+b3L+9ncls2UMnhL9ISWU93U6rfo7esPs5BT8kEOVGYvvQ7Px kFjwEjIwzt15spHAjKg7893He7/zI59++FUy6xt7ZRxWmcA2lEnB6vrs9861/YvJRPiH SQNzvchTtQ60dks7lt8qasxEtGZo4+IYWWkPy7mIBCXY7kyVrgY0cq0tg7Wn72jXYwDV L4f7Qp0HTMMKerlRQsO8uqytmcWL/vntXQ6AARtaH6552vYnVzG4achPMtv/BtGGHbjA MHrghwmdjwfOGiwVZErWq40qaU0XbAdJkdl5xIhDcv7KwBXpZTDT8A1EdEms1QHUC3bk oA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 32n6th4vff-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Aug 2020 07:18:45 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BA80910002A; Mon, 3 Aug 2020 07:18:43 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3184A20F450; Mon, 3 Aug 2020 07:18:43 +0200 (CEST) Received: from localhost (10.75.127.49) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 3 Aug 2020 07:18:42 +0200 From: Alain Volmat To: , Subject: [PATCH v3 0/2] i2c: stm32: add host-notify support via i2c slave Date: Mon, 3 Aug 2020 07:17:54 +0200 Message-ID: <1596431876-24115-1-git-send-email-alain.volmat@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG8NODE1.st.com (10.75.127.22) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-08-03_04:2020-07-31, 2020-08-03 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200803_011851_461548_872A1666 X-CRM114-Status: GOOD ( 14.92 ) 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, alain.volmat@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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This serie replaces the previous 'stm32-f7: Addition of SMBus Alert / Host-notify features' serie to only focus on the SMBus Host-Notify feature. It should be applied with "[PATCH] i2c: add binding to mark a bus as SMBus" from Wolfram which defines the newly introduced "smbus" binding. Alain Volmat (2): i2c: smbus: add core function handling SMBus host-notify i2c: stm32f7: Add SMBus Host-Notify protocol support drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-stm32f7.c | 110 +++++++++++++++++++++++++++++++++------ drivers/i2c/i2c-smbus.c | 107 +++++++++++++++++++++++++++++++++++++ include/linux/i2c-smbus.h | 12 +++++ 4 files changed, 215 insertions(+), 15 deletions(-) -- v3: move smbus host-notify slave code into i2c-smbus.c file rework slave callback index handling add sanity check in slave free function v2: fix a bad test within the i2c-stm32f7 driver leading to decrease of available slave slot _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel