From patchwork Tue Sep 19 16:30:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 13391600 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A5AECE79AD for ; Tue, 19 Sep 2023 16:31:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=shMI2vE94/On4bRPqvJZBqTYi+VA08+Oic5RDhvnz4k=; b=j0YM5zVFvQBR6R 47qEE+We1Kokt7jhGwmMAwYU3t207PxEkx/4Y+7xCKByEA+4V56Eh/YvcAIagMySQoOCjSl2p5y3N 1/aTOAA5NFlvlSSjIcLWCxI6Mns46DBjbt/ml7m4/hks2kHpdC8F9aY+CVfsIV3F1LQpUhTM4dstd FdjM4OkgRRmYVK2C9SIPab0nA43OKaluTRyl+Cldd6nuv0+Z1CRnAifvMGzmWNc6tOA/OX2SpFmB8 KfixoyKFBYrZapb2KTixBceUKfi7IVdWefpO44ElM9c92szmwhlnG21mW+Oo5V2AbZE6hzwv4PbMv o5oPgrJ4WijB4gK8ZEnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qidck-000rag-2V; Tue, 19 Sep 2023 16:30:54 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qidch-000rZi-2e for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 16:30:53 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38JCackI026620; 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=6iKl5m3VTE4MFywY3FePq9e1gGc7GeLBCcA6aIZ4wWI=; b=T1 +J1qP8bGXvMu+4CcYS4CGyVJ/tl5waTHAcKtwFpgkfriOu8O8Rgt+sjHxrkEiVbi RNNQvjnt4QnHIxMsBVnpDdpZ7gr+4tFGWeaDIo8XkKGBrKSGBZ2y1/noL/tVYUGj 1nnqjLhv522ZyyqCDKl4JS4TwYoMs61KGl6CkaTsTKlHAavQz8NISJZkLrZyNFnT E6dqdyTdLGPsS9cRtEkRsLs9IJqcLxaS6UKAfhXakJaj0MY3lgLNiAwMCmTBY3tT Y5MxS6yFOWH/qhvWR4Dq/oun/0DrcnJcfHCtt62dV786WvB5uGJUmsu6srf5qxqH iFCYzPluTeoknKLMM2dw== 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 3t53pwuj9a-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 4FB3C100059; Tue, 19 Sep 2023 18:30:40 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 48219268467; Tue, 19 Sep 2023 18:30:40 +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 1/2] ARM: dts: stm32: add pins muxing for sai1 on stm32mp13 Date: Tue, 19 Sep 2023 18:30:08 +0200 Message-ID: <20230919163009.203752-2-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_093052_491210_57B8BF5F X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These pins are used for SAI1 on STM32MP13 Disco boards expansion connector. Pins mapping: - EXP_GPIO18 SAI1_SCKA (PA4) - EXP_GPIO19 SAI1_FSA (PF11) - EXP_GPIO20 SAI1_SDA (PA5) - EXP_GPIO21 SAI1_SDB (PA0) Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi index 27e0c3826789..5e3e627ceb54 100644 --- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi @@ -114,6 +114,27 @@ pins { }; }; + sai1a_pins_a: sai1a-0 { + pins { + pinmux = , /* SAI1_SCK_A */ + , /* SAI1_SD_B */ + , /* SAI1_SD_A */ + ; /* SAI1_FS_A */ + slew-rate = <0>; + drive-push-pull; + bias-disable; + }; + }; + + sai1a_sleep_pins_a: sai1a-sleep-0 { + pins { + pinmux = , /* SAI1_SCK_A */ + , /* SAI1_SD_B */ + , /* SAI1_SD_A */ + ; /* SAI1_FS_A */ + }; + }; + sdmmc1_b4_pins_a: sdmmc1-b4-0 { pins { pinmux = , /* SDMMC1_D0 */ 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: 13391601 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4081CE79A9 for ; Tue, 19 Sep 2023 16:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jk5DdBw0V4eDmKtWoiaeehXJ742q/HyuoLnkl/Tc5kM=; b=cxWbVGDBpHoouN RacG293X5qvmrld/t5fEw1e8aVD4D2oRQcQt+T7XimwpAEcDAGGUZbYguokAMbBa8G1lUY9J0Fekn ebr9dg2I2B3A8NJ4X4FWuQ5/JeUrgCsoTRPF/8dkVz6Iy8Di1hBfOUa/JG8Igzvy/kNnRptM3lP/r TBgSmyRmyBLZzEdJlYNpiGdjVG1gGxHJdwhzrqQtP0O/Sd9hwhtO6ygzmgcCq+DCzZ+A9f+dYWDKP UXHsFh5hm+2PdNEqqg4LyV4DdDcKrv/NTcpucOITecDooIU79ZP6W8qvWz7h96HC8YDRhZuY98i+v soWNp5UQzIcLTJvs1h0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qidcl-000rbJ-0p; Tue, 19 Sep 2023 16:30:55 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qidci-000rZk-0w for linux-arm-kernel@lists.infradead.org; Tue, 19 Sep 2023 16:30:53 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230919_093052_700439_835C5CBD X-CRM114-Status: GOOD ( 12.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 */