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: 89971 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp8879283qgi; Thu, 5 Jan 2017 01:26:57 -0800 (PST) X-Received: by 10.99.95.216 with SMTP id t207mr118977474pgb.0.1483608417649; Thu, 05 Jan 2017 01:26:57 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n28si75283506pgd.148.2017.01.05.01.26.57; Thu, 05 Jan 2017 01:26:57 -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 S1033482AbdAEJ04 (ORCPT + 7 others); Thu, 5 Jan 2017 04:26:56 -0500 Received: from mail-wj0-f179.google.com ([209.85.210.179]:33973 "EHLO mail-wj0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033473AbdAEJ0Y (ORCPT ); Thu, 5 Jan 2017 04:26:24 -0500 Received: by mail-wj0-f179.google.com with SMTP id tn15so30392100wjb.1 for ; Thu, 05 Jan 2017 01:26:23 -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=MuOi+NSVC1kh5xdEUC1VfkaV2dknJQZI3JddtRWYdjzvGC2+PM+ZWP9cFzezAK+fL2 EgxkMRj3hahSyb9ZlJNa5PxGFo08U+cHGzg1Z+MtfIb2xz5pf4SogatQ6r18CLyUCWLa 533YduQvYDvfJlSstKjTf65Eaujczx1FfA/s7F3qurEmbrohSNfvwUU9MQhX0kiDxZnp AUdoi9L+CpcPS7NBJ5o0bNyIsbbgOd8fKusPnskqsanDOdMYxCiU4IvFOcfdQbvuMWOJ msZaFWGb64Ow1lsf/3yTblQ6mb5FCJkmNlYJyV4r3gKNtnMSAMg+xOxczi2Dodl7uVpc Domg== X-Gm-Message-State: AIkVDXKYJrsSt4WavYnSDfFGzzE1VPrefPfkRv/x7NnPpExTNyodZTIYdhti7/EuKAg8R45F 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 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 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> 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..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"; + }; +};