From patchwork Fri Jun 2 10:21:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 688882 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15316C7EE24 for ; Fri, 2 Jun 2023 10:21:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235308AbjFBKVk (ORCPT ); Fri, 2 Jun 2023 06:21:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235294AbjFBKVj (ORCPT ); Fri, 2 Jun 2023 06:21:39 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF081C0 for ; Fri, 2 Jun 2023 03:21:37 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-51480d3e161so2791290a12.3 for ; Fri, 02 Jun 2023 03:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685701296; x=1688293296; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3QAQ0RCZfE4mrNQglSUgy3WeBMWWHrgZHNbJHgr6400=; b=MohSPCp+T2mvCwQJQkXDSr2pIIK7LMXED1x0wnhAoFrmm4pioP8C9Fn/ocKRM3MupC CI02i28lY02RqSnH2OZzpjdZoABhhGFzddmg8/goVFhG3mOlahW4m4iYu0WbNNGk/zvF iXyX4uwTIOY1CoqxTc9D+oePxqtntHmlW+ZS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685701296; x=1688293296; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3QAQ0RCZfE4mrNQglSUgy3WeBMWWHrgZHNbJHgr6400=; b=JlKoRvjJGikHrpcgF6tz0tHK2prS5hgE5lbsfUm1Lzk0Ayd8Rw2oxIkLxtK5oMYJ8U M2Jbp4oW8ZWBLdt7Onp40BVniuf3y4MUK1WkJ2q7rNkC5ClsvVGmWOfkVkNEDTDw5BKb 8rb3XgTS5Pw8NCWjrIN8HbJBR65BmIMccbDiGjOSmWaQg7h9h84o9UQSaUU9Ie/xZY+t 3BvIQjbERYnLAcyEmIcUTK17mFPruUEnqB/OZYEoqqkvLUDAuZiNHkW3NJb3WgMeyNe8 GruoFFXPv+6LRcXzy1hAZxxN6Abaffs9ERyLzFZxt4LSWKXr2hAfQZde8FKGgpxGkPF/ 7sfA== X-Gm-Message-State: AC+VfDwvS3CvjtEDy0/wZkKjJ7m0hvd+O7ieExQLhX7RuI+3ikJeCi4q zKDDMfFaprOsKrQXe7PYX0Af6Q== X-Google-Smtp-Source: ACHHUZ4mSRyVJK7TLliTH0Gn8nnXNMMpX1PS+2bDrpqL11esL61U/z7qzKi946JmTQmikDOsCKgz4g== X-Received: by 2002:aa7:d441:0:b0:514:9e3c:d82e with SMTP id q1-20020aa7d441000000b005149e3cd82emr1755208edr.14.1685701296176; Fri, 02 Jun 2023 03:21:36 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-20.retail.telecomitalia.it. [95.248.31.20]) by smtp.gmail.com with ESMTPSA id x24-20020aa7d398000000b0051499320435sm528887edq.14.2023.06.02.03.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 03:21:35 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v2 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Fri, 2 Jun 2023 12:21:18 +0200 Message-Id: <20230602102123.3345587-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230602102123.3345587-1-dario.binacchi@amarulasolutions.com> References: <20230602102123.3345587-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi index 9f65403295ca..f3f90b9bcd61 100644 --- a/arch/arm/boot/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32f7-pinctrl.dtsi @@ -365,6 +365,41 @@ pins2 { bias-pull-up; }; }; + + + ltdc_pins_a: ltdc-pins-a-0 { + pins { + pinmux = , /* LCD_B0 */ + , /* LCD_B4 */ + , /* LCD_VSYNC */ + , /* LCD_HSYNC */ + , /* LCD_CLK */ + , /* LCD_R0 */ + , /* LCD_R1 */ + , /* LCD_R2 */ + , /* LCD_R3 */ + , /* LCD_R4 */ + , /* LCD_R5 */ + , /* LCD_R6 */ + , /* LCD_R7 */ + , /* LCD_G0 */ + , /* LCD_G1 */ + , /* LCD_G2 */ + , /* LCD_G3 */ + , /* LCD_G4 */ + , /* LCD_B1 */ + , /* LCD_B2 */ + , /* LCD_B3 */ + , /* LCD_G5 */ + , /* LCD_G6 */ + , /* LCD_G7 */ + , /* LCD_B5 */ + , /* LCD_B6 */ + , /* LCD_B7 */ + ; /* LCD_DE */ + slew-rate = <2>; + }; + }; }; }; };