From patchwork Wed Jul 12 06:29:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949043vqm; Tue, 11 Jul 2023 23:42:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9ya0xwy7GUPAUHWzNXzLVBd1R1sB8L46PRX9jFhqxEULdHS7g9yyXip73jIB5ht0bwkL0 X-Received: by 2002:a05:6358:88b:b0:133:8a9:b354 with SMTP id m11-20020a056358088b00b0013308a9b354mr20029992rwj.1.1689144169430; Tue, 11 Jul 2023 23:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144169; cv=none; d=google.com; s=arc-20160816; b=VDs2TWGea4OzdUqTcttpxz8G30WCAA0EQ+kXfL0YFih+CLYiL/YhRLOk7xFNiFm/9U QAVNIt3D1bgW4JCJEQqYXMwSGTq8xdmHzUAxAGrpQwGn3xooo9LRGyvipsbQVU++zA1e PNqXKOeWD2XBq9/ZLIYorNZiVPavaUyefx1VL/f+UhmyA7RAj/W7tr34EDrpI+VPYVqF kNtTDLQKBb/nJNAEufO888OwvsCfj3nxao3ajLS+HObT3rZLYVEf0e1WuLWdeSDLwssG hEqDdZmIph8RG918zwU/F8z9gLzmKiKl0HtzwlDovad37FdJn3MrBPbRGpthnn0p1kiF ErpQ== 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=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=FSNhiCJ69t4Ixmm53U24vMNC7FyFp6L0aEPUuVw8BWtZP1z9vLKEcSGbZJjE0vcJmV hnnw2tpuSNTnfJFB+/GYNKz9Y6KD8d8pb/IjAn53kmMXr0p3blF1TFjYKibxANLIjdAH gbLRGiYz2C9xndUdB58RfXLDFQ0jGB1EyuyclhTsP/J6eYm6/ZEHUxSI0PmdmcPabIV7 S6mAlQcvQpWd/tuaiqXrGVDBQMe2Ky22lPI/CWgR98TIio46nVf4276wmmP6573FWJrB m08w+We0X14kUhayuJNcH1qX+G+e3vRsGI96Zg6egxK8n0eSYjfG44b+7P6sbxKWLBEw S5TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=HcUtX5qv; 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 o3-20020a634e43000000b0054fe43caa81si2567469pgl.782.2023.07.11.23.42.35; Tue, 11 Jul 2023 23:42:49 -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=HcUtX5qv; 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 S232147AbjGLGdo (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232126AbjGLGdO (ORCPT ); Wed, 12 Jul 2023 02:33:14 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71973DC; Tue, 11 Jul 2023 23:31:52 -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=HcUtX5qvnoJrix64OWVAgd7w39 TokPNlo6ncPjrCuUv31j8KpQyhvOuPHbv80e2ekFkdJAbXVPQOTMC5r7gF3ekGq5DfZD5uRHTd+xj 7b1WfDpr0jbtZdDGmLgrKlJK2WF++I+cbgHVWDpk4D5v55hlqOCVkeOep4bE5PgzI3VTdS1l23f0m 5xjo3MeZs4VGuaay39CWKmcs0nm8MSKwqNOnqOM8FAZA1svUiRebP34LS2FA8i0vFMEvke5pRwAQU rocoOX4FGahQfzrHdiuXkvYDyk8xJqj54UjeVDA+09Il/cGk2A6diAzfEFcdOB1zMlejKlBi8dHiA S7T9lgXw==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qJTN0-000AMl-90; Wed, 12 Jul 2023 08:30:38 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJTMz-00020e-Lv; Wed, 12 Jul 2023 08:30:37 +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 v3 1/8] ARM: dts: stm32: Add alternate pinmux for i2s pins Date: Wed, 12 Jul 2023 08:29:46 +0200 Message-Id: <20230712062954.2194505-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/26966/Tue Jul 11 09:28:31 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: 1771196036585670427 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 */