From patchwork Tue Jun 20 15:13:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3744422vqr; Tue, 20 Jun 2023 08:22:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MddbZNy0JBLuk0vWC8u+ELJnE6VlUzL8A7JFR2vHgYMGIK7yE8Fg35CrAP4w12qL4RyOc X-Received: by 2002:a54:4585:0:b0:394:4642:7148 with SMTP id z5-20020a544585000000b0039446427148mr13034160oib.48.1687274555247; Tue, 20 Jun 2023 08:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687274555; cv=none; d=google.com; s=arc-20160816; b=0OV167f5pbg5Q0KRsFhj4beOsw5ztNiR3NMG/QXs2Ve/DQKi9Pm+zI4+cVeRImIUJv wYVB2mtJOxNdCOT765uoEL8n91Ar/IGK9jYzr/6EZ1GPPvO1BxRcQ7G0YZU4mlZXsTmW ZT7mKgNFBNQaENjhoG0lDRSkCAYQhLfHRXlGG7c1P3TnC5RJdMfZeIfOraHsswYhpWjJ 2NvBwYKnoxZxChOrPgetwhRMCabege7GWA6nBwr0Znhg4gQ+ybU3Okt5GBbnZdW28qBT FQK2JTQXrWpEvaTQXL0iTlcEH7WRj8p+1AFgokUfg5eGFvj97Ajd3CIIlt7DZklNaJ8k t6Ew== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=T0dcoPCLaDYQMrHuXNE7wQ+1ki8yqQNoSM6auWBUDjc=; b=VG5ser59dTZnroZkOO4GO+grdGV8g8OmwYowMnyqA6fMxoZgE4Ugr1UCir4XMOXLy7 9hqflOgcTca2BVIOoU6bR+YuLepTl6Al0gpLwaR+HgF+Ri86eVdYuR7JWoJXjwvFZF1/ vmj5FGvNHiIWjuTMUGfDzb4I3iMU7EFJBE7ltzijFRP3koqMjViseEM2xbwEiCYRvxaa rmWLz3YPb6aHryS1u6ZCrpPgisCC3wyF45UQsmpksJcNhXfFvABS+Oua0UDBqPpjH9WZ RpJD4r3WUF9uz8NIaA+yeFPlW6X9R9/5i5Hu+KgY2SSCUs0MkM4pFeNRX9OwSTEpRd2S eY9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=Nowk+UtA; 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=geanix.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a17090a498a00b00250365255b9si9879049pjh.116.2023.06.20.08.22.22; Tue, 20 Jun 2023 08:22:35 -0700 (PDT) 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=@geanix.com header.s=default2211 header.b=Nowk+UtA; 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=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233630AbjFTPNc (ORCPT + 99 others); Tue, 20 Jun 2023 11:13:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbjFTPN3 (ORCPT ); Tue, 20 Jun 2023 11:13:29 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47D3418C; Tue, 20 Jun 2023 08:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=T0dcoPCLaDYQMrHuXNE7wQ+1ki8yqQNoSM6auWBUDjc=; b=Nowk+UtAOnhH2/d8zWT86F2Sfp jEDdIfI0FJFm6z3rA7uQ+0lNhUpzAviycTf040MJ+99UQiK11pwqr6us9FufFkD0PtwLGzSNnoJCY vlqIku6S5KJmidplnUa4hPHgs3Xjx8/oXGl0AvipMQEOw0KAUmgCYIwiyhxHm+y4xFq67tKTEmAi0 X4otGsWr3yLS63jOeJY2AH+eBIWD5FDfkZSsVP+IPQldFXxV4/3JzwIJ/992ut/EVCnFkWD0EAaYZ ZvnJu3At7Sy1vf38mKdyNlbJMocnO4SGIbrTIGAukBXYc4Qm30y8aj+u8HgaVBNT0njSSDmhDSjxK wSf+aUVg==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBd2r-0001Z2-Jp; Tue, 20 Jun 2023 17:13:25 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy02.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBd2r-0003u6-1C; Tue, 20 Jun 2023 17:13:25 +0200 From: Sean Nyekjaer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/7] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Tue, 20 Jun 2023 17:13:06 +0200 Message-Id: <20230620151312.1064629-1-sean@geanix.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/26945/Tue Jun 20 09:30:24 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1769221924490208067?= X-GMAIL-MSGID: =?utf-8?q?1769235604134359911?= Add another mux option for i2s pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index e86d989dd351..d79f89f37bc7 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -686,6 +686,25 @@ pins { }; }; + i2s2_pins_b: i2s2-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + i2s2_sleep_pins_b: i2s2-sleep-1 { + pins { + pinmux = , /* I2S2_SDO */ + , /* I2S2_WS */ + ; /* I2S2_CK */ + }; + }; + ltdc_pins_a: ltdc-0 { pins { pinmux = , /* LCD_CLK */