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: 142095 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3687957vqi; Tue, 19 Sep 2023 14:22:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGR3nxtuduJ9ty2JbSnaz0XNeUBpdP23fzakhXhoxB16lR1LlSwEbNDb0uUBvxdE/hddOMU X-Received: by 2002:a17:902:b58d:b0:1c3:ebfc:5198 with SMTP id a13-20020a170902b58d00b001c3ebfc5198mr597943pls.11.1695158528135; Tue, 19 Sep 2023 14:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695158528; cv=none; d=google.com; s=arc-20160816; b=KSrVDXmzpsce2IIMwZOZ74J1dYov+DY/LGbBvKq/F+auZjKtskRaDMlUyegeX8WUOx k6flPuk7jc3HsMnHv5z9WntJKg239FhskYSSgQ2KeImCzIL/ORkhZKyDjJCj7+Bf/N/e HDxiRBw+qXerRqnRh7cE/+P5r+WGlM7KgeTuDsLwzxXHWwZiaFqvuzqN7Rmmrdx0rowt o/FlPdZt4yV5+xZAg/bqefn0tKeJyFSt3UwjYOxmeYQs2B6do1m0V9FRA3l4wO1q8BDg eylSyHRSJGbdfCUrZhgCfkulfPIr6tkK5hS/3STjPuJKTm4h3idascTnJKsZFcbpLJPE U71w== 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=6iKl5m3VTE4MFywY3FePq9e1gGc7GeLBCcA6aIZ4wWI=; fh=72UvGNUblKHpk0TPINz2WJk2JbCNFGItFCdFhssyC9Y=; b=halzGCN0RthXMP2reKMsd5jAqdexAbQ1iN3QAJI8lHvO2Q4ecwiEKaHMLFG4eYocJ5 TeA7pzqP8alD+tXcnWK+aw/y1VE4u7VkVK4AGiRX42iysFom+jusPud5YxItGsvRSz6b yP5ajYaTbaZjTPmQ0aFR57xvMzUOqZGof7KP07EpZkW98j/jTj+DUEt2jTaxwwWXe6t4 9COaQq2IPIOaa2u+HF1MVYlIufI87quZYYBe7ncyKH6FqNMv434HPHLOyU6ONoTHq6Ft fUscymAH2/na1+wonW8yyKA4qP+L67lKZSx6AWkUR74hQiTTsRyrNZt04h1qkIRPRXCS Li/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=T1+J1qP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p7-20020a170902e74700b001bd9c43c896si6461842plf.287.2023.09.19.14.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 14:22:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=T1+J1qP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 1002C8051143; Tue, 19 Sep 2023 09:31:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231666AbjISQbG (ORCPT + 26 others); Tue, 19 Sep 2023 12:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjISQbC (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 2330EA1; Tue, 19 Sep 2023 09:30:55 -0700 (PDT) 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-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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 19 Sep 2023 09:31:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777502548847296935 X-GMAIL-MSGID: 1777502548847296935 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 */