From patchwork Mon Jun 19 16:55:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 110119 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3137840vqr; Mon, 19 Jun 2023 10:03:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6GJVTmfqMi/9/OPlBtnPOnAzSrC+MwpUYYwZxk2bKG2jqJzPmOAKNDEWOmm2TWtJoHYRnE X-Received: by 2002:a05:6a20:7f99:b0:10b:4539:fa0a with SMTP id d25-20020a056a207f9900b0010b4539fa0amr14137954pzj.1.1687194202180; Mon, 19 Jun 2023 10:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194202; cv=none; d=google.com; s=arc-20160816; b=ZbhZfHA1IDJPbYnQob2eb7y2ahH0dQX+6jw8O9zRFTLXshxQw6wqYzWxgLAFs6iZel wZZQ8eKeXOCJ73IdfgHr3y9kfuPc3F45QgJpSo0abjUFGJY6ghJaHuMhPVHNTWURLi6Z 1SEz1hjWbr89GuZG7IxLQ4J3Tt2TPOtsxbgajAFOLMRh4aWe4bpUIRjNsyYL2874tPMt ZfcE6MMRyWY5SMbGUAOrsXZP4zpDmiCerxaEJzh/xOxkuih68heNkU7K3DYw9EvHGh5i LiVYMF9/nce2mlfvWI+Xj2nwBl7t1D+Zk73zzM6oV+7UaBho/VcNGZ5XEastywT0VRqF 7AKQ== 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=VnEheSovvunB6I3AktXE1UaU+sD3f90l2AKOrWC4PB8=; b=XbLsSXSf6kch2sjyk+LfGZHXezudqc1RqfMw870u8PRBl69GDqSCfdawvfpon3b91S QVIeRyW9KdZLXjOgK3Mygi1tqhfUazD4qNTjOvwaAnKv9Y5y97GVcmp64k6YCaPvjlqA pl5n91F9Q+EPEBOo0rsqHLr8UtDSzsa/T2S90EbDzFef6SL3kxFGLwl7Uc0O392Ysub7 NXi1Ft/ajuoDZJ05xb7RzE0RMtD0b/k5zLU3ODt6VHIzEfIzOo1WDHk0DGnZ+mAP206E 38wj/J/9h221HuxVRtrg+WMNUlBTJM/j9xY7eUf3kLnlXNP5FTkjrMTBUgN4XNunGd6V blkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CUYIrt5p; 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=amarulasolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y26-20020a63b51a000000b00553867efc1bsi6463871pge.636.2023.06.19.10.03.08; Mon, 19 Jun 2023 10:03:22 -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=@amarulasolutions.com header.s=google header.b=CUYIrt5p; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbjFSQzr (ORCPT + 99 others); Mon, 19 Jun 2023 12:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbjFSQzo (ORCPT ); Mon, 19 Jun 2023 12:55:44 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA0239E for ; Mon, 19 Jun 2023 09:55:42 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7639688c2c7so133907285a.3 for ; Mon, 19 Jun 2023 09:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193742; x=1689785742; 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=VnEheSovvunB6I3AktXE1UaU+sD3f90l2AKOrWC4PB8=; b=CUYIrt5pJD8ocUg/UblZUpcTf2khtpPE1DC5HM5nErE3JTidL2E20EdWfHRu1PkbOC y232O6cENRxRS7/5A6k9h8AhnQvSlgS0RZHFFNZ8FjT9pwsfOovz1MhcEoeNQEZF7rCf R0IuIy6fKKqEE9PBoAfOUBcZEIFFEc8NQ4xNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193742; x=1689785742; 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=VnEheSovvunB6I3AktXE1UaU+sD3f90l2AKOrWC4PB8=; b=eIkqgr/7JFUCHRMlqy3qoXCe/lRnO6aaTnmYgxdY8UfoaFr3x5gwsFpCqCtLKn5arD PrCPqyOoUquY+G5j0KS9Mq6oLfC9/fwCLYxO33s0y/R+s06CQf09XBE5a1z3U6zBzHSv 4wmAkN7iPT45tAOw5oyF6G/hAH54PY2N85+ALTLMvU7UdzqfPY3kKIUTBZgl8v8qx1g9 sSt9ws4c473Wtc0agO4GpFcBtjZTNhX/IKhoDTCOgkMHyGpGNHnJ2U7JQSgmGlr0Fz3v hOHVBUqqWzIneHHvS5Q/MBl9b7UpxyDUw+QxBZfOq9oSZUu6E0PUxb2C8h/qEJPcB9Od YyOg== X-Gm-Message-State: AC+VfDxJgtPsKQsn65pqi5bBdpvUqclVn3b2/jK1xrXNTyq8L2XzDf6+ waqABB5tA4U4tSWLxQcCdhOcnqGa/vs1ds6XoHA= X-Received: by 2002:a05:620a:8bc2:b0:762:5965:c41d with SMTP id qy2-20020a05620a8bc200b007625965c41dmr4094805qkn.28.1687193741729; Mon, 19 Jun 2023 09:55:41 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:41 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , 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 v4 2/6] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Mon, 19 Jun 2023 18:55:21 +0200 Message-Id: <20230619165525.1035243-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> References: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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?1769151348172392697?= X-GMAIL-MSGID: =?utf-8?q?1769151348172392697?= Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. 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..36dad40dd0c7 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-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>; + }; + }; }; }; };