From patchwork Fri Dec 9 14:15:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9468333 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 500C560586 for ; Fri, 9 Dec 2016 14:20:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41B8228619 for ; Fri, 9 Dec 2016 14:20:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35FE02861F; Fri, 9 Dec 2016 14:20:58 +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 AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BBFF228619 for ; Fri, 9 Dec 2016 14:20:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cFM1A-00027R-J8; Fri, 09 Dec 2016 14:19:20 +0000 Received: from mail-wj0-x22b.google.com ([2a00:1450:400c:c01::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cFLyw-0000yN-9h for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2016 14:17:04 +0000 Received: by mail-wj0-x22b.google.com with SMTP id tk12so15738971wjb.3 for ; Fri, 09 Dec 2016 06:16:41 -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=T6RPCJUWd7m3Thnk/5w8V8R/ejWZsMJB5bG3EQHRuJg=; b=h0MXQFz9E6RQFaPp6oOlgN6WV/FdCh1qBWwb0pcDEcYHUa++J/SBwbUOC0lriw5lmB kc0SRpCtQTbkNNZDFE5lfQjOWzeX9PsHkdeOUFG15bPKQgxQBcjA7lxnok/aJ250A8j9 8rSA6IvNmQnj7YxVhBO5TI+pNoPT2CslgM8aM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=T6RPCJUWd7m3Thnk/5w8V8R/ejWZsMJB5bG3EQHRuJg=; b=aJBDLJejisBAB1+CVlL1/MY7DaswPQjC2lKZgGemcYn0/wYoC/omFcsuPghd4G0OB/ Ve7A2BHVv3xYpNzCe8k6icXpGrHXC1Z7HIeuvXss+mO/BkCK6uBt1o1XKn5zh0qEV8xg N/S+ztgZmACWNNpWxk/R8NvUlfKeuqLLM1ukF/Td6FI3hCDxBZpg1LDJaJxw4lMpDzm+ satpw69jZP4LckZb7AyJ6sk/n71eCq0vSh9C5qGAuCL4AGfI3tlVwcZIfa9oUBDp1Plr 1kzNHeScMhJgXvvhkajn+ODht6wDLCPp2Ud6WJ6glREqJ8llYeEPQH9EL1bzMNYqMNFU 1pfA== X-Gm-Message-State: AKaTC02XTm3cTE5nk5IQJkKA5ndYfyvDSypLWiNGidu/jCw9ahCq3PhKEnA0ofn1w+9D6uLH X-Received: by 10.194.138.111 with SMTP id qp15mr51582641wjb.3.1481293000152; Fri, 09 Dec 2016 06:16:40 -0800 (PST) Received: from lmenx321.st.com. ([80.215.96.58]) by smtp.gmail.com with ESMTPSA id j6sm42589344wjk.25.2016.12.09.06.16.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Dec 2016 06:16:39 -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 v6 8/8] ARM: dts: stm32: Enable pw1 and pwm3 for stm32f469-disco Date: Fri, 9 Dec 2016 15:15:19 +0100 Message-Id: <1481292919-26587-9-git-send-email-benjamin.gaignard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481292919-26587-1-git-send-email-benjamin.gaignard@st.com> References: <1481292919-26587-1-git-send-email-benjamin.gaignard@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161209_061702_571932_219620BB X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linaro-kernel@lists.linaro.org, Benjamin Gaignard , linus.walleij@linaro.org, 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..0750a71 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 { + status = "okay"; + }; +}; + +&timers3 { + status = "okay"; + + pwm { + pinctrl-0 = <&pwm3_pins>; + pinctrl-names = "default"; + status = "okay"; + }; + + timer { + status = "okay"; + }; +};