From patchwork Thu Jan 5 09:25:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9498771 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 68CAD60235 for ; Thu, 5 Jan 2017 09:28:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5318828156 for ; Thu, 5 Jan 2017 09:28:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4753F28179; Thu, 5 Jan 2017 09:28:21 +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 D776E28156 for ; Thu, 5 Jan 2017 09:28:10 +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 1cP4L5-0007Es-CY; Thu, 05 Jan 2017 09:28:03 +0000 Received: from mail-wj0-x22f.google.com ([2a00:1450:400c:c01::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cP4Ji-0004f2-WF for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2017 09:26:42 +0000 Received: by mail-wj0-x22f.google.com with SMTP id ew7so16601278wjc.3 for ; Thu, 05 Jan 2017 01:26:18 -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=bgxOrH/EMO1YZJ/9lKt5IlXpoj0G4zIPrWxrIv8S43oOtGBqf3E+gY3l6pYo3MPxdn R3xF97kEv4fPhN9KYqBfQnz7ejRU5VTC+bbQOR7DGKVd4JrKnwtz1LG8XVP8z/UqeTyG z+P5rAbax3gnBwwC+0M0LE2cpMuJ7AWA1KnPE= 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=awjd0DZ6Wc57tKJWg0R3OrauAn1W66s4hMlcejlB6AL+SqeHX/i31P3xz/oaj29OOY eSI2E46ND7Cwf+RIN0X6okEQmKZ0mQ9Y2s72LV54/lS29FodPJpn10Mo016qgSqNx0uY 5AYY3jaVYryjq9RtVJHYD6+8DJ08TO4G0at+3MlwPJzysqQ49lvl33oIXqYt4m+toPc8 hqNqFYu56npRHBzvoQqgYV2/sMwcmMn7NoM3itH43CEHiobO2usgcdxP+OJzQ9d3a945 HcZ58zhrep3g0WG+K3gFrqvAdGVvtKMrcFZ8zcprU9BKxgwZO3IXyO5IJz0+1IWwN04p zxdA== X-Gm-Message-State: AIkVDXLo0MpDbrKyrSsPNiNYDhJvhfABNyNwyGifmE0+7SG1MONFp4lrHVCAsHV9ZhhBTSDU X-Received: by 10.195.30.43 with SMTP id kb11mr58867559wjd.131.1483608377707; Thu, 05 Jan 2017 01:26:17 -0800 (PST) Received: from lmenx321.st.com. ([80.215.39.25]) by smtp.gmail.com with ESMTPSA id w18sm99401549wme.9.2017.01.05.01.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Jan 2017 01:26:17 -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 v7 8/8] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-disco Date: Thu, 5 Jan 2017 10:25:44 +0100 Message-Id: <1483608344-9012-9-git-send-email-benjamin.gaignard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1483608344-9012-1-git-send-email-benjamin.gaignard@st.com> References: <1483608344-9012-1-git-send-email-benjamin.gaignard@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170105_012639_320953_73CF1DA4 X-CRM114-Status: UNSURE ( 9.13 ) 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 , 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..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"; + }; +};