Received: by 10.223.185.116 with SMTP id b49csp398172wrg; Wed, 14 Feb 2018 00:24:58 -0800 (PST) X-Google-Smtp-Source: AH8x2274J6ffl4T9Xi8umKbftnStz95Kt95cBXtRlVDxm07UB9T+AWVaeBd5ZSnXdm53Tp9CRwNY X-Received: by 10.101.78.200 with SMTP id w8mr3301983pgq.43.1518596698234; Wed, 14 Feb 2018 00:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518596698; cv=none; d=google.com; s=arc-20160816; b=DZK4Xfd4jLOgm7nMJAOIntvRkFSdiQ1eilzI/uCRZ/1Th3dm/Vgw6n5N6Mg50MtaSG 9L9c7OuBWDl/F3j6loDky957VKOotXCiMlIErDhgxZXSPS1EGEMx+yUFDcI109poHJso Eqtf8nBq26XfuJblOHUQLH0+obLG3vkGIsYkNkDDM5/V3aPftPnjV9SwfzdrYe9++mT+ +1INio17kA/vSLfGx/tXe7E1OfWNDlV5H6f0l150bUhdaL6g7rnuKQn/WbYafC+lFTgR 8K7A9ca3EoeZcD0f4QdP04XwKNcvKGqhyQr8iKR1z0QX3POm02z408g5wL4kV1cJ1psB QoeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=JntSU8dhzsd5SQEr+RclMMgto184c6iWyoxh1ypLgG4=; b=L3qHGA9t/aEVQZx7UvKodAGL0ft/AaBA133JEmKtvMnCuQroh1lcS9gzS3HTJEDsvj JHd7X2Fc/J7cKYVV+mWP5xNsd9nOWF+LsLxDluPXVoANrRoWZY7mlsf5hwsvdnOU/AeO 1I3bHL1UHFA9Z+x5kSd7SB1VxeU3I8DRIp3KWd/CLsMkpcXqLZ7E6q+CVs8gIWXCbiwy 7HepMHBdvP0dMi9E7GDeZYFTId9iKgjNN5CXEpXkNkDnUVu7mib6uBC+k6hkMMfA8/Lp oGJTCB4z5riARy44bXI06aBqKAKQwcl1JZvuTgd/GRx5X/NCoyYOB9mJJ9P/SdBO0csF T54Q== 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 23si2368588pgc.454.2018.02.14.00.24.43; Wed, 14 Feb 2018 00:24:58 -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 S1754648AbeBNIXu (ORCPT + 99 others); Wed, 14 Feb 2018 03:23:50 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:13586 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754556AbeBNIXr (ORCPT ); Wed, 14 Feb 2018 03:23:47 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1E8E1vf030619; Wed, 14 Feb 2018 09:23:14 +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 2g1q322nbs-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 14 Feb 2018 09:23:14 +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 697293D; Wed, 14 Feb 2018 08:23:12 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3175E25AF; Wed, 14 Feb 2018 08:23:12 +0000 (GMT) Received: from [10.48.0.167] (10.75.127.50) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 14 Feb 2018 09:23:11 +0100 Subject: Re: [PATCH v2 0/8] Add support for PWM input capture on STM32 To: , CC: , , , , , , , , , , References: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> From: Fabrice Gasnier Message-ID: <5ade7f05-f5cc-e272-842c-22effa78b716@st.com> Date: Wed, 14 Feb 2018 09:23:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-14_01:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/26/2018 04:11 PM, Fabrice Gasnier wrote: > This series adds support for capture to stm32-pwm driver. > Capture is based on DMAs. > - First two patches are precursor patches > - Subsequent two patches add support for requesting DMAs to MFD core > - Next three patches add support for capture to stm32-pwm driver > - This has been tested on stm32429i-eval board. > > --- > Changes in v2: > - Abstract DMA handling from child driver: move it to MFD core > - Rework pwm capture routines to adopt this change > - Comment on optional dma support, beautify DMAs probe Hi all, Gentle ping for v2 driver review since DT Bindings has been reviewed by Rob and the series by Benjamin. Many thanks in advance Regards Fabrice > > Fabrice Gasnier (8): > pwm: stm32: fix, remove unused struct device > pwm: stm32: protect common prescaler for all channels > dt-bindings: mfd: stm32-timers: add support for dmas > mfd: stm32-timers: add support for dmas > pwm: stm32: add capture support > pwm: stm32: improve capture by tuning counter prescaler > pwm: stm32: use input prescaler to improve period capture > ARM: dts: stm32: Enable pwm3 input capture on stm32f429i-eval > > .../devicetree/bindings/mfd/stm32-timers.txt | 20 ++ > arch/arm/boot/dts/stm32429i-eval.dts | 3 + > drivers/mfd/stm32-timers.c | 215 +++++++++++++++- > drivers/pwm/pwm-stm32.c | 276 ++++++++++++++++++++- > include/linux/mfd/stm32-timers.h | 39 +++ > 5 files changed, 547 insertions(+), 6 deletions(-) >