Received: by 10.223.176.5 with SMTP id f5csp4113732wra; Tue, 30 Jan 2018 02:17:14 -0800 (PST) X-Google-Smtp-Source: AH8x224MuJtd7yQsqwLOvWopdxc6WokPUoBk1wCRhqLa/ut8VuIE5R2ka72xZTfrIGkn2RVJMKwR X-Received: by 10.98.202.84 with SMTP id n81mr29592698pfg.226.1517307434103; Tue, 30 Jan 2018 02:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517307434; cv=none; d=google.com; s=arc-20160816; b=AYvt9ES3KepQ3g3FPkiRA4cTExi75bJy7sw13ZVogT4t3azUxx+HE+reEjkmUGpCPy U+D42XKCAUPZrkg9Px67HSPjXnOkaUvvMie9RhB8cZevpX3xkfJx3bwe7781Qbv4d5h3 RPz2gWbFwqUPrGXzneo6oo4T5r5bNDE1eNWem4bwT4L66X28aWkAiOd7Pua4fRfrhvVp evorEHoFLNKjq+2gDwhTvf1wJZ3ATl5Q/lu9hg1jsLt5jLc0YOEN6WIgUUGhEeHvwN55 igxeSDm6IG74nH0xwFs0l1a7m3OrxuBop66EvfOWyap3g3oUmdEMaLpy461OkKHvSIjb UhFA== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=7g3Yt2XsdZQidSI+rtG4gRMgXCaCLUqPWZfmfOVZAfk=; b=UlBRLVgREFOTMiU9qrfcvBcp7rUdaaRVbybhGDdTPT9MXZJxDqiOE5ZtL9phZovwP3 xC0iqEYbIaAmN5blmoeCPTuAimu8Y3Ak5PIMGtuccMmiwmZhMwK1JiQZVJ36yH/ovLYO 8TZ/fPkXtMoPNNvKPVRaOAl651fKKKQAfaUGMuL1ouis3JCmTt9+lB/bv0WEchMi54TI ywJ4NRr9reMM0u6H6i0Z86duFd3x+Mczq//hHwwTevQB+X11sClmvbiADevBgKa1LnLz HMZ84johSP1pXC6N3VtFTRghpX3qXVLgbo6V2fpI56OnijasQyp2t3kZjv6KQZIj3TlN NS6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z2bWMlc4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s72si1111633pgc.149.2018.01.30.02.16.59; Tue, 30 Jan 2018 02:17:14 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Z2bWMlc4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751643AbeA3KQC (ORCPT + 99 others); Tue, 30 Jan 2018 05:16:02 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:42568 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751411AbeA3KQA (ORCPT ); Tue, 30 Jan 2018 05:16:00 -0500 Received: by mail-qk0-f193.google.com with SMTP id k201so9386133qke.9 for ; Tue, 30 Jan 2018 02:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7g3Yt2XsdZQidSI+rtG4gRMgXCaCLUqPWZfmfOVZAfk=; b=Z2bWMlc41QGiTI3e3BtRSnmDFnB2yUzQS/EoTUopfvQ5KZ3Qze/q+F7Yebcg1AhGro 6fd7iWuI6efe7vbz2Wvh/2MNrBxPOb4zX932XfEvmjr7JT1/XNajGNc/XInrn2cZ06He oXqfYo+u/RB+jE9rbvo3dZ4POgv2xPZTZUKrA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7g3Yt2XsdZQidSI+rtG4gRMgXCaCLUqPWZfmfOVZAfk=; b=KsuKpiBxRhvFzEAZRvdM/eNPyH3qAX9crZKK2uZVuRCw+SJLwDpKkWJzsj9qXmZvQ4 dJlgOGfIlXKZ5rLJd6bgO04k9TSyetj7RxMb/3OBRV/aZ80qSWcoJqHADlgJQRq0hAcK mQ1YPje4dMdvzunN0pfUAB61SoHO3/fjdUtwnH4Y2bOOXdDMHNbvQjBd2BnjKQWy51NH 0D3k+C5ikHsEkWK7X6bETlx4ukLrwb69t4hKbIJlkWMhGfP29pIGskF2xKMd5ngBq870 0e/tdnw3f5gS9NhCHSxnJtFjaHsw+JdrKxC74olPpH9lZwVMkUxWeeAzro8jUMj44A9y rHnA== X-Gm-Message-State: AKwxytevJgz0j4KHtwyN9C/a9AucoLxmlHEHImLSapZzcgmAwLxPalW4 xC9RyN3URsOhmtnLCvUzf3UieEyr62GP1aX7S0/U/A== X-Received: by 10.55.22.29 with SMTP id g29mr41770162qkh.26.1517307359534; Tue, 30 Jan 2018 02:15:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.82.178 with HTTP; Tue, 30 Jan 2018 02:15:58 -0800 (PST) In-Reply-To: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> References: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> From: Benjamin Gaignard Date: Tue, 30 Jan 2018 11:15:58 +0100 Message-ID: Subject: Re: [PATCH v2 0/8] Add support for PWM input capture on STM32 To: Fabrice Gasnier Cc: Lee Jones , Thierry Reding , Rob Herring , Alexandre Torgue , Mark Rutland , Russell King - ARM Linux , Maxime Coquelin , Benjamin GAIGNARD , devicetree@vger.kernel.org, Linux ARM , Linux Kernel Mailing List , Linux PWM List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-01-26 16:11 GMT+01:00 Fabrice Gasnier : > 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 For this series: Reviewed-by: Benjamin Gaignard > > 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(-) > > -- > 1.9.1 > --=20 Benjamin Gaignard Graphic Study Group Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog