Received: by 10.213.65.68 with SMTP id h4csp470922imn; Fri, 23 Mar 2018 08:28:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELun9aMNFQ5KhulGR0Q5N5uhyxLXQIi0jTWhrwMFBrAwhdFnk6VuDl2Z/tAEX+tZCMFScrhY X-Received: by 10.99.165.66 with SMTP id r2mr21419087pgu.452.1521818925996; Fri, 23 Mar 2018 08:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521818925; cv=none; d=google.com; s=arc-20160816; b=VsADb0vykzicvVFlTQqAClxiJRsCIkXb0QgJNlcMiocjXm36UcUnhsAlpfDQFwurzs B0K1yfcOmjFv44NpOLBqOY16YrY28RVj/uBiUjngzc0a5n3wSaZOvfTVDMq+ZvcC/QeN Mz/1rhscqbSUoukOF4xXKcnAnYhfEWFEol1Y6FfRH5BZNVabOf6vos/FA/2FgPmSl5tR DwJ9WcA6UhJd02OrnejzHrjoY4QHiCY/75x8DRekMGCcoKj3NnYYxN2iWEk50t+2pwMQ 2Z0NdR/FAWHYHo3JILdXTQAseYxXf3vk/cwz4wY2hpZ8gQZMUG/50FXxG3xk8bNyiee3 5IHQ== 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=ZvJZSfgJwPLsRDmMnceMXjoLEeqS9dEGImwiHVvOIXA=; b=s///UxtdyXXETUugVfpkvuNly9ND3GPXSz2ZBw/80MWrXlEuTh4khN+XnGN0a68jbZ 8s48UG/yHi+c2wTjT1eelUJKLnjr9EAnuM7YnqIn7T67ByqX32v6ovYNOiVQzttHjQ4o 5lLCfZvwQVBGY5NpJ862ptdvkzR9ld2Hkzxc/IdU4ZFU8T+9szbu3r+vWbs3wbZHPaGY HDCxe/TWxQBBzY4YlVaXkfkGeXODuk7waasN6AKckTcH5ueagqXFQfBsaLqoEaIDMVdO OVs/5F+5TgGnp/a1f01R7iHryFLc25PA3VFJTAMmKxOdt7CQfioWrIY1/vhqnPZRo0xo s/dg== 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 l4-v6si4422958plt.190.2018.03.23.08.28.31; Fri, 23 Mar 2018 08:28:45 -0700 (PDT) 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 S1752101AbeCWP0g (ORCPT + 99 others); Fri, 23 Mar 2018 11:26:36 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:40435 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751686AbeCWP0e (ORCPT ); Fri, 23 Mar 2018 11:26:34 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w2NFOJCc014980; Fri, 23 Mar 2018 16:26:09 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gv69q0qg8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Mar 2018 16:26:09 +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 0A86431; Fri, 23 Mar 2018 15:26:09 +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 D359D2CD3; Fri, 23 Mar 2018 15:26:08 +0000 (GMT) Received: from [10.48.0.167] (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Mar 2018 16:26:08 +0100 Subject: Re: [RESEND PATCH v2 0/8] Add support for PWM input capture on STM32 To: , , CC: , , , , , , , , , References: <1518602679-3064-1-git-send-email-fabrice.gasnier@st.com> From: Fabrice Gasnier Message-ID: <09924ca3-f478-301f-b82b-1db03d31efb4@st.com> Date: Fri, 23 Mar 2018 16:26:07 +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: <1518602679-3064-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.44] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-23_09:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/14/2018 11:04 AM, 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. > Hi all, Gentle ping to review this series, since DT Bindings has been reviewed by Rob and the series by Benjamin. Many thanks in advance, Regards, Fabrice > --- > Resend v2: > - Add collected Acks > > 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 > > 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(-) >