From patchwork Fri Jun 9 06:20:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13273273 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 C47B1C7EE2E for ; Fri, 9 Jun 2023 06:21:46 +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=YgPpT1YEHzeAyT F+wbz3BcBXsXmyszBpC9QCsh6v35Ejn8MRegydUyPRgN1TMySUFtfJrY7/kdG79zrPjs9jB7sCdaC uejkIuZSFtwNM2OysyABZCv2/mcgsiNPjjrTF+p+4oqhwAnk9CvHmGJO0frY3CMMwM4CbbQxewLd/ 23F39fnyXXzi5uWzYa5zrpYiYNz7hkf/ayQ8am9wiD73oaI+Z0dgcEklBFKEOCl7hhxiY2qeojZML DPVt+LXfz8iaJZlSRb/ZE+J4SCgpcsslUuqinO3OdEJqcYmYpminfUKYZiRNC0FxjnTnTnTjtrLe7 9AwmaWQ44wEmK3cz+pPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7VUw-00BqZU-2K; Fri, 09 Jun 2023 06:21:22 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7VUu-00BqTe-1G for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 06:21:21 +0000 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5169f920a9dso3113830a12.0 for ; Thu, 08 Jun 2023 23:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686291663; x=1688883663; 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=ZhxX49H7jgfUHEsQNMUk4/a6UbIjuqRJAwYW/LT42aNhof0z6wH4OBGRGgBWA51aek ydi0MJqMstzS4h5jqV+tcI9Ok9QO0ULC9vwBrGAQ3/rrlcCa48S6zHTCXcXwo0mqWnAt 4sVa0oueq6eWCE+ifmpEydDQztHEZ8P9qYdG4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686291663; x=1688883663; 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=jJt2iVumts/ErAWxpl1bkVAZBjo9LTQhi663wC7kHtpzQg1TauJpVBG4BcdGYOvHJU uhpjOlwTU7/Hi3g5lywaaVMbqal3E+Mc6bTfsFLcbkTZfWIFYS8jvxrkUPPYVqYiE23O JA8tu8Qx1I9lT8o/thqexTeP3q6ogkDG93FGLfHc4+A8UQ8A63DG9zOfzCeox9xfD9MM Jyzn2x5cCD73YsZV4uCPQR9KPt7Y4L0M0iWB5gscJBZX1FIamvAWlZGTNwN4BdFwV++K mrAbk02U5lyZZ5IjjQ6MW+ael+bx+L0bmGQwXykkEqlJTt+Mh4+IyNsQ5rBQ3G/shNNJ dE1w== X-Gm-Message-State: AC+VfDyjvxkRHxOc0W5kooXf0nIuz4r8Kdm4ilS+/owT1dxQepzJ16w9 qzHvq0heyaxCBQOKwrWH9/gQSQ== X-Google-Smtp-Source: ACHHUZ7g6j/eAGApo5rh4URafnlF1N8g8+7/FnNy4oGvFK8B9Rr2e2tuFQhL9N04HORhDFvBXMITLA== X-Received: by 2002:a50:fb8d:0:b0:514:a6a6:facb with SMTP id e13-20020a50fb8d000000b00514a6a6facbmr825875edq.13.1686291663395; Thu, 08 Jun 2023 23:21:03 -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 m7-20020aa7d347000000b005149461b1e0sm1380058edr.25.2023.06.08.23.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 23:21:02 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , 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 v3 1/4] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Fri, 9 Jun 2023 08:20:47 +0200 Message-Id: <20230609062050.2107143-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230609062050.2107143-1-dario.binacchi@amarulasolutions.com> References: <20230609062050.2107143-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-20230608_232120_427572_C2DE6B89 X-CRM114-Status: GOOD ( 10.15 ) 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 Reviewed-by: Raphaƫl Gallais-Pou --- (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>;