Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6642221rwd; Mon, 19 Jun 2023 10:02:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44PWhXN56FQ6hI7IQflfeEroXaxvs+l+F0iKcZKv8/Bl2rd07IeB8ljBoXWtfgsVWvQ88y X-Received: by 2002:a05:6a21:3288:b0:110:e7bc:b0cb with SMTP id yt8-20020a056a21328800b00110e7bcb0cbmr13944396pzb.39.1687194153763; Mon, 19 Jun 2023 10:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687194153; cv=none; d=google.com; s=arc-20160816; b=qE7gOkmBETiYaszqcaDgYzzGPeMql+jXrVmffji4/x9RsEIkX+IzRkZq3W1js+lYqu bZu6iRuU4tQ/FjTTZahkwR+UH9tnBA0urtnm/D5+hfcKDhJTwgWZtkFnMWEiKgsdjuDm gYWhTy+ZZGuUbKWsXBfTTYm9XOAHpowRnvM0T8R0ZunkSyNSvWLYvnBDJIN8g18oa12c 9SA2N8s3o9+TLkV2OVLVstGRfaOd5YnbHrwxta8fa/OaM062XC+IzpJ52Zy2ioypTEJn VU+FJ6MP2BKRwMBQ5jbzS08jw/TI9tdllXHHNDTupv6xqHjftBjcH14LYf4H53DC5t1x ks4Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a170902a50600b001b55f047727si183207plq.36.2023.06.19.10.02.02; Mon, 19 Jun 2023 10:02:33 -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 S231127AbjFSQzr (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 Content-Transfer-Encoding: 8bit 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 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>; + }; + }; }; }; }; -- 2.32.0