From patchwork Tue Jun 6 14:55:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 103922 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3469532vqr; Tue, 6 Jun 2023 08:15:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Z9jXXRutK1Ge5EaltywbEHok1Ig5E0eL11fChwuISmQSfetAdp2JvLxM3Mlg916CuwoiR X-Received: by 2002:aca:1008:0:b0:398:5d75:c0ac with SMTP id 8-20020aca1008000000b003985d75c0acmr2334601oiq.14.1686064505646; Tue, 06 Jun 2023 08:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686064505; cv=none; d=google.com; s=arc-20160816; b=bDVkqfpEZJpqvmDaL9k+2g8wZevdArElgvHZQpVih9k8Xbxu6oDeP0REITLiH49w14 D+OCX+JY5i4nSULgFZmLnqGSJsqjfZpwR/EW5o9YSe7FrVbWi/ZnYVPlBuzfdq92GBuD 6Ale6dvgqNhbNHUyYVqhRUqEVX7Aw3Kn3NyHvwiwJqiR9sk3dXbFV+eowFmYELhJzW6S 4zRqDFt3PYDUTWKBVjFmE2gKRfMkiOtrfU7ySXxOItLO6amcuFjEtEFlVi3q/bZhkvbL LApNnfkt35bllsgcAHxJMdQl6IKxJt583flwkil2WULjImPen78/lj34XIjJRN1K8EQC OBDg== 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=mG4IMudBJKH36bwynHlTgxCd0dsFreE582/bDJnk7SY=; b=eTkN5AD9Ux2ssa9qIWpOgigUYalRdHPKjsyUHbDhficJhjR7N4L7W7fD2cRTWe7QO+ +JzgV93uG+Jirskpkvu6Oei0U4rtvzu9Uet/rjR0gY6d0Tt/vAJD9wUro5bupwVAEMz3 MxOd4WR8VTPacnjjUlMuw4eWMDNOZ99USnPjy3bWH9SJX2ZFtK2jaBdTzn4poa2TOCED xSCwRjK/D/KmG12Ut4o3gBi5bMaCfcXMw3e7Kh3QrgAz8fD70LO9jkyIfBlGrXv0j89Y Pgkc9Rk2NEA/c/FDynZUM2tvPFpKI/M8FZSFcQoapFRFPX+oazN6ot2agAdwWR8vOUWD meAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=WYs3yRs7; 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 l69-20020a638848000000b0054288b91d66si7315184pgd.635.2023.06.06.08.14.51; Tue, 06 Jun 2023 08:15:05 -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=WYs3yRs7; 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 S238500AbjFFO5K (ORCPT + 99 others); Tue, 6 Jun 2023 10:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238455AbjFFO4w (ORCPT ); Tue, 6 Jun 2023 10:56:52 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4C2F1706; Tue, 6 Jun 2023 07:56:30 -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=mG4IMudBJKH36bwynHlTgxCd0dsFreE582/bDJnk7SY=; b=WYs3yRs7cIQBYA5vz+sxPx/dcs ZGh7wpk0yHrIXdOrQGpU8JkDwBBW8i5HGN+MnRrzYIdJvh5KAh1/RaIrtRVMgFcaHRMkRBPAla/ik i4N0iJTlFqES1LWhThtXmaiaqUPtlBbwIgIw+tqqb/0QVHGU6wgSQ2IkZyZ9t7ZsH0o1ubyO3XMPb 4amur3HOO/eVLjCLfelVwxtGCBT9kpTk3WiSldUvGUlJtOSiqAJVjnEZmJKgT2P4Iegt9LcP0oUsZ Z+M1RB/PyVLzlRRs75cug9TVJjCYnbkLar+Ky06CLWqVvqloZJeDEbdF6QYmM06HiqNqMNHRhswLn w/+3nBpw==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6Y6i-000Pmz-1z; Tue, 06 Jun 2023 16:56:24 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6Y6h-0006D0-I7; Tue, 06 Jun 2023 16:56:23 +0200 From: Sean Nyekjaer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 1/5] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Tue, 6 Jun 2023 16:55:50 +0200 Message-Id: <20230606145555.2155664-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/26930/Tue Jun 6 09:25:07 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?1767966775185702829?= X-GMAIL-MSGID: =?utf-8?q?1767966775185702829?= 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 */