Received: by 10.223.176.5 with SMTP id f5csp791061wra; Wed, 7 Feb 2018 07:36:56 -0800 (PST) X-Google-Smtp-Source: AH8x226LF6OeKRw52yx0G9uaOxZwr6gd5vkUKE+b0XycwPaxW+mmezSQzdpPAR0Kl096KZEeqCtX X-Received: by 2002:a17:902:8e86:: with SMTP id bg6-v6mr6606950plb.402.1518017816519; Wed, 07 Feb 2018 07:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518017816; cv=none; d=google.com; s=arc-20160816; b=UZ1it2V4F4T5Cmlg9e7qyTvShyCcqURebiar13Z1Zfu26viHs1noaW9LDvh+RcI73P 2pFPpuvW0CSv8UW5a17Z5FVFQmR4+g5ASndYiFbwA3vdbmJVmTVQXtNKRpf2rvh/Z5+T Tz1XUY/yRymlSCpKEpAByd/Dv+kbyN1R+v6tQaWC0YAjbFuKIBEmCb+oZj8TP5GhzDp+ FCcZxwLoRr0Mk7eQujyH+LJKh750OXQDInbIQ9cOv3FJzTRG3dGCHg0+R07Vv/atvBRP VLjIm2a+CjP18we8sW2A5RLdfI9IIfrPuBGoiuKhQi+29gN9QFuwgsi1pN9S1OQZ+Pkp pLWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=5poG5sQR8E5waA/ktXXH5MGxo9YTMn7xrMGkApBt4iA=; b=C6122a3twupJklBHD4jB5epdqzusV88e8LBVraiyQnr0zvbylmHpvqcXLOlFuMUgdr INp0NU+XD/Lcfn+RXd2ASt2xSUKVtPJdfS8I0wMpEl+5QQK51uVvNsEB4b57iIjLNzXd zDXNDzLAJmFlp3I2jK5sCbD2obAt9eCaTNrTN9BbboaIS5n8dq+Au+Wphfafvx4kylHY BOfDM2X7xjKAgET7noevlVeom89I6AIWa2dtbdD4z8Ua9y1lxUqfKbEfRfhiapobnXPP gil/DdQ7wftYotvo8tFrzzfD8/xpW82mq+PR7bAudncMRXoA0JH2/Lc72OYC8GNgnDdA /Blg== 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 l6si1078407pgp.5.2018.02.07.07.36.42; Wed, 07 Feb 2018 07:36:56 -0800 (PST) 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 S1754577AbeBGPfm (ORCPT + 99 others); Wed, 7 Feb 2018 10:35:42 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:45399 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754506AbeBGPfl (ORCPT ); Wed, 7 Feb 2018 10:35:41 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w17FYON9030120; Wed, 7 Feb 2018 16:35:26 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2fw3qwwn87-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 07 Feb 2018 16:35:26 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A91553F; Wed, 7 Feb 2018 15:35:25 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DFA2B5780; Wed, 7 Feb 2018 15:35:24 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 7 Feb 2018 16:35:24 +0100 From: Pierre-Yves MORDRET To: Wolfram Sang , Maxime Coquelin , Alexandre Torgue , , , CC: Pierre-Yves MORDRET Subject: [PATCH 0/6] Add different features for I2C Date: Wed, 7 Feb 2018 16:35:11 +0100 Message-ID: <1518017717-10351-1-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-07_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Append new I2C STM32F7 feature set. This includes 10 bit support, slave support, SMBBus protocols support, DMA Support and eventually an I2C recovery mechanism --- Version history: v1: * Initial --- Pierre-Yves MORDRET (6): i2c: i2c-stm32f7: Add 10-bit address support i2c: i2c-stm32f7: Add slave support i2c: i2c-stm32f7: Add initial SMBus protocols support i2c: i2c-stm32: Add generic DMA API i2c: i2c-stm32f7: Add DMA support i2c: i2c-stm32f7: Implement I2C recovery mechanism drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/Makefile | 3 +- drivers/i2c/busses/i2c-stm32.c | 153 ++++++ drivers/i2c/busses/i2c-stm32.h | 37 ++ drivers/i2c/busses/i2c-stm32f7.c | 1047 +++++++++++++++++++++++++++++++++++++- 5 files changed, 1214 insertions(+), 27 deletions(-) create mode 100644 drivers/i2c/busses/i2c-stm32.c -- 2.7.4