Received: by 10.213.65.68 with SMTP id h4csp160248imn; Fri, 30 Mar 2018 03:06:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Z0Wiz45Ioe+6X+dDF/py0m8Zzdj1dJGH0cTZxoiiEuSm0JJ4bwp8SeXFDrcjE+Rj37zRw X-Received: by 10.99.110.65 with SMTP id j62mr4364057pgc.255.1522404365492; Fri, 30 Mar 2018 03:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522404365; cv=none; d=google.com; s=arc-20160816; b=ge7k6TIoMQQjflKNsyFW9F3rzawqWNIK7WU7JCScPeaFKR1Luun/jcVl94EZwQyIUu +ejHrSJj9syjBxBiuQ1ZwNe99RKfLbZKPfqKFZSOZcapZCcpGczbu0JSqJ72xii/6Icg Dwm8Pg/atkFr5u48Gm0qWdOGtwt6Z4usXTjV6zWfachRTr7D/ZdsdEqeHaR4SWyNIiK4 MLpfarX65SNeSmSZcUOybFtfPJXv6TE7l1u1MkW6MUUK4Gkqe/CrFO5NGCAlMppHWjkP iG/1pgAVNd9xkX086Xj3FzkfCYJojdBlFaPn7eCcmSGY1Qif0SJalhMJR53PNgXSQZSi wrdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=9EqkZbtQ4NkT06u0I1hlPxXHMPY+L9chaE4ukw0bCOY=; b=w1xcnJxMbGlNF//fNoibIbdcAYBiQKUC+qvfNo6zic2caYNiJ0j0ertevbbKfq6stB 5trS+z7f5Havg1nFEnATWBamQjjy3JN70ma6pzk8p/qiIus28ZXyF0hEkWztlF/yur5V 2iJX2RyiO1tHXKzArfbSogjy7sIKoR2dJ6T+6/IrItoBJ73+lO2a2Nb34AUfa5/om+Rt HaQwNFDBDSpP3dmrfhWk811GVSxpEPhcvVwr8aA2mdyRuRMh7Egi4q4vg7FpERb/GR6n ZAHwvJdARBWx02EhENy0/1XgTCBT0anECF7WjuI2o4JmmWTNgrmpBZ+9heIMf9ox/7fu bspw== 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 q14-v6si3439137plr.617.2018.03.30.03.05.51; Fri, 30 Mar 2018 03:06:05 -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 S1752163AbeC3KDZ (ORCPT + 99 others); Fri, 30 Mar 2018 06:03:25 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:53192 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751237AbeC3KCk (ORCPT ); Fri, 30 Mar 2018 06:02:40 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w2U9xOgP000676; Fri, 30 Mar 2018 12:02:02 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gyp467w6x-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 30 Mar 2018 12:02:02 +0200 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 9553E31; Fri, 30 Mar 2018 10:02:01 +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 6DC2526B4; Fri, 30 Mar 2018 10:02:01 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 30 Mar 2018 12:02:01 +0200 From: Fabrice Gasnier To: , , CC: , , , , , , , , , , Subject: [PATCH v3 6/6] ARM: dts: stm32: Enable pwm3 input capture on stm32f429i-eval Date: Fri, 30 Mar 2018 12:01:24 +0200 Message-ID: <1522404084-24903-7-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1522404084-24903-1-git-send-email-fabrice.gasnier@st.com> References: <1522404084-24903-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-30_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable pwm3 input capture on stm32f429i-eval, by using DMA. Signed-off-by: Fabrice Gasnier Reviewed-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32429i-eval.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 293ecb9..d5498dd 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -271,6 +271,9 @@ &timers3 { status = "okay"; + /* Enable PWM input capture by using dma */ + dmas = <&dma1 4 5 0x400 0x0>; + dma-names = "ch1"; pwm { pinctrl-0 = <&pwm3_pins>; pinctrl-names = "default"; -- 1.9.1