From patchwork Fri Jun 2 10:21:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13265034 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 34043C7EE2F for ; Fri, 2 Jun 2023 10:22:08 +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=L5tb5VSVSD3xWU OhZEZc2WxJm/oIloJx6jiJdFGPXD+oivzosaZPAkIRzNMzWKiHBN8SJ0NdELSsDOA1CD2DmQTYS3K 7TV+5YQZct84bJAlmeG2otOnL6ACPkWAjeU8oXwzq7kqBENsiz5EJunBsj7QnImDnBPdxqrJa9qh1 sDG04o6fBEWqBjrimfi5PJfj9Rc4to9+TIy812Qqknd2501OPeGMpRuVbZJUagp84/nSN89SLVVbS inMRJ484elZPSRN3lP7+7iXg5Sjmm+tCufVj5EdAOG7MxYjUE5kX+awUKYHkvapV3UpVdE3qanw2g JHVWDKS24NTpKS9zpypQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q51ue-006UuH-1s; Fri, 02 Jun 2023 10:21:40 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q51ub-006UsY-2Z for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 10:21:39 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2af2d092d7aso26915321fa.2 for ; Fri, 02 Jun 2023 03:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685701294; x=1688293294; 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=kDwCkNaE67Q0xUnrv6y3DR8jLIIS8R9c9QKIj9k4/HDG9shGyNJc2foYrF04sUyYzi wFf2hmqJMxPT9qwyw3s7IFZI9Z/9Su/GFyHb06gOC0kKp63hsWwD4ADpHRkRWIGPcUng 3IoJjsZ7X1XaHRY7eJBjBPRJRcW4sDECsPsC0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685701294; x=1688293294; 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=JkIjAs28EXq8Balstk6p57A0QgMchSLC5rwH2PLU7I+xRCLdTZv4Q9Tc+7rUK5be5i /z+jrjc1N62IPmoRkcBSd175TMaWHwl3beULf6k3dxPsope1m3MR4lskQKd+EfgQwXHD u9ZRAbWdPDDioukCrjT6akeUj7ZwbVyEq1pHQxShZwtVxlL4xmErqFIdpZVm9cGVM96X 2mm301GbGu/e1BpwP+EOyo5yr7wQj7i2Rq0Llx/DGcXKjarZ+jxwgKXqLd+V1y+dpdCh sYBZfw0zNhHArV5vlbzMyuOckvdZ515X56O5TD/WeCJ03nYTVxQ4hqEQiurZrz/DVREh JBWw== X-Gm-Message-State: AC+VfDzm101GA1G9hdP7vlueGT14it0l9M3yGlsreq/r0UMCwqgqH7XT Eo0MvTRZvpuhPgYraxka9v/W8g== X-Google-Smtp-Source: ACHHUZ7qNYOTd62VO/6IL66B8KwBoBWo35rkkPU2puqC/C52R5d2ygI24jDexCF3WiO0CEv1gBe8iw== X-Received: by 2002:a2e:3a03:0:b0:2b1:abdb:8783 with SMTP id h3-20020a2e3a03000000b002b1abdb8783mr1002587lja.41.1685701294571; Fri, 02 Jun 2023 03:21:34 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-20.retail.telecomitalia.it. [95.248.31.20]) by smtp.gmail.com with ESMTPSA id x24-20020aa7d398000000b0051499320435sm528887edq.14.2023.06.02.03.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 03:21:34 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: 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 v2 1/6] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Fri, 2 Jun 2023 12:21:17 +0200 Message-Id: <20230602102123.3345587-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230602102123.3345587-1-dario.binacchi@amarulasolutions.com> References: <20230602102123.3345587-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-20230602_032137_836141_744F8E6B X-CRM114-Status: GOOD ( 10.43 ) 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>;