From patchwork Thu Jan 5 13:06:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 39526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp291495wrt; Thu, 5 Jan 2023 05:08:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXvfa5yICNV8r3QMsIA4zQFmDkF2i+4TGHJdTqn8mm0cgWvNYV0b4cFCKOEZkobjjMi9X+OV X-Received: by 2002:a05:6a20:b23:b0:a3:c099:3a7a with SMTP id x35-20020a056a200b2300b000a3c0993a7amr54628986pzf.22.1672924088117; Thu, 05 Jan 2023 05:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672924088; cv=none; d=google.com; s=arc-20160816; b=iRiHass157g0vWDkVyPQ8z1kBkZmm7XDy52hQi4iCttKm8BxzaUWxk4GwBXUIVKVJq 079BoLXknutjxtCnXKxIxLt+0llUBuTk4hFufwfcFPIDEk7MUEZJkqNzcqV44WxoJhEm dCVyfXUdVbUgW/5AjOUvTEfBW8cLO7W2aZUqDp1a5A5OlT+VnPFV9YccshhbbVjJHzyG VDlhqeHyKnWm7cBZPjLudjKIu1cj6vPhrKE820DeLvevduw3YNg8xa5EIfugBSJz4u4e OyOeCa+83xWWO+KhJyat4yIlDDFjX1oL6gS49iOZth4Z4qdane5GmZ8dQ8bahFpp+bY3 VJUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TSIzgbHtncvPwUqh2BWBdQd6A+F2LEY+VIn6KnADCj8=; b=0qUgkl1u3pCF/FgCwEfQGCfksRtBfcD28NEIbQrp3YDgkq2aL3N5Rarv2I3St7xaPT 0STXchWC8gYun1q4n2O5B3utVOsvHcrPvFDkK+IRNoTtLatzRXOB+C+6k6XmiLgHbT2j ag7fX/E4ObG/YCkoygeuWhz62fBs3WyZBnnDHFG+8ZfKklMD6AnlKh3AJRJV23TY2pE8 nbNHBjPpvGBqVwoZA45v531lK6zJBdh9W8CT5vc9QcSrB+BDnBIlkckBqk/1C4g67w5t vib6LDNO0bnfVUCAxLBqipc51Rj8vJteyr23W+sjrf+HolDZ/bP8gPGuv/GyIJvhj3nW sDOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="0zC/6MuW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a63d60f000000b004774a855375si36625794pgg.351.2023.01.05.05.07.55; Thu, 05 Jan 2023 05:08:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="0zC/6MuW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233136AbjAENHn (ORCPT + 99 others); Thu, 5 Jan 2023 08:07:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234157AbjAENHA (ORCPT ); Thu, 5 Jan 2023 08:07:00 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7555C5AC6B; Thu, 5 Jan 2023 05:06:58 -0800 (PST) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3058te4E026036; Thu, 5 Jan 2023 14:06:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=TSIzgbHtncvPwUqh2BWBdQd6A+F2LEY+VIn6KnADCj8=; b=0zC/6MuW7LZGEEmbcs0c6uGgzutsoy8p/FY4BsXA3FK36aAZQAAOw1NrZQZAp3QLqyy2 hcfOMOtPCxlFM1PNN7HS/pXKczblIOKZnKQGF0MRTuM+AMK7uGvWemo+QJ4PfFytT9r+ PVCPEH4XzLwcesWrZ2hK5f/Is8U0XRQRRAbgpT/LoHGSQmdPpaxC4/3+4oJUX8YPdvIE 1nsi/QCSHs0MsVFPYlbxh8ksJOzRKcqEqXxBJDU6htKInuFQ12VXoXHqWKQ3oUmJyin7 EusllzXZabqSMtK6htheMyrHozWIlisyELinrug6i+PkIz5PeqWvvEBZQAoIrj8P/BcY Hw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3mtbcq94y9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Jan 2023 14:06:50 +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 AABB710002A; Thu, 5 Jan 2023 14:06:49 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A4F3523BDEB; Thu, 5 Jan 2023 14:06:49 +0100 (CET) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.13; Thu, 5 Jan 2023 14:06:49 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH 2/3] ARM: dts: stm32: add timer pins muxing for stm32mp135f-dk Date: Thu, 5 Jan 2023 14:06:10 +0100 Message-ID: <20230105130612.330155-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230105130612.330155-1-olivier.moysan@foss.st.com> References: <20230105130612.330155-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-05_04,2023-01-04_02,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754188048708163909?= X-GMAIL-MSGID: =?utf-8?q?1754188048708163909?= Add timer pins muxing for stm32mp135f-dk board. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi index d377d4c0bef5..b2dce3a29f39 100644 --- a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi @@ -54,6 +54,66 @@ pins { }; }; + pwm3_pins_a: pwm3-0 { + pins { + pinmux = ; /* TIM3_CH4 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm3_sleep_pins_a: pwm3-sleep-0 { + pins { + pinmux = ; /* TIM3_CH4 */ + }; + }; + + pwm4_pins_a: pwm4-0 { + pins { + pinmux = ; /* TIM4_CH2 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm4_sleep_pins_a: pwm4-sleep-0 { + pins { + pinmux = ; /* TIM4_CH2 */ + }; + }; + + pwm8_pins_a: pwm8-0 { + pins { + pinmux = ; /* TIM8_CH3 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm8_sleep_pins_a: pwm8-sleep-0 { + pins { + pinmux = ; /* TIM8_CH3 */ + }; + }; + + pwm14_pins_a: pwm14-0 { + pins { + pinmux = ; /* TIM14_CH1 */ + bias-pull-down; + drive-push-pull; + slew-rate = <0>; + }; + }; + + pwm14_sleep_pins_a: pwm14-sleep-0 { + pins { + pinmux = ; /* TIM14_CH1 */ + }; + }; + sdmmc1_b4_pins_a: sdmmc1-b4-0 { pins { pinmux = , /* SDMMC1_D0 */