From patchwork Fri Jul 28 06:34:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2946 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 659063F1F4 for ; Fri, 28 Jul 2023 08:34:27 +0200 (CEST) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-4fb9c4b7020sf1554726e87.0 for ; Thu, 27 Jul 2023 23:34:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690526067; cv=pass; d=google.com; s=arc-20160816; b=OzEnbrJnnAU99uy5ZJRetztlCUtVeTmG+OnwZcR4nLsYeghaCJafzYTywifNbXb1Zw i4B4JHvol0fNU/3yOJlG+KsWG08M4H+7F2DsYWPFw7JeBOnfMFUjgBjXLA/ibZnHMulX UroFzOw2doArQbx97jx3NojFA8EKV5tmQF9WbC2zPDy8YASqODAva0AIfkG7x6ONq6id gIcZr1MI6dRXsaF9sa24N2sO3GOfw8fO2KAFvc0tSqK5T4wzKAgbSXfmm5spRoKk77M3 DXGrlHqgo9iD7ic3SRdiwykaZXvgyepFW/5II3r1dytwJViD0yHOXuOEE9kNcI47LAZa ZMow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ee0EypvNFvFX2ANRn4QEgFtsfTj4nx0IJuL50nl9U0M=; fh=l/lHk8eRVrXKgF4YSTLYZ9obSFmuCwSaMLA49Sb0yrY=; b=GD/yQAjjPPktmjgRB15quZovFNcff/7KVMguKqbNNJk93mZRFtsox/qDDqPE4Ixe0g EQHAzBlL9Rf4+e0RghuMy4ZAvdQ8Ssno6tIwOFCTTVqFl6gOIJ5fFSQ3ubZGKb0UmObh udSFNZ/5lpCNQ0Pc+UcuDhA8eRuILrvcu1tHC7b3edacHTgsMvPrT6FN03AUHglt6hkB MptNQULf1sHhgy711+P7EG7ySVAYVhyJZ9EgC683WE+y5X32KoCpmyX7yY6K9mV5UsP0 8NLqmTh2Z9jEC93vJ6kZTNzNoBGXpo2xPS3biAFfa/62u5+PYmaozQ5kjWhlGTUjv6o0 ArMQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MAL6quyp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1690526067; x=1691130867; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender: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=ee0EypvNFvFX2ANRn4QEgFtsfTj4nx0IJuL50nl9U0M=; b=V8c1WhnHVFtZykbBL5yOu5cdSzrktlnr+MWGsH2z6o4BXzEGJWRhDZPZrY7M1YH5SS 3AXLcOLdJPhSue3ODJf+hjrfldCifG/sJmvDetIZWPFBs1saA4cADLXmVXitTdjHpB9h /MEHc760hzkTgDMFtvnBV7V3nbqhlpchN3m1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690526067; x=1691130867; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ee0EypvNFvFX2ANRn4QEgFtsfTj4nx0IJuL50nl9U0M=; b=h+F4ZhCQ8MiQ7TTDy/NdwZY+hUNfd7BcwXdiY1J4AP1CLYh4iHQjuxe4EL9oHd5lBy tsu2VV71yh2C9y38fdplekLjOX8qzIzc6ifbcZaU6wdGvkznI46niTyol43J/KcU99vG /Q9e5GHor+NYE4DqLqSUBM2vm2UbglVW5cPdYdH54yZSQbNmTga0yPpvvOfy6FvIOZpz /psNbvRv2vTzV+O89824iK4ubZtILd1heN3CrKmV7uMRmYcbvr920fw2n4+AZFBuChsk h0ALsZeWZ2NhTfPYmm4zpbEXDh41EuOLug4TAfoTXHOzc7sHLW4onLZpoM/TEC6Dqz1b ubQw== X-Gm-Message-State: ABy/qLYcXP4cOr1pIcdl6IV10YIlPFmnxdNZ/VGg0oHclolxL2kFkIU2 CBfvwZ+iun+b0AlG4ooNzlL0n+qppWXM/H2M X-Google-Smtp-Source: APBJJlHdd/UxcZQ17HavMtFGOuRFDfUW7TRLFKmMeoTwE4hktbbi1RVAfxwC02iqdnbU+GFTOsL40w== X-Received: by 2002:a05:6512:2529:b0:4fa:e7e5:66e0 with SMTP id be41-20020a056512252900b004fae7e566e0mr1121507lfb.48.1690526066810; Thu, 27 Jul 2023 23:34:26 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:4f15:0:b0:4fe:c98:789d with SMTP id d21-20020a194f15000000b004fe0c98789dls510275lfb.1.-pod-prod-09-eu; Thu, 27 Jul 2023 23:34:25 -0700 (PDT) X-Received: by 2002:a05:6512:1105:b0:4fd:c785:58b with SMTP id l5-20020a056512110500b004fdc785058bmr1093582lfg.4.1690526064963; Thu, 27 Jul 2023 23:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526064; cv=none; d=google.com; s=arc-20160816; b=YdnheErkO/VylP8tPTqhsk5ClzGZbuIwnSRPcLDD4OwQNYyqxJfe/Hu/0RLsvb5Eo9 9GykJXXWN85rQnwCs8GbZJS6k3oA+FN56wr0LRIhTd58E8ahDoRm2LkG17I0wlI+vnFK Cm5dtLRTaSsCG9wfAPKrJympkgom4ga0jiHjcCx/V2Uz2S5oV7i1xcIM57Et1/6z4w+r puT6WlmkGbsy9Gh8QojMprVBct4X7mJFqhbIbNJlHdHtUCpl37TAuEW9Di6jDnrv4cTh mJaUOry5U0YNrzC4AcVkflAacXKY/ZzqWVYcLc+28rXKhYr05NCu7xTb7PXEywblysIY 1X3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PU0Mm1LqR6Sd23PVyNdW/l5iyuu7GETQ6ileDMCjS3c=; fh=l/lHk8eRVrXKgF4YSTLYZ9obSFmuCwSaMLA49Sb0yrY=; b=Wfy2+0k/uEaq+/jQi3LhJ5j1CRAeauRgcIXib7QfjgRvXCERVT/zWF/Se9CP2I+UpV Tq0nbiMM3ic1ydd1ZaqkazihjF/N/dueD88sRUzQWNj1bJeNL7l5RRmXWlxnxyEDi5HO Dn1BivrY1kIz0Ne8JCFySnfjhIrdOcKKxXJZOWssrZmD5bMSzDQznC4FiyvABp+Tx0XP kkhTdn+QM04tRnNZzLMNYzDXJQiT5D7dclzNGSdlqrlKZPdPS5EA9tEuxAAN18DNMQdl O3M1cU8NWkL+risx/S4WIUs5+/HJ5SI9w665+4CgS/QS/rmAdXD54lX4OlygEh6LX0uQ cE8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MAL6quyp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id g5-20020a50d0c5000000b0051e2527647bsor515463edf.1.2023.07.27.23.34.24 for (Google Transport Security); Thu, 27 Jul 2023 23:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6402:296:b0:51e:34d5:a23f with SMTP id l22-20020a056402029600b0051e34d5a23fmr1074950edv.23.1690526064620; Thu, 27 Jul 2023 23:34:24 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-62-70.retail.telecomitalia.it. [95.232.62.70]) by smtp.gmail.com with ESMTPSA id n21-20020aa7d055000000b0051e26c7a154sm1425057edo.18.2023.07.27.23.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 23:34:24 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , 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 v7 2/3] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Fri, 28 Jul 2023 08:34:15 +0200 Message-Id: <20230728063417.2980091-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230728063417.2980091-1-dario.binacchi@amarulasolutions.com> References: <20230728063417.2980091-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MAL6quyp; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Raphaƫl Gallais-Pou --- Changes in v7: - Add 'Reviewed-by' tag I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi index 9f65403295ca..36dad40dd0c7 100644 --- a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi @@ -365,6 +365,41 @@ pins2 { bias-pull-up; }; }; + + + ltdc_pins_a: ltdc-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>; + }; + }; }; }; };