From patchwork Mon Aug 14 13:28:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13352879 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 DF237C04A94 for ; Mon, 14 Aug 2023 13:29:22 +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=WvVCtPVtq66Xr1eAlwHbz/N+ID1ydAhAsB8/p1JIbJk=; b=FJ8mxf3f8JKs1Y 1E4OuiDumW/NlEceQ3i8uXI4FmHVZxl4NdgP/sEGGskPlgJ4XZ2UvZaYug2QVvMMQenoKYax6rrrK tn6i2uVe40i21r7N0EDmbGUdvhs6+ovYjYuyJ+CItxPxYeaN6uXp7F71Rlacb8SAXv+M0DRjzNGx/ nM+JxlqQE/NLgGL/FwHuduRGhNKwR2W5SaXTMoYdqPdRVksmp45JHDfHNraij7eBhVmQP2yi/pvCp ubBNoRubnR+qnrpIuE2ixd+9NpAm9o7PVMayafwtfhK4e0uTFbuqmkF9tmr/K1zUmwxuzcx1n83qs Fi6eVbndZbsY4q8K01kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVXcx-00H9k5-0F; Mon, 14 Aug 2023 13:28:59 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVXcp-00H9hz-2e for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 13:28:53 +0000 Received: by mail-ed1-x541.google.com with SMTP id 4fb4d7f45d1cf-5234b80e9b6so5883827a12.2 for ; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1692019730; x=1692624530; 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=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; b=hRjTej0q1SmXQ7RxhrPKq8YxYbEMwHfR0pOBtW0MqlX96YJDiK3xC8512YI5hhW9YH G+I4elnqAjpQG7Sf/wlM+p8Mh3ySSN7OoT8aXmXFSy0fZ32DsfVBgrTPesgabKvqxqT0 5v6z9pIF4LORwWFmKVpX4kX+Uh4n9Ejgs5Hdc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019730; x=1692624530; 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=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; b=RHiVJByFzK0LJ0HGfLLNsTikVfwEaiyYcsRhNlrixl7cZHurmATq53HVsF17XJ1mGg tqHUypexce/ZLPWtccd7XxPw3A8toyOY1v/PgDvYsw0ghu44OPjs+LhFFJaloXvS1UOE GtRJiOnDoc7UTMe+ZEmm1FbWaX5PvPNqt4ECSWwmCGyg2Be/ckJUsjSIHkenZiSSFqyG ffv01+M8avFTD/o9hNdob7QEXK2J88pd0/9HKVs9E4vH5mAG5t0uhn/p0ARP3eUqqmFJ SzAeB2Fmff8lx075xA8a0mp3x8PbF4glxEeIlCJP+kKOdh//BBSaeBQboE/zzMNEu/2z rZkQ== X-Gm-Message-State: AOJu0YyzTT86/aokWtuP/XVUpeFZLMg7fSmip8TSlq03FTCQQ//6DyYc MLKnnPaseJz3Gb+QL1FYtxKIkg== X-Google-Smtp-Source: AGHT+IHrCP+Ek6oNlG/yQRyJ8LYtU5jUKojVKzaEqEERLy+EkTSqFiav5MqrYVecHq8cJE7AIwBDng== X-Received: by 2002:a17:907:2c47:b0:99c:980:d551 with SMTP id hf7-20020a1709072c4700b0099c0980d551mr7499548ejc.50.1692019729998; Mon, 14 Aug 2023 06:28:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-204.pool80180.interbusiness.it. [80.180.23.204]) by smtp.gmail.com with ESMTPSA id e3-20020a170906248300b0099d02ca4327sm5662066ejb.54.2023.08.14.06.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 06:28:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , michael@amarulasolutions.com, Amarula patchwork , 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 v8 1/4] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Mon, 14 Aug 2023 15:28:41 +0200 Message-Id: <20230814132844.113312-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> References: <20230814132844.113312-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-20230814_062851_855432_74168F2B X-CRM114-Status: GOOD ( 11.07 ) 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 v7) Changes in v7: - Add 'Reviewed-by' tag I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ 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>;