From patchwork Wed Jun 21 06:33:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110802 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4161056vqr; Tue, 20 Jun 2023 23:38:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nR0GBszLjri53vD+2aMjA9mIG+xLMznFex4/WUDvfNdZMFwNOQDh7AhIJMadkY9/tWh/t X-Received: by 2002:a17:903:190:b0:1b5:1467:c4e8 with SMTP id z16-20020a170903019000b001b51467c4e8mr13522475plg.15.1687329488970; Tue, 20 Jun 2023 23:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687329488; cv=none; d=google.com; s=arc-20160816; b=kGh+BDeX5abujWvHeSUKBJQuWmBlOcLbChWFuHH+sqFG+svGK5sCm0gAZRvBj6KEaB P6k7YIpnsgygqDEvlPqIllkhUNjecC9DXtUzKS8wPGhw2hjuBypw4p0Zn/dXo6m8Tok5 6+OmXvV76Sm7FbGlw12emgOPEDAwh+1BXeiaTR8XP5O6XBKDQPuL6msqQjLLSYlgQETC dV83BkR8HpTQTeco/JoY0iTfOETemrc4aU9Acm97ezwnGYqczPaMhmPnLDrBbWCsK8D0 wlz0dSmP8ndII02i0q826Hn0ZPqtcUU4NHOcQlUR0VX++h3h53Fxcqs8YUdAz7gc5400 VJ2w== 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=KN+12tb2ZwVHpYVKqFfB3w3Y/piD8ubOKF7tepriifpwnCEA0q2VwurjI9vu51/yOA P2wG5a3uj+/EsZbYUR8tM16/yms5/cUp3o3id2bwxRX5h/QNJGZrsSqIhd6xpLrRfEWg llGwJOQwXvpRCB04GwE0Qi6wWyHxggNMTYqrYX4wY7ZUZ+Y8nrLqc/J/Wr8Cv6qZ07N/ KNoG7VbC4Id9Zn66vYz6KtfW256d6f+Ujd9dcYIO9o/lEmuiysyopAjD5a/mJGBzewnp 2KBKQG9qEbmHXrh5EMEKvn3+0lMq55j74gnuMjTn2XcgRpNAxMyA09zhkV7RWZ1lzOuB GinA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=E9h898lD; 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 la14-20020a170902fa0e00b001a27afc07d9si3278749plb.146.2023.06.20.23.37.53; Tue, 20 Jun 2023 23:38:08 -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=E9h898lD; 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 S230306AbjFUGeA (ORCPT + 99 others); Wed, 21 Jun 2023 02:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjFUGdz (ORCPT ); Wed, 21 Jun 2023 02:33:55 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B6E10CE; Tue, 20 Jun 2023 23:33:53 -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=E9h898lDjNjzK8lBzgMNtgVZW7 Q1u8bz6YxAzXDmDK5Uk9I4+mxh96D3YqWlRCe6T4SyoWk+IfVC0rVKcxgKOTWwbcDJCqNRGRYiSte ObFhLtecXOwsv3n/nec6/6/xRSDkUkFiAdL9CihZjDeF3a/L4i9MWKO9Lm0jyOrAQUjXgU7Zo56kb /X3XESgafWZPxDJoBuOi3Yl9iHPVLVhuYUfm3w95YjiqZij0zTbzl1FGj7jrB1tocC+gxlGpIIT72 M0lReCenj3AnXFFn01nTbHoSF+zgXuyMnbw4IQyaF3HIBqfhaVKijUULZ2CD2gp/fcGTYVGxCT9ON yAYj21+g==; 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 1qBrPa-000Mcq-6U; Wed, 21 Jun 2023 08:33:50 +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 1qBrPZ-0008i1-LM; Wed, 21 Jun 2023 08:33:49 +0200 From: Sean Nyekjaer To: 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 v2 1/8] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 21 Jun 2023 08:33:31 +0200 Message-Id: <20230621063339.1361073-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?1769293206676658441?= X-GMAIL-MSGID: =?utf-8?q?1769293206676658441?= 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 */