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: 91804 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1036856qgi; Wed, 18 Jan 2017 06:22:28 -0800 (PST) X-Received: by 10.98.98.66 with SMTP id w63mr4083370pfb.84.1484749348226; Wed, 18 Jan 2017 06:22:28 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a96si362107pli.233.2017.01.18.06.22.27; Wed, 18 Jan 2017 06:22:28 -0800 (PST) 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; dkim=pass header.i=@linaro.org; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754013AbdAROWX (ORCPT + 25 others); Wed, 18 Jan 2017 09:22:23 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37980 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753716AbdAROVy (ORCPT ); Wed, 18 Jan 2017 09:21:54 -0500 Received: by mail-wm0-f46.google.com with SMTP id r144so27428512wme.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=MnCdOq1XxfWCeWN+vokDYdqSg4rI96PNMDEp2DdzJ7kyA6CobcPeSgJK9gYAzZ8Vo0 JwCJWPzIRCo2SJAOLSTPAMH1vhMB5KvzXpxIwIQ5h18suzKk3FziDDOR8elfWwyDXsfo 4F8wcMC5e+W97WWNF3EIbvJ35OCjsXR43Xc7nZZym/LgfyJKHUBsC840BRWOIPYFmiWb xnNWKMmnj9ffYmAKpWEmlibc5hs0BP8l7b8G/xF1ZytFmImJmJRa7zphOzIyKIBetNDT dPqtCO4P6LkJZJ4ymcF6ZYXBYcPYDHd2gQvPOEt4ZLnBB54dGuwpPKUOFxIH9u7PhDgj 7OxA== X-Gm-Message-State: AIkVDXLWX66ivqCE2esx91onYiyht5VW4x5KhBdIS0hBNPlNFJ2B5/T0FwxpqItti2KfJZuW 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 Cc: fabrice.gasnier@st.com, gerald.baeza@st.com, arnaud.pouliquen@st.com, linaro-kernel@lists.linaro.org, benjamin.gaignard@linaro.org, Benjamin Gaignard 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 1.9.1 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"; + }; +};