Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp738852ybx; Tue, 5 Nov 2019 04:54:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwgY2Bjv+BAx+tZecU0vtsxcnwNldMwpqKEv5w0sARJoynduI3cvqi53ZzNWxXIArYGxALw X-Received: by 2002:a50:eb8b:: with SMTP id y11mr4747550edr.242.1572958492483; Tue, 05 Nov 2019 04:54:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572958492; cv=none; d=google.com; s=arc-20160816; b=fzTteRM6MFJCnjuAKVyHdFHgrC1icHY5sPxsdqmkjx4OLerEizLCj7FHcqEhWPV6B4 oRYksiYnCghI6FqNVK4Oa9fMoFL30CVMqKIb5fFtwOWNsuTBU0a6Dyu+X06dA/x15sA6 VPc8X6NdAbYXCSrcIAAC/y2I2pBXzOARrdGsLt1/fpkcGPhhmZ6xylgWHHTwTACdU8bQ c3jMLn3zw60dzosKSspbGLgM2oDmtTLfmNfw/reZMzSGc2mJXZI8dDEfbhZhQ/ASugt1 15jZZ3zJpTNTppqcKcboRnLo7beOHW55Dn8pGnJZWgQSyGBrViXKpK1/7a/nYjBFQW+u Huhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=7qTkJgeLvJG9yVLjxR53YS50TdExPF24lYbqfsmrqvk=; b=amNsdYKDNcivO7h6J//XcAN91QHLSKZ0ZpGByymrJWd1Buq4UMbnfgYRuQ2lxsiTxg qHN/Wn2K8ZWrNTpFNdEMR+6YL+G3CpFeHCQZG6Oz+B+yvQsqz10xw0Luy98YpiPctsGj 9gJ3K8MoTUuW97ZW3Qyuci2pxlxylj8JBEZtXjbvDsuEGBB+cQOvlWsdFgFS3ABteAsR IAQc2Jc5ot/9i5zR1tf6xZk+Nj3y/8Yaq4/1tfjQ183YYr0opmSlRk3eiROp138dUeTV hQ0pEkO3Y4aHKj1tpl3TvLTPmoMS4YhGmPnVEd1sXc/bqGKdYxoOPn7EHMWzyzmJAC41 zRVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=HsMOixEb; 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=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z33si8743219edz.114.2019.11.05.04.54.29; Tue, 05 Nov 2019 04:54:52 -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=@st.com header.s=STMicroelectronics header.b=HsMOixEb; 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=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389002AbfKEMw4 (ORCPT + 99 others); Tue, 5 Nov 2019 07:52:56 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:47190 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388678AbfKEMws (ORCPT ); Tue, 5 Nov 2019 07:52:48 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xA5CnPFZ027895; Tue, 5 Nov 2019 13:52:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=7qTkJgeLvJG9yVLjxR53YS50TdExPF24lYbqfsmrqvk=; b=HsMOixEbY1ruOLkQkxxCJ1z3pter8jt/eEfoLcOYQqmjh7Fv3GAyTVc/l1Hn9ukj0tUS slRGdrwyy4uWHmWBxf3TvSk4HFbieyaZUV9cXJIsJQ60oVXEbMe2HYE1r3WVRX8QXecX WdW9shpbHGw1KVLyIbKRs0Joh3sIATuyIcqVis9gyCqeaA727HWJRe4/EJSjtja46Hct 6r7fFv5lpPL4sdTv1Ovzmf2pSFad+MdOLPXyRSp7orBkO7EC6ibMGafkIq4Imfek8vqp JPTeQf93GdFRa09InEEkwP+TNrwNF8VqdNUx8wRpktlBt3v/k2W55DhXMbfp2hWeit76 9A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2w11jn7kg9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Nov 2019 13:52:36 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 09340100039; Tue, 5 Nov 2019 13:52:36 +0100 (CET) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EC5372BC5E7; Tue, 5 Nov 2019 13:52:35 +0100 (CET) Received: from SAFEX1HUBCAS23.st.com (10.75.90.46) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 Nov 2019 13:52:35 +0100 Received: from localhost (10.48.0.192) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 Nov 2019 13:52:35 +0100 From: Fabrice Gasnier To: CC: , , , , , , , Subject: [PATCH 2/4] ARM: dts: stm32: add pwm pin muxing for stm32mp157a-dk1 Date: Tue, 5 Nov 2019 13:52:19 +0100 Message-ID: <1572958341-12404-3-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1572958341-12404-1-git-send-email-fabrice.gasnier@st.com> References: <1572958341-12404-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.192] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-11-05_04:2019-11-05,2019-11-05 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add all PWM pinctrl definitions that can be used on stm32mp157a-dk1 board. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 81 +++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi index de5679f..0f42ab1 100644 --- a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi @@ -587,6 +587,25 @@ }; }; + pwm1_pins_a: pwm1-0 { + pins { + pinmux = , /* TIM1_CH1 */ + , /* TIM1_CH2 */ + ; /* TIM1_CH4 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm1_sleep_pins_a: pwm1-sleep-0 { + pins { + pinmux = , /* TIM1_CH1 */ + , /* TIM1_CH2 */ + ; /* TIM1_CH4 */ + }; + }; + pwm2_pins_a: pwm2-0 { pins { pinmux = ; /* TIM2_CH4 */ @@ -602,6 +621,68 @@ }; }; + pwm3_pins_a: pwm3-0 { + pins { + pinmux = ; /* TIM3_CH2 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm3_sleep_pins_a: pwm3-sleep-0 { + pins { + pinmux = ; /* TIM3_CH2 */ + }; + }; + + pwm4_pins_a: pwm4-0 { + pins { + pinmux = , /* TIM4_CH3 */ + ; /* TIM4_CH4 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm4_sleep_pins_a: pwm4-sleep-0 { + pins { + pinmux = , /* TIM4_CH3 */ + ; /* TIM4_CH4 */ + }; + }; + + pwm4_pins_b: pwm4-1 { + pins { + pinmux = ; /* TIM4_CH2 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm4_sleep_pins_b: pwm4-sleep-1 { + pins { + pinmux = ; /* TIM4_CH2 */ + }; + }; + + pwm5_pins_a: pwm5-0 { + pins { + pinmux = ; /* TIM5_CH2 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm5_sleep_pins_a: pwm5-sleep-0 { + pins { + pinmux = ; /* TIM5_CH2 */ + }; + }; + pwm8_pins_a: pwm8-0 { pins { pinmux = ; /* TIM8_CH4 */ -- 2.7.4