From patchwork Wed Jul 12 12:42:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 119167 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1147652vqm; Wed, 12 Jul 2023 06:23:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlFAXbISVYXiiS+WGNYcs/sxcgnv6njc6k5WIRmKnJE26e92sblsoyCTh4l7prU0uYe9MUZo X-Received: by 2002:a05:6a20:2585:b0:12e:5f07:7ede with SMTP id k5-20020a056a20258500b0012e5f077edemr23251846pzd.41.1689168236655; Wed, 12 Jul 2023 06:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689168236; cv=none; d=google.com; s=arc-20160816; b=i4BtaKVeccIbCBhYyawcNU7Rl3LjvPowNBv1MXA+t8h0MVZ6ZRUDO452RDMal0kvTQ HRzrDH0X1pr548OVtl4pisqy56cx7yNp3Cq0WqiIjkkL8+EXSALdnbAmyK6+HCtKRzqT yV0TNKtSkcCemtfbGIPg85Fd7IkmaojDj+dreC7usmqkzkkBY5oLvoBYlf3B+Y1xhL51 9edHVJxjRahMM3nS+g9zZIVvRQMfOEnEk2ceMWyfzF9l730499OY7jUXKgnCJ7X1CYWd gwPLiv7VkQoyfaIifovdNRi1bP/DLHU4qJFam15U66yF+AbRqzMw50NVN7kHDNjTOhEs eEGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+Y4kSu2wkVxXryiUAVNTGzlJavNWW4dxpm+lqNsJ2EE=; fh=W+spKHohdfDRrUl/LXALMb+MD2cikjWt7IIjhWApp3I=; b=ZY/GQX3HO/94g9fv8eAXy0Y3jWng6B/qgUw1Vggs/fQwd9fpfZv/GUjvicAC8UaN4e IIUKQEQQfimy+SOC9gPpixOLBZwgobD5kzITXxmZh9YXnyxKgBAjzdawYv2pKUCAG3Hu ZNZURevkHm8HXkVu5AcgmUbpvqwukJ1R23+ZSfz2pxgUIR4P36AbVOk19ApsQ7OvkYFw pITlKhwiGQyBgkyqJQ0Dr12v9BhFYNFg8IpBy+a3nhMu4PiurBMAYv8+8WfKl5hQSJ84 mVOGCZP0xh8ilSUVUxjBrrkQYOmf2kH52HGSBf0rBqeJVra7u+uhZRvmxqdUjZ2KzlJ9 jHMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=Pkq5l5tQ; 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.23.44; Wed, 12 Jul 2023 06:23:56 -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=Pkq5l5tQ; 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 S233053AbjGLNBf (ORCPT + 99 others); Wed, 12 Jul 2023 09:01:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232140AbjGLNBd (ORCPT ); Wed, 12 Jul 2023 09:01:33 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A42171989; Wed, 12 Jul 2023 06:01:31 -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:References: In-Reply-To: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; bh=+Y4kSu2wkVxXryiUAVNTGzlJavNWW4dxpm+lqNsJ2EE=; b=Pkq5l5tQM/PlW5MiaisDw6foC+ 1q4aZELHRHizJ8wSYZ3nuxf4IZXYvgzYrzVqgheFEDnWmN0Ua3JU1VtQzBs3v+xaEJ/HhshC4Mgui p0uZ7oDb0+8pQ99EA8wIaijaxVHjD86x4e6IN0ZKKE9twJuaK9TOjT9QruNGz7abg/GBhESFC7zmz ehiISRdpq0DTR7dQGEDFRAtRIcUA3N+v2kANkrxZuAtag0GSbTl1xdbvvat6KAL8PWQg27WG++MLB gv8c46q04tnv9dodY1uyHoZlWnISQquC8nPp+Bryv5duz5vDnJuHdKWLv1Pgx1MUnpXiToxmTCAWl fyur0mtA==; 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 1qJZBf-000NLy-1o; Wed, 12 Jul 2023 14:43:19 +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 1qJZBe-000L9W-B1; Wed, 12 Jul 2023 14:43:18 +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 2/9] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 12 Jul 2023 14:42:40 +0200 Message-Id: <20230712124248.2400862-2-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712124248.2400862-1-sean@geanix.com> References: <20230712124248.2400862-1-sean@geanix.com> 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,UPPERCASE_50_75, URIBL_BLOCKED autolearn=no 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: 1771221272987133272 X-GMAIL-MSGID: 1771221272987133272 Add another mux option for ltdc 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 | 75 +++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 92726ad7285f..5de4ec547411 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -1080,6 +1080,81 @@ pins { }; }; + ltdc_pins_e: ltdc-4 { + pins1 { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + ; /* LTDC_HSYNC */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + + pins2 { + pinmux = ; /* LTDC_CLK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + ltdc_sleep_pins_e: ltdc-sleep-4 { + pins { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + , /* LTDC_HSYNC */ + ; /* LTDC_CLK */ + }; + }; + mco1_pins_a: mco1-0 { pins { pinmux = ; /* MCO1 */