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: 13265037 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A859C7EE2E for ; Fri, 2 Jun 2023 10:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bWeCMrbB8Z7SABgmKq/XJTpfUlyuW6/RD6BJGgZ6Nrg=; b=KGUQdIOIqZkyVT uu6fvNlmkY8qpNTHDM1YtI8fratX2Vo7Xj++UWknWUw0HihqMPCqR+EtBH025tH1j40Sh+28Z0K4F Cfsoa6emLe2cPhyvbT9EHLUpavKsB0gYausvcwotMyX2T0eOGhCGtouE4l30uWTrFwllh6tejU5as 36lgUJRnUSFQdKJMJM10VmxR5w9byEnY0FVDl/ibqj18CTylzNgXOSZZvz2QWeEi7dk9+EACg9OSl Xhv6ZKA8RXd85XAEIg2ugpoUVrTFK8n00TW7cyEMqiXXPzclPVbS6imTAWeFvwDzL2IRnLRRiyZ3r DkbVdqarSX3wGSd8Ix3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q51ui-006UwG-1K; Fri, 02 Jun 2023 10:21:44 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q51ud-006Usi-1X for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 10:21:40 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5147f7d045bso2796101a12.2 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=YajjsgRHB14M3yBczxt87qFN7aOm7gNQtV+H4cuMfK5HMkd58558Y9YdmUlQmT7qN5 VjhGRFpZVTc/pGuMlX8F6wHLcb+XjRrlNmTkVuOkEAUegOJ1bFIrQDKLVko0lrWVJsyO JrQsPZww2DsLKviNm9KWSID9nhyqHQcMEI5hq56jbs/vomNLPzlE4oPxDA9qIHvrZXIT 2TyUnkyVCcUKs5Rj2YwKA0c+EkY1RwCjthmEmpXYDYtPGqZWjGRze4bgTx/EaL1abrNr jYVRHwEWl7gVp9pk49um8qPfnamBQsOvjWZ0U9Gowh1EK8KLi6Bi00ximbgzhiIvAvnH 3eCQ== X-Gm-Message-State: AC+VfDwh2pnM3jnDX7fkZOlH5iVJi5UYMMZyKKsyLX7KW+wRkZfdoqai c83DrYYZ2Pm363zbGkQy4ws1aQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_032139_512585_1D279122 X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>; + }; + }; }; }; };