From patchwork Wed Jul 12 06:29:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13309605 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 4CB74EB64DD for ; Wed, 12 Jul 2023 06:30:13 +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=H3bISgiiLkhRUcThRoL/NCFh8hYU5ZrZ9HqAtrU+K+8=; b=NpHOPNn1Xpm/We UkbBKYkBIn5lXM2o0bMN8XOV81mXW41kLJGekEBi1wW3fEfCKj+CGVoqKEM+FRYurnTrevva1oGTx D2kBycCXuWS0EOJi7tLvwBmE7LMJAiswzWraggYGJKQk/xgQtLy1Jolnth7+KpOy8BrqmyERh8INn Hut7fKeXcRlLZqa1AL4DwsS7dLmMYCR55XQiOaIldq0a2AJkhacxaSUwl9wJMJMbuSds08LDmTLL7 XatBR27zqT9YomiqDEcw+6/Hxff8hrGhT+HH1oiHZY6udoULN7xvVnLrNxxlfkRgOQtRMus+vhkZX uw9k/p7l2uP45EfLLN8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJTLv-00GfpN-0J; Wed, 12 Jul 2023 06:29:31 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJTLp-00Gfmi-36 for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 06:29:27 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-992b27e1c55so797179566b.2 for ; Tue, 11 Jul 2023 23:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1689143363; x=1691735363; 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=QIHZ9R3luUe4h54VtlXXPhHVEQN7PHyTj2OXRY7l0a4=; b=nQ5MMGz6V0Ctiba8knaHIj7gFUUj3nYQBV/sFw4uU/wuarxFZps0zaiCEe3BzfYyny I0pkEyQoTSQqrtp34Be3hrW2vv+FhKjh5t9WZ0MaBkOJSJzGOZ4Bz8HljgqjD6UTm6nh okJm9ogtaCbJYqjZTnvTN/9VpTWwJPXFzO4Og= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689143363; x=1691735363; 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=QIHZ9R3luUe4h54VtlXXPhHVEQN7PHyTj2OXRY7l0a4=; b=SvXMilyu3d84cUKKj8b5AVoYCwMhQY9P7RA3D/4W2PCb/1oTfupAFAEq6bhYVNJkjC TeY9uiqO1dF7s8KcWMgloUmnVfB0oS3oGBEt+GQut0ZvrWqgtflB5So49rd8cTaowRRv BbLEwgJm7w+csRoXzV/eVR8+nkGxIkESLWO8Xj0WcQlhcIS9LszHEbF3IZ8U9wcbkSTQ w7xfmOBN6dHpMOQYhdaphACTheIioRWdtlmp0slwLgMEfkWvygzLtglZI+byqO8WkH6p krV2vW+oUTBlM1p6lFmyTLm2tFE0IDXZfmwYki6RG3X2cta3bFLk1sfTqV2UysWjOrta GS4A== X-Gm-Message-State: ABy/qLY0FETIJkedNZV4DaFqIQ+FNKX7jy2ianFAcekP0zs0zY+4kYbz Fsp+HgFKGX9Pc8zhBkp95KUHtg== X-Google-Smtp-Source: APBJJlF6kaM0+Fj/YeEAF0tg4VcXht5KPiPTGDDsWu1QP0RK4apL9ZGQ+NdBjHGi5HVQe+wd3fhqyg== X-Received: by 2002:a17:906:3504:b0:982:bb95:5014 with SMTP id r4-20020a170906350400b00982bb955014mr14341745eja.64.1689143363363; Tue, 11 Jul 2023 23:29:23 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-82-58-49-236.retail.telecomitalia.it. [82.58.49.236]) by smtp.gmail.com with ESMTPSA id d21-20020a170906371500b009890e402a6bsm2065390ejc.221.2023.07.11.23.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 23:29:22 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Raphael Gallais-Pou , Philippe Cornu , 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 v6 1/3] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Wed, 12 Jul 2023 08:29:16 +0200 Message-Id: <20230712062918.2248573-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230712062918.2248573-1-dario.binacchi@amarulasolutions.com> References: <20230712062918.2248573-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-20230711_232926_001722_A798F083 X-CRM114-Status: GOOD ( 10.70 ) 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/st/stm32f746.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f746.dtsi b/arch/arm/boot/dts/st/stm32f746.dtsi index d1802efd067c..36eda1562e83 100644 --- a/arch/arm/boot/dts/st/stm32f746.dtsi +++ b/arch/arm/boot/dts/st/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>;