From patchwork Wed Jul 12 06:29:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 118862 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp949241vqm; Tue, 11 Jul 2023 23:43:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlEyXigPv9rO9K91BimRpIlS+yLmSw3koBY8/AoP9uKIXLL1OWYAZEqP/T590b/ib3s9oOmx X-Received: by 2002:a05:6a00:190d:b0:682:5a68:983c with SMTP id y13-20020a056a00190d00b006825a68983cmr17029057pfi.34.1689144204050; Tue, 11 Jul 2023 23:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689144204; cv=none; d=google.com; s=arc-20160816; b=BCdOrKvuVZYQUndOPaJ1olfZ3u9j4RlB5r09Ke+Vo4jAI2Ru2+cOGV0fzzqXDeLS5I wrX9gxKmz15V8fu1FYpi7AQagwzdmTFuaJaEb3oATZ+1y2T1HEYG1pn1g0NLelmWwu12 eUpC1KfZM+L5cs3HhpkFDq4ucF1d2Yne6lcG+nmqFMD5TavtGWJIz3yBTQICP/zViCkR a+7OTIz5Gf37BuHIeLgOkEVy+VWv8vaTWE/pnKeukqSkn/MURQXjEL86l6KquFgnJHx1 NIsbLoJtY290wc76Th0bMXTUw0gG3geBBev0wwGyQ1v2WlJ3SzZqSgRlx0Is9VLU9AAa R2Cw== 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=; fh=Yu7cbLp6ThS2H5Pa0Z7AMWOTWUXcsSSJs/kvyMqdvIE=; b=cenLJORcb9Arn2JPrOeMHd4kophx4iQ7lRSeDJL8D013kvn4QO/MWg39Mogjrwb48a bIoqAIooNxz4sR0Qp7VHJlwQI8/0DfbsW5RuECBtfXMg6hcoqWdcoX8fsJNxpPHDj+DB JSEM35iKPPlYdaPbDP+C/LFNltgR6lRTdVxVOnwVxVCNIm32Ow9NGbdzAqSHJvFtxJs+ 6UesglsUmLdm4M1iXkwIBXtiTdqnWwccMh2Syr+x3D/Vl/kOsl6fklEk/5ikhg4ozLta YuLW1Oqp6/pAUm6ifPy6bZcUqHa1le8hksBvpQ4Zc5QCoxq8q6WEL4Zt+sNzrsHOqBOW 65gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=ugsClXrO; 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 e14-20020a63f54e000000b005455d1ad59esi2555393pgk.314.2023.07.11.23.43.10; Tue, 11 Jul 2023 23:43:24 -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=ugsClXrO; 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 S232173AbjGLGdq (ORCPT + 99 others); Wed, 12 Jul 2023 02:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232119AbjGLGdP (ORCPT ); Wed, 12 Jul 2023 02:33:15 -0400 Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A1410DD; 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: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=ugsClXrOs2Jq8aOhW/ZNsplrCV ajlNlk5LcCPxEGCkQm1sQPRf7tYxGbAk0qQ18FnMvvvVsk18NiDdQ8zqE0chX1WHalBemICncDxZj X5LepyrwSXlixRF1wjF8H1LJx81rxnEk8gL15/MUaSxpzIVDzu9fISzwrn7SLaoWXzneg/2IyUt8X A/W/Wl8uklPLkxdWRMPlLqCo94fB3+2mhCgbajiYMvCMvMLmPFgmWUGhgh+73pQ5XAe6OOTGPTbxD CftWBpPDrwX3is4V1Z1iiEQO/WlqG6zw6V/Ljx5TFz5VUwMp1DHYjDEct8zD0W388NwTXU+Lw9s9a aYaapImw==; 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 1qJTN1-000AMn-3y; Wed, 12 Jul 2023 08:30:39 +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 1qJTN0-00020e-Gz; Wed, 12 Jul 2023 08:30:38 +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 2/8] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 12 Jul 2023 08:29:47 +0200 Message-Id: <20230712062954.2194505-2-sean@geanix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230712062954.2194505-1-sean@geanix.com> References: <20230712062954.2194505-1-sean@geanix.com> 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,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: 1771196072823895753 X-GMAIL-MSGID: 1771196072823895753 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 */