From patchwork Tue Jun 20 11:41:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 110444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3604768vqr; Tue, 20 Jun 2023 04:53:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ556CJEOb/4tlqFDDmp6/Dr2z4y9cdyZ0irUKGAsxcBRDlXOxQbGxeFbfa+bsbQJvZwefy+ X-Received: by 2002:a05:6a00:1914:b0:668:7494:384a with SMTP id y20-20020a056a00191400b006687494384amr7857889pfi.12.1687261996579; Tue, 20 Jun 2023 04:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687261996; cv=none; d=google.com; s=arc-20160816; b=k/BI2RWpOzhD7q4CCX/J91VFC15qIaxdxqVG9DjRNIcG7DNPJPHQgFNVmx6HgGBt3T eaWzQWl6tczAt5rTqR1ExWamaKC42HgS+l8z5fVBl9vuEL7jWZKd/ZXEJazT8wx3Hrxa n6jZTlFakINBiugac+2sJdS5GyDBkTxOR5WanMHPpLCkEqPKl6x8rvGKNH5Ffuz0Re6r oq0s5zhFY2ZOC/P6iKDjldVSmwCbNO7h7X8srfh1IAKBSx8sRYfEGaf/yVoIDR+DhQyF HPg5U9KfFH/I1guQ5WZTaUuafWGODWqUokK42oUq04TNkoDTu4jlBD1YZbWnbQ1+lpNN IcJQ== 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=2CrDY7R+Zqndz7jiijGinHpgv4VdmR4fNUdaajMT4/0=; b=nnts+WLWRxtMrfacRlsoq7UDauhMd3fpdhERDns0k4/S4DUZl1szDNquVDM3nnyIjx 1sKo/hZLbCJOgETT1lcHQ/+QErRZORgcE4ijhuLXn6xDkrOcG3srOYTmhkhRNbA5xLhT lPmSH9IsSKsgyE8XZ8Cu08hn5XeX3X84qh3qgQ1GJ3S8LTO/Tkv7GHoBGE1nvmt9THWl C6rRoWI+W0pOXW14NIB9Uk9POs2+YIj9D/pBjARTNx4d0cwRScdEC/oDUCnaFjgqA0aZ qMFapoFqCliFptJEhIq/J5B396or7YTuwJDW8TEH53iRT+9SdqLAa/cufLVDdSRzphks 4rAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=UwuURtxC; 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 y15-20020aa79e0f000000b006556984fbf6si657831pfq.290.2023.06.20.04.53.02; Tue, 20 Jun 2023 04:53:16 -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=UwuURtxC; 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 S232500AbjFTLmK (ORCPT + 99 others); Tue, 20 Jun 2023 07:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbjFTLmC (ORCPT ); Tue, 20 Jun 2023 07:42:02 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 124A3170A; Tue, 20 Jun 2023 04:41:59 -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=2CrDY7R+Zqndz7jiijGinHpgv4VdmR4fNUdaajMT4/0=; b=UwuURtxCqlRsOQGrUzT986Cw9Y P113XWDhdfFSE+bLLz6cborX/b6O51PT91XpJ7TbbZYbxZQcS5fyEwnC4Yxg+/Jr9hLaA5t7Qyl8C k0i+gLKEOrA2t0vOw6/9gHbV5hPNxbtjSGRJKy6kHHrUBsDfcTEP9Bq03FggaWM1a7MT52o8ycPP6 EKqNJjzTM/qwA1UDDfEjG93AqhT5W3kbEXgu+sRirmQwYdCPuJXJrP6t4tecMKP9DWTPOZkXiQC2M HujpOWC7F03QWu2SNI7KXk1gpwtPITb+StAWF4s/BjOYSjQVYdNx2r9UtSKGIoxL2kUs6Fp8/nlwm jWeYG3sw==; Received: from sslproxy01.your-server.de ([78.46.139.224]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBZkC-000NAm-7o; Tue, 20 Jun 2023 13:41:56 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qBZkB-000ATD-MX; Tue, 20 Jun 2023 13:41:55 +0200 From: Sean Nyekjaer To: 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 2/5] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Tue, 20 Jun 2023 13:41:35 +0200 Message-Id: <20230620114138.959812-2-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230620114138.959812-1-sean@geanix.com> References: <20230620114138.959812-1-sean@geanix.com> 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,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769222435371219242?= X-GMAIL-MSGID: =?utf-8?q?1769222435371219242?= 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/stm32mp15-pinctrl.dtsi | 75 ++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index d79f89f37bc7..422db6dd466c 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -979,6 +979,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 */