From patchwork Thu Jun 29 08:37:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13296776 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 F1200EB64DD for ; Thu, 29 Jun 2023 08:38:23 +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=uBNQjHG81u7uz3 13/IuDuukq6xYPbujFdzvDJy1ns6eDj222xpyFQz5/JT1s3ve3TMhG++bl8P5tL2eDl6X1qkm3c36 WXTMSEgqj50pWJogQMrm6/sudGAbr/I9dgRPYD8ArJphOVzzgcDnR7DamPEJYrZtS2+4o8vSaBOpM ZFXOQxUusoFZ/6qL+t50XxDW7sstnRxGq1qAp4ueosPPDWgb6dVxIUSq+jYr9bBK9ID5QVcD4Pk3P PTueJbBTtL0fhVRIuSJTnSfkd3Luy2s3OeclIa36jijsXBRcILvmf9VEWKXh1N48LFRqoRuCHqour E1UhBcoS/u96GYK4uLmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qEn9y-000Q6V-12; Thu, 29 Jun 2023 08:37:50 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qEn9p-000Q3f-0S for linux-arm-kernel@lists.infradead.org; Thu, 29 Jun 2023 08:37:42 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3128fcd58f3so460177f8f.1 for ; Thu, 29 Jun 2023 01:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1688027857; x=1690619857; 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=P2631v8dfVuMAiCd79tBEx+XlHMPVMM1s0utHNOk/OYNwwPZaMZEJixyVemwzZqFjF t4dHA97W45eek30hweiCwgGvewOewA8URInIRt9tABHEHIl/mM5LxhhdVucJG4bOBRqB T5XTqEN5BrRD/8nop9mB18fbbs7Ung9qxkWn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688027857; x=1690619857; 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=Bq/cVrRsaADd/eq4LuifWfMn8U1kh38okOYiw8xyDHxTGmkos5/YrnoqWK+0vYNX/+ MVXnYE/LzoaXLDzDTi9NjvyOflxTLNhM8j6GBlj9PX37rnpOkQn2E4MBJ7cJxYY14ekF yc9WpYhuF8PiUJPaBJ1XgORvKhQlipnJ1QmKlYB8XFi+FWlvA9cZ5sn4K09ONPu0vB45 5o6nJZInD5xfURebxmI0k2kHfzbhsHGsa006FOzBLL0MdhZl2q/bchh4WdM4slYIFcSu OihxqG5U1FZu0KeOcKysOI477XKzD+YPNjJ7CsdQdclO+hM9B31a5xytoesrso9ASj0X KTYA== X-Gm-Message-State: ABy/qLatpiBmVPuPo59qJZHvGTPHMC1wWXQ5E72Fsxd5+czmHNvWY1uC QuVbtMHM9tagqf+ASYCCX8XOOg== X-Google-Smtp-Source: APBJJlFNU32ts4pU3Y3+UfcDK8gH6yx9+i1081/a9sl3Gib8BPeKZ1Y66EZL7iLlvMTB6NA3u+d2+Q== X-Received: by 2002:adf:cf0d:0:b0:314:1aed:8f5f with SMTP id o13-20020adfcf0d000000b003141aed8f5fmr527463wrj.34.1688027857170; Thu, 29 Jun 2023 01:37:37 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.praguecc.cz (90-182-211-1.rcp.o2.cz. [90.182.211.1]) by smtp.gmail.com with ESMTPSA id cw13-20020a056000090d00b003112f836d4esm15266322wrb.85.2023.06.29.01.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 01:37:36 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Philippe Cornu , Raphael Gallais-Pou , 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 v5 1/3] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Thu, 29 Jun 2023 10:37:24 +0200 Message-Id: <20230629083726.84910-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230629083726.84910-1-dario.binacchi@amarulasolutions.com> References: <20230629083726.84910-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-20230629_013741_176221_689B3C3A X-CRM114-Status: GOOD ( 10.09 ) 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>;