From patchwork Tue Sep 19 16:30:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 142085 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3673502vqi; Tue, 19 Sep 2023 13:53:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFciYFep/8TY6P6bvEMD8w2AQaExi/oL0ks5i1VQOIx0t/p+5KOHOqUy/2Khh4Ipi9ER/Kr X-Received: by 2002:a17:90a:fa06:b0:25f:20f:2f7d with SMTP id cm6-20020a17090afa0600b0025f020f2f7dmr863511pjb.2.1695156799488; Tue, 19 Sep 2023 13:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695156799; cv=none; d=google.com; s=arc-20160816; b=rF2f3CsTghURiJ2K7qC489RBogcwKc9As3V5wb9jAmtwhz/yrebF+NGH33IULbVAls jQ5w06ff6fSgARS4JQFTimJ4QvFI2d7Pd7hrmFtog5p22XhgIWY3dVULg8CBbFzx/14V 6QJJoiXl/DX/n4uRPSU57ofptgy8L1zkWnzM5XDZDgQZFdlnjSU8mRCLQRiq5UI9db4W H2uuJU+55hZtM76za7LM0u8o2iI8fW1zDxVS9qp7VFL6AahBD/sSQ4ps9Kg0ysaXP3Bm LMECeNu/Sv5DiSKOZapkSpdCytg1CXsOgivfkjfyKjVTLBDORXvP/Tl5RtJ7eZ1+ZTYf IEjg== 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=zYvfK74alrh48fiNyFcGgJCqh5Wb2lHksVR/hhospKg=; fh=72UvGNUblKHpk0TPINz2WJk2JbCNFGItFCdFhssyC9Y=; b=saJ6Ul61tu5CsdWP3e++JqFqo4iLiEHwtPLwavHingYurXTQ2eQrVnXmPVcyCbrlC1 IvsSy4f2UOY50IhMTezydDDTasDWgZAdUR1fdgKz0ptGoKreYVFQNo+slod+aMSPQVCW bkmb+plFlG/lw9UHM/DU2N2Lu1u1QQ3QK5FVxRby85j0+EWpuCurxGf06Rgtl97nwjGd 3rduPGeMuXSVhlKd983ZN+1r6UoRzxtZn0NAHF7kUI80/iHzRL9CRYYCgosXAKrKAZzD Fs3EtzLJBeYFQwJkoRzhRgpfwPePiapEL42blFWHHze1h7jDXTd7Icc290eNEaYma0AF TgCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ok1noQ6x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id v8-20020a17090ac90800b002764fc6134bsi41170pjt.69.2023.09.19.13.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 13:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=ok1noQ6x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3275A804C1AB; Tue, 19 Sep 2023 09:31:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231274AbjISQbE (ORCPT + 26 others); Tue, 19 Sep 2023 12:31:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbjISQbC (ORCPT ); Tue, 19 Sep 2023 12:31:02 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36F19A9; Tue, 19 Sep 2023 09:30:56 -0700 (PDT) Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38JCak6Y004702; Tue, 19 Sep 2023 18:30:41 +0200 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=zYvfK74alrh48fiNyFcGgJCqh5Wb2lHksVR/hhospKg=; b=ok 1noQ6xa3XqYyMResXNAWzxnbKo/oSe3qQDyX1ZzTfLSsO4GBhi+6oo75IJVteuB2 bsikxN2i2ly9LTT25r0C8CMRRfQYmdU+CWF9qi272aSLay2+CdDu/guC+WzKEO+W lsNDB9y673MTYPUpc1W8++SYHm5EPS2iVdA+1jBAblLI5+qW6/D/z10D2fJzz2gw 5+U1rBNFybpxrqxk2K5ofkFe+NgJA9wC+k9eStCBOOjZUin1/XM8bF7EDaUkXMRI jxrwTLgny9AA0ryGJPnnVTwKHEIiH5WiBfJXO2T1ph9W3Xc/0PNqru7zKzfkjSPf 7NE7YRpGeMDLPQ5snYvg== 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 3t5nx0hu68-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Sep 2023 18:30:41 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2B0F3100057; Tue, 19 Sep 2023 18:30:41 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 21C02268467; Tue, 19 Sep 2023 18:30:41 +0200 (CEST) Received: from localhost (10.252.1.15) 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.27; Tue, 19 Sep 2023 18:30:40 +0200 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH 2/2] ARM: dts: stm32: add pins muxing for dfsdm on stm32mp13 Date: Tue, 19 Sep 2023 18:30:09 +0200 Message-ID: <20230919163009.203752-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230919163009.203752-1-olivier.moysan@foss.st.com> References: <20230919163009.203752-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.252.1.15] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-19_08,2023-09-19_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 09:31:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777500735893900509 X-GMAIL-MSGID: 1777500735893900509 These pins are used for DFSDM on STM32MP13x Disco boards expansion connector. Pins mapping: - EXP_GPIO27 DFSDM1_CKOUT - EXP_GPIO22 DFSDM1_DATIN3 - EXP_GPIO4 DFSDM1_DATIN1 (shared with TIM3_CH4) Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi index 5e3e627ceb54..50490053f03d 100644 --- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi @@ -13,6 +13,45 @@ pins { }; }; + dfsdm_clkout_pins_a: dfsdm-clkout-pins-0 { + pins { + pinmux = ; /* DFSDM_CKOUT */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + }; + + dfsdm_clkout_sleep_pins_a: dfsdm-clkout-sleep-pins-0 { + pins { + pinmux = ; /* DFSDM_CKOUT */ + }; + }; + + dfsdm_datin1_pins_a: dfsdm-datin1-pins-0 { + pins { + pinmux = ; /* DFSDM_DATIN1 */ + }; + }; + + dfsdm_datin1_sleep_pins_a: dfsdm-datin1-sleep-pins-0 { + pins { + pinmux = ; /* DFSDM_DATIN1 */ + }; + }; + + dfsdm_datin3_pins_a: dfsdm-datin3-pins-0 { + pins { + pinmux = ; /* DFSDM_DATIN3 */ + }; + }; + + dfsdm_datin3_sleep_pins_a: dfsdm-datin3-sleep-pins-0 { + pins { + pinmux = ; /* DFSDM_DATIN3 */ + }; + }; + i2c1_pins_a: i2c1-0 { pins { pinmux = , /* I2C1_SCL */