From patchwork Fri Jul 28 06:34:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13331254 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 62CB4EB64DD for ; Fri, 28 Jul 2023 06:34:51 +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=6ACpy03wCHfvXnvf5AT6XOglUC4Zu1OH5xoxSIS6LDk=; b=ISjS57f/n7G1AD QNwpIMNwo2zQZ4VBNOT1eZUfdZj9GyrLrE7lp1ZGBwKe9nu9V9p4M+ob/EWs4QDlaK8ueM1r7gZtz ZN65J41a7zGXyTAlyGVv4vC9nnVdmfwJuF9iRcY5Tzqbob79MxIsyRK5BA0cFzSVLfhvWqurwAkZP TP3eQ8qMw4RbCcxc1u4hOTeSffIf7QRmLUutfgIpxTjkQuaoKGIEekQpIUinGLt04ZebLAC7irfyL dGyNeuJrht9k09zu4ewfw0FPDyK4wIcuxpcdE31jVwyV676mBB1KpOYg8r5XkXs3RJtOAgJAkej/U 7aKog+9W80LhcAgaKIFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPH3U-001u1g-2D; Fri, 28 Jul 2023 06:34:28 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPH3R-001tz4-0R for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 06:34:26 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fe0fe622c3so2962437e87.2 for ; Thu, 27 Jul 2023 23:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1690526063; x=1691130863; 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=kSb7V+l5INAZZY1BiIqNw95KAR1Jhg86zX4iEYTQuGQ=; b=YD4Cp6NO75tumNAqCVjMej9Rug0LbmNWvceQr0SzbwAKu2Nygozw4URutDcKKYfext DusewMKsW8+lLIjRK0r++OK7/20chp1hOy3DcfnF0h7ZXU9l5SJiXO8SroYMZ0xNXUri JT2QOSm017MWFpT6zSsy3Qzr1/5s69EccMGEA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690526063; x=1691130863; 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=kSb7V+l5INAZZY1BiIqNw95KAR1Jhg86zX4iEYTQuGQ=; b=Cc+/wUtvdfJC8elTg96LgfmALsbjvOXo594ufseO0KbdXN9LkbGblUb4FFvYvgAMiJ xFqk61hFf29wPspnVrZ6rcqEn9l1D5NG+PU2/46N7ga4l3WefoxCzltByZFE8nHobdwy vJOuuIFqg11ClYVveCuR1YKSnXcUdmYNRenqmF9Xoj0q9qfiDbZ3hJdNByUDfmdZKq48 UZ/PKSF7V2cw8U3ATWXkaGM14yBFvlLTDiJ93Eaz/yycgI/Ar8IQNdMtMg4TJoQvs23H 27t01al3DVfDGZq5+usqZQlDPPiERewT4bys01ur2c6XATx7TfOsPI/C0tNB1tvmn88m zFcw== X-Gm-Message-State: ABy/qLbIj/hupMFUbNMfDzA8b/FAKE6/S4AOZM5N8PAcuaWWTIjC6Gri rQIgZS3W6I+X8q7dbnRr6QZ1DA== X-Google-Smtp-Source: APBJJlEOqWif6a+SBSBCiAAO7oieIt/NQUYY623dGOgj4qHsxvy+5BMXSEmHibFtUpg/cSz5KRNRHQ== X-Received: by 2002:a05:6512:4007:b0:4fb:829b:196e with SMTP id br7-20020a056512400700b004fb829b196emr1042929lfb.2.1690526063051; Thu, 27 Jul 2023 23:34:23 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-62-70.retail.telecomitalia.it. [95.232.62.70]) by smtp.gmail.com with ESMTPSA id n21-20020aa7d055000000b0051e26c7a154sm1425057edo.18.2023.07.27.23.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 23:34:22 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Philippe Cornu , Raphael Gallais-Pou , 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 v7 1/3] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Fri, 28 Jul 2023 08:34:14 +0200 Message-Id: <20230728063417.2980091-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230728063417.2980091-1-dario.binacchi@amarulasolutions.com> References: <20230728063417.2980091-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-20230727_233425_173728_DCDD6D3D X-CRM114-Status: GOOD ( 10.86 ) 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 --- 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>;