From patchwork Wed Jul 12 12:42:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 119173 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1152119vqm; Wed, 12 Jul 2023 06:31:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlF45hlFrohDjReAPLXMRpyUrnN3CrZbp/d6BfynEeaj/Jaw+iQNHqva1kn9Kfc0c3r3HADO X-Received: by 2002:a05:6a20:3d0f:b0:130:7803:586c with SMTP id y15-20020a056a203d0f00b001307803586cmr16192626pzi.42.1689168683929; Wed, 12 Jul 2023 06:31:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689168683; cv=none; d=google.com; s=arc-20160816; b=tUIOupMX/jL5lsmLeaMwv34PgSRRPsV0VAVd53yFz7Kio6Xw+nabfeMc6u8bo62hL5 TMd9xYFADwb6B99a6L1U08bQW68b7+I5CRCAW9bRtIhymNVLLwsx3XBTpe+p8OL22IXR d/Rm/jnXRUVvrZaKUAK6vkLZlMcN5hHrKhNlzR6iMicwSitvjk8U0n1+Ysp3IT41k8Ex WbB9NA7G2B9RQJGDc0CPe8dv8wc03DOB+aE57UMnPX9cDVnUZWQyBfN0F2yvjWCvtG62 JE0CcBDUFxgZYaLbhLubtofOi+AUBvHj/QwSCAYByPERWiSftRWMLbhHe5jV/cR3ViAT N2Ig== 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=gxB8tGPeDa3sr1zb5LyksqQoFxN4QnIufb+q5PKXGEI=; fh=W+spKHohdfDRrUl/LXALMb+MD2cikjWt7IIjhWApp3I=; b=h7HgiplPIA4u5GqJ+mmHBkt/k5p6s4VMjeWR0aDm/A8TWn1Km2mOUlMYElLnJRMPqC HZMTZd2iyPO8HGhSmelLEu0wJ+IVUma2g5bcStRezTxfCaVInJvI//AJSeFdUNm6JMMc Y1SELFL60q1czP1FpFHCtTSotubsdPv0gKYRi9o3Ts5G1xVwiF2awGh8/7p0VRiXSl55 Up0g9Pnxv/nM8hjVGgmJb6BhWYs2AksGaLXo5OHTPpilvPa4OLslaikLByj2ELYIyaJ6 rer7BtZ+Kcw9GXBLVESFZppjwN5bk3YwdTnkdexy4RVzpYJQg3pSXZ4ru+Du5Dl+sQVp vmAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=HJcLri3X; 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 s26-20020a65645a000000b0055c3e6ada36si3090105pgv.354.2023.07.12.06.31.11; Wed, 12 Jul 2023 06:31:23 -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=HJcLri3X; 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 S233619AbjGLNET (ORCPT + 99 others); Wed, 12 Jul 2023 09:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233532AbjGLNDy (ORCPT ); Wed, 12 Jul 2023 09:03:54 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DEF4213F; Wed, 12 Jul 2023 06:03:43 -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=gxB8tGPeDa3sr1zb5LyksqQoFxN4QnIufb+q5PKXGEI=; b=HJcLri3XxqrSM6i1xdHaQNZivm +rUVIjapD7TL2EIzPXzRmzcrxCGpiVF46MSqo5wpqRnf2jRIAbnHO8bqPZUzAer0x7/JzhevmIDnj tret5xZOY/qaPR4iuNJXMooHYrQ7F4yOPot6dtaOAhovf0LEJ9rKz7B81ZUfKaiwbSd0jNIESuwiO yGnvlA1LewT67dQCccAzN32WTgEHAe6is7T4pWFfeNwjZ+6mWxNkZOS24r5z9DfZSQZFruITgGmTu aEzSANaP9QBWId83pN3qfJ+Tspoi/pXG8xKfsgkZo1QpTemy8COopoi1VXV/0TZUUykW6kCq1c3P1 l3RjX83g==; 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 1qJZBe-000NLh-2t; Wed, 12 Jul 2023 14:43:18 +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 1qJZBd-000L9W-FH; Wed, 12 Jul 2023 14:43:17 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, 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 v4 1/9] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 12 Jul 2023 14:42:39 +0200 Message-Id: <20230712124248.2400862-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/26967/Wed Jul 12 09:28:32 2023) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771196036585670427 X-GMAIL-MSGID: 1771221742008303666 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/st/stm32mp15-pinctrl.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 098153ee99a3..92726ad7285f 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -787,6 +787,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 */