Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752405AbeAPMr2 (ORCPT + 1 other); Tue, 16 Jan 2018 07:47:28 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33011 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750831AbeAPMpW (ORCPT ); Tue, 16 Jan 2018 07:45:22 -0500 From: Fabrice Gasnier To: , , , , CC: , , , , , , , , Subject: [PATCH 8/8] ARM: dts: stm32: Enable pwm3 input capture on stm32f429i-eval Date: Tue, 16 Jan 2018 13:43:51 +0100 Message-ID: <1516106631-18722-9-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516106631-18722-1-git-send-email-fabrice.gasnier@st.com> References: <1516106631-18722-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG8NODE1.st.com (10.75.127.22) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-16_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Enable pwm3 input capture on stm32f429i-eval, by using DMA. Signed-off-by: Fabrice Gasnier --- 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