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: 87489 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp328547qgi; Fri, 9 Dec 2016 06:17:04 -0800 (PST) X-Received: by 10.98.80.9 with SMTP id e9mr82057706pfb.13.1481293024850; Fri, 09 Dec 2016 06:17:04 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l24si34071561pgn.71.2016.12.09.06.17.04; Fri, 09 Dec 2016 06:17:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933404AbcLIOQx (ORCPT + 7 others); Fri, 9 Dec 2016 09:16:53 -0500 Received: from mail-wj0-f178.google.com ([209.85.210.178]:35688 "EHLO mail-wj0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933402AbcLIOQl (ORCPT ); Fri, 9 Dec 2016 09:16:41 -0500 Received: by mail-wj0-f178.google.com with SMTP id v7so15728437wjy.2 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=SQ1AGzhHrFQWUvyjfPAgdNiLOeTvfCjPCOkuvCojNbzwmFfgEBN7lKG6Ya1IPE1ue1 QcCTubHKhM8PnaF9vT0B6ODLsF/sXehtvELpO+kd0h/njp0WqEe23bPbBoEA1HWqCmtT F1InmCp+RtUl7QNCUD+JcHr+LPml83CeFwyliW8H8RPfzfgDf2nyUvKYiQns3lpoWLeX pwA147Ver7h8FbhDke+zNkqrzxR3QWpvV+NM+7e9TWrAGdtsz0UcTYYG+2QYaPQud6Kd wtP2a/+R+rLDaGV7YGn6SQxc2CH46r4fEV/gDcSn10rLMDfT4Z6dwshQY/V+gIe+G6j5 7lhg== X-Gm-Message-State: AKaTC01imzQ7ipDodKO27Zhu9vLqRbm01/2LcXIjjL23xJMQyJKXYxUFig2JJZ3R8mJ3LmVN 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 Cc: fabrice.gasnier@st.com, gerald.baeza@st.com, arnaud.pouliquen@st.com, linus.walleij@linaro.org, linaro-kernel@lists.linaro.org, benjamin.gaignard@linaro.org, Benjamin Gaignard 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; + }; +};