From patchwork Mon Jun 19 16:55:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13284829 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 452F8EB64DA for ; Mon, 19 Jun 2023 16:56:09 +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=ccyxSCvQhcYH0UIsTsNLTQaRFQ9e/KQctrZqXbipolQ=; b=ojyCP9RhlAzGI8 gI0VDhuP8LtdSd7yUn5BaODj5boSIjCIh5E2K2n0WSpzk0+4sENTIk7hffbfZgv76AFvCog8upvGy 8jxUxE7tMop0l96Ltv+EscTPwuhcZgoKMT3dSO5IrSE90r5hDcMR7Vo98IMo/iUtAT+xrjRnrk8/i C3kiTNEy784LvlnrXqns9+nqZVV685gKFUfEdWoBJU9HSLh+Cad6mEmtnJB/lspI1KH9NaJ54Fknq 853zY86IgYbW51CZuMQs8r75Epl8nFwoo4aWjrYaLOq4W7cvu0Fd21NYra2R8vJoNYf4+WfqffdhR OeLgTRhRfCBmdusDZSdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBIAL-0090K4-2m; Mon, 19 Jun 2023 16:55:45 +0000 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBIAF-0090HH-1I for linux-arm-kernel@lists.infradead.org; Mon, 19 Jun 2023 16:55:40 +0000 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-76241c98586so282325985a.0 for ; Mon, 19 Jun 2023 09:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193738; x=1689785738; 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=2jBqOeBntw2+ThpWf4KE8BMuMRq2HYj3RR0u0oHiddc=; b=fbehQPIELgMVuXKfNJ14ftlH1Mu99NGxZxmpav7OC/ejP2ZFu0DfrtcQSHiuGYciyl tH35FlqjRv13W3FryjHB+CgK9dBSRixA2OFqEyIJpPpFixhBr5rLl+n7IHU5g3U7IfSp px1owPuMpfK+cfi67OBColLfqKhxm6jvxVXoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193738; x=1689785738; 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=2jBqOeBntw2+ThpWf4KE8BMuMRq2HYj3RR0u0oHiddc=; b=iTKIbOXbbASA9qMTRYfxJ7CV16niWpd5G7N1rgqR6d4ud53FNyO9+JG3p7iRL3LciL FK0WEU2uFNEG6yhg2AI61aDI6tMhnnnFcegJsBcrZIhh8W6CCZ7YSqKdCfEATM54Al90 qJlY6Jq0Aah+oO/DGLwxEahHvRr2uZxdPBDErrtPZ1aZW+MOP4AJfVjOnjFJsVKABAkQ x+xEvKwhl8mSYjp2UxffhnMhn2mDylS586t0l9oxifGoKwn5jzgouN8F0iBu5rL6CgaZ qc0U8azqKO1S4/D4IYsv6VKIJkWoGK/3HERfg0tB6Yww5tnQbHcgsXZpedelKGb1Iqp9 LQZQ== X-Gm-Message-State: AC+VfDwkYAc3gU/p6+C8pA/m8sD1S1OzIxslcPTHiJBpPB5IjE8RmWOR R4IOgM0M7a2Bz8wn6f3hPGjXUw== X-Google-Smtp-Source: ACHHUZ7s9mMwA0UYhOrHV96GHITp2mcagElZVTFGi4BdgoRv2nHLvaYcNEfGRjJJhUoLnGeLKw344Q== X-Received: by 2002:a05:620a:4055:b0:75b:23a0:dea4 with SMTP id i21-20020a05620a405500b0075b23a0dea4mr12989246qko.34.1687193738121; Mon, 19 Jun 2023 09:55:38 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:37 -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 1/6] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Mon, 19 Jun 2023 18:55:20 +0200 Message-Id: <20230619165525.1035243-2-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230619_095539_441809_E8DA42AD X-CRM114-Status: GOOD ( 10.34 ) 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 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>;