From patchwork Wed Jun 7 06:31:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2910 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1E2923F080 for ; Wed, 7 Jun 2023 08:31:48 +0200 (CEST) Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2b1a7e31de7sf40185631fa.1 for ; Tue, 06 Jun 2023 23:31:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686119507; cv=pass; d=google.com; s=arc-20160816; b=ENrNbbzXOJWQH1EGQfuH7W6Lg/DZTYGr/fvjLEwMZMQCJgMxegoa2l2MKfA1EWJoBo S7OFWQiqWRrdaoiyTJcSLglS9CAhrGCYpF9OBqDlzY3U43PrauTMdyvaMwp3E6VEyqR5 4SrIEMO/JOe5vl7Jyn7JLyx9/tYneqPZ2/m52rkXyYZB1mMsMIlOZkFKRrkWn5N+NKFo UbZo2iLtRfBpEnjiA2wm43j6kXsZ88+GOxQ++IWG5lrUdCGPjPZkzGp1rxuQL1fJljxW ZCK3dpN2NjRxgAcg09ozMmZjsaHWV+WweV2QLx/4u8CqWFtGxon5yvM+69ZI661qfWlD ksJQ== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=l2D2/8AknyIwYZD7GAI9/ZhsamKkRrpbm4JT72px33w=; b=s7j66UgZ6IvnElfSAhoty7f70Zc3D/wJnqW0bEw0n+NqJWdccmLSCHCPaUhrfylhpQ YfBKrSwjwbrpGUAEOQaI02brHJviVDgzVQx/bbgJPUa0Gx4Leo0BWZcydTqxDGAvxQmd vOMHMUpcShwvrk8jbUSqXPLBH+MRWyHE/Sc+fVVs/bMquim+5i48gz73moGgqILbAs3J 8u/KHl6ex7zZxejWcjvZrQMaszkeXecti00Wt/PsPgJzJtXR4J1qqWIw289RoI7Ry2CV /fhIuWVJ7F4/P0iWu7nYUNqodnDWPAAQUO8cMBTaUWAy7t6p6G9grsQ2zxGLQQgNfOg8 HZyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="g2j6/JCV"; 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=1686119507; x=1688711507; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=l2D2/8AknyIwYZD7GAI9/ZhsamKkRrpbm4JT72px33w=; b=Zawd3YhhPTMoBFN2HmINlWSH1UGQUircd1DbhhineXqkd5wocBYFKYNoITr14sOnjZ 0PGph8bqwU9/hKVLOKk6hj6d9gespmdivWQoKiUG0gy06YlI05rIIK5eBL2ydftDAMgg GznEUGwKOYxyC1fbSkopXtwxNBhedTZ9Pu3Gc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686119507; x=1688711507; 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: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=l2D2/8AknyIwYZD7GAI9/ZhsamKkRrpbm4JT72px33w=; b=FobGJEc6DU1V2nkx9/AXFvR5kbQmuvJ4gA9hqoYVd6KJx3jjUC8yPvAal9vyiqxxcL /qZtbqeLyFoe+67HWxq6DP5JDOLO6ja67ka3AXHm34C54L2expNNoiw9/gXQOMvA6OBi QwD9gFX/mcjmZP97gyIOPG/NGyElFC6ppRycpyeiCrloeOo951yBIXgupuMRLC8/NOcu s4z0c4e7b/XXvU5aKSG293uow9kes0lgZL48sf+VAivBi4LbVae981vWazM5QFLkZCQK GpMe9mqXvqppGKVa01/Hr9uAwefqE3fQDbf5F2VM9mig6/e7DEvSzEdHXmNwdNxIxeoZ 82Pw== X-Gm-Message-State: AC+VfDzYvJF5Gi/fcrEY5ZYZk9ecZustXSsmRn+HEpTFxUO9PwaqHIkz sIQBmHC1+kOFgnn0hp6P4nGrSFNv X-Google-Smtp-Source: ACHHUZ6Absb9wIP0YrODCS8LA3++xsJTUOfXstzT26DrfHTrIsIR2FGTR3HKw7mNZto+qwAtuxAPKg== X-Received: by 2002:a2e:b0d2:0:b0:2ad:90c8:7fa3 with SMTP id g18-20020a2eb0d2000000b002ad90c87fa3mr1909888ljl.29.1686119507329; Tue, 06 Jun 2023 23:31:47 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:651c:1c7:b0:2ad:a1ce:ff1b with SMTP id d7-20020a05651c01c700b002ada1ceff1bls7996ljn.0.-pod-prod-02-eu; Tue, 06 Jun 2023 23:31:46 -0700 (PDT) X-Received: by 2002:ac2:4a74:0:b0:4f6:2852:5f57 with SMTP id q20-20020ac24a74000000b004f628525f57mr1622471lfp.19.1686119505693; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686119505; cv=none; d=google.com; s=arc-20160816; b=Ok8a9/eXW1T9wvPq9mT3psOJ3h/GwMYQ8vCiuABd1l0ZjQtABwJXhEPSc/QLlgPQ2u U+vU6715NHUH8O5q6vPmwyp01S9Q3C13J+aWonNeRM8jsnrfauofWyKOwdhv44Qz/X0T 4KoWzOIZLqw/ZAhmglKtSKEn+6Z8DvBxkXEufQfYzajse9DrARaoHX6QkDf2L6+5VOFH 36k9ZhhtBvt89KV+dqKeaK5yt1yKXNxUrcpSvluNuf6fO9dQe8UqRBaZgciP7rAw3zC+ KbDcdbAT00EKRDzaFr/GXthKm/Us2G375a30HlVVEjOI64kTv6jipvIM6GRuv9Wd5VdN bl4w== 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=2jBqOeBntw2+ThpWf4KE8BMuMRq2HYj3RR0u0oHiddc=; b=GXI1yq51l+o4q9qm47DwPODN8Au33jydFnjIeldLN8BnHOKshNyvcC82jx/mngwuW9 2XI7kYhPAxvS/+4FtjEl/lKSeawSo9+kH78FwrUduzU05ML1OmtUGcmxyOWO1eEQvgx3 ZTRL0qUkGu/PEpbMHUpxeCHSbfMNDX3zqK4cdpiotscEbMft94eCXIf6XJWowOhxgrjd /Tz39UY27G7JNqJGDGHeHKF0WITyITVqlW6A8cPahOBd7sC+RCHL3Ao+cuUtsNUGtgrq 3ttOYNwMo/WVAjFSy0hnw9VMj70UIb2wgFXDl0bXuBE9QOU1gOr1UQcSvMgpLpPo7/qX rQWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="g2j6/JCV"; 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 h10-20020a056512054a00b004f5d04090a9sor3399443lfl.6.2023.06.06.23.31.45 for (Google Transport Security); Tue, 06 Jun 2023 23:31:45 -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:600c:2158:b0:3f7:2e57:d3af with SMTP id v24-20020a05600c215800b003f72e57d3afmr5795147wml.11.1686119505366; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.114.163]) by smtp.gmail.com with ESMTPSA id m6-20020adff386000000b0030630120e56sm14385127wro.57.2023.06.06.23.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 23:31:44 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Raphael Gallais-Pou , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Philippe Cornu , Amarula patchwork , Maxime Coquelin , michael@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Dario Binacchi , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [RESEND PATCH v2 1/6] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Wed, 7 Jun 2023 08:31:34 +0200 Message-Id: <20230607063139.621351-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230607063139.621351-1-dario.binacchi@amarulasolutions.com> References: <20230607063139.621351-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 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="g2j6/JCV"; 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 Content-Type: text/plain; charset="UTF-8" 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 LTDC (Lcd-tft Display Controller) support. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/stm32f746.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi index dc868e6da40e..9c4ba0b7f239 100644 --- a/arch/arm/boot/dts/stm32f746.dtsi +++ b/arch/arm/boot/dts/stm32f746.dtsi @@ -507,6 +507,16 @@ pwm { }; }; + ltdc: display-controller@40016800 { + compatible = "st,stm32-ltdc"; + reg = <0x40016800 0x200>; + interrupts = <88>, <89>; + resets = <&rcc STM32F7_APB2_RESET(LTDC)>; + clocks = <&rcc 1 CLK_LCD>; + clock-names = "lcd"; + status = "disabled"; + }; + pwrcfg: power-config@40007000 { compatible = "st,stm32-power-config", "syscon"; reg = <0x40007000 0x400>;