From patchwork Wed Jan 18 14:20:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9523999 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C84E6601B7 for ; Wed, 18 Jan 2017 14:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAF4B285F0 for ; Wed, 18 Jan 2017 14:23:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE578285EE; Wed, 18 Jan 2017 14:23:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4AA6C285EE for ; Wed, 18 Jan 2017 14:23:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTr8u-0008Rs-5Q; Wed, 18 Jan 2017 14:23:16 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTr7V-00064N-Gb for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 14:21:53 +0000 Received: by mail-wm0-x22f.google.com with SMTP id r144so27428495wme.1 for ; Wed, 18 Jan 2017 06:21:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ReWXXM73wXHh9wk6Iwzs9fBAx6b3RlmeyCSidUSuNPs=; b=hDP3fX+X5Uer4RWmq13gQE8M4QChsZHqPinH7xWmvs23lTq1AXWpIDsL39JnXqMOaK Mu5+EtFzdU6tthWaaYiC7MwnfKgfd9VqHddQRZLkUZ/yZtpb/OhaASiz9VnBqBj+7swy gMGkuaKF5bMKiZDoDwJgUaReErw2bWsbPHgUs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ReWXXM73wXHh9wk6Iwzs9fBAx6b3RlmeyCSidUSuNPs=; b=ZLhXWQCyR5XnxntxFjfECOKDaIpindh38VPlBTWdmNpVq1wn7makFcv8gNC9qEoodx 5oWtWHKDZQfl4ZEYp7LjJ9d0A1SHEDPC5vHP5i3yCKUxjFgfB+H96RGLN9cmwQn5SXA1 1wXIeSgrCL7XytTAXg+58/WO2o3VZ1fC1UYhe2XL0kLkPuPpGi220Eg7piWehTnaDfMH 5VSwX8piPWixq/DJTXEY0g2dLy8g4S/QALs0H2CT+K10e2OVCcblTO4U24FEiKci5lXg YiFXLmxQ77am+XwKMt5QkDCI4dDzungrAmuc/zBDzPe1T0K3n2ui05a5ISbit50GFtv0 M+Ew== X-Gm-Message-State: AIkVDXJ/5ta5nnVI9adzEyj4xTBePrKa36gep//+Gb8GXi9HVNsMlYi479JKpIfaRuIIpWab X-Received: by 10.28.217.13 with SMTP id q13mr3238878wmg.13.1484749287624; Wed, 18 Jan 2017 06:21:27 -0800 (PST) Received: from lmenx321.st.com. ([80.215.202.29]) by smtp.gmail.com with ESMTPSA id f126sm45616924wme.22.2017.01.18.06.21.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Jan 2017 06:21:27 -0800 (PST) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, alexandre.torgue@st.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thierry.reding@gmail.com, linux-pwm@vger.kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v8 8/8] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco Date: Wed, 18 Jan 2017 15:20:51 +0100 Message-Id: <1484749251-14445-9-git-send-email-benjamin.gaignard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484749251-14445-1-git-send-email-benjamin.gaignard@st.com> References: <1484749251-14445-1-git-send-email-benjamin.gaignard@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170118_062149_830003_143C0E5C X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linaro-kernel@lists.linaro.org, Benjamin Gaignard , arnaud.pouliquen@st.com, benjamin.gaignard@linaro.org, gerald.baeza@st.com, fabrice.gasnier@st.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define and enable pwm1 and pwm3 for stm32f469 discovery board Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32f469-disco.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index 8a163d7..92552d3 100644 --- a/arch/arm/boot/dts/stm32f469-disco.dts +++ b/arch/arm/boot/dts/stm32f469-disco.dts @@ -81,3 +81,31 @@ &usart3 { status = "okay"; }; + +&timers1 { + status = "okay"; + + pwm { + pinctrl-0 = <&pwm1_pins>; + pinctrl-names = "default"; + status = "okay"; + }; + + timer@0 { + status = "okay"; + }; +}; + +&timers3 { + status = "okay"; + + pwm { + pinctrl-0 = <&pwm3_pins>; + pinctrl-names = "default"; + status = "okay"; + }; + + timer@2 { + status = "okay"; + }; +};