Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp843362rwb; Fri, 28 Jul 2023 00:06:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlE6WS//v1NfQRCMBU3c6Ydodt2acG1jhXKfWsIcJv0qbTcCZR3n5NPflXDgTyMqTy/k+OkP X-Received: by 2002:a17:906:109a:b0:991:f427:2fdf with SMTP id u26-20020a170906109a00b00991f4272fdfmr1415365eju.76.1690527977344; Fri, 28 Jul 2023 00:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690527977; cv=none; d=google.com; s=arc-20160816; b=MON866+Z3J3BThI8ysE2g+1QIYh1Vmvv3Q31Frn21NVwMXjr+CHngDTsJrbWgwRNB1 zakXBEgT1MIx2hA6hdHSnyqd0Df4iWfC557nD4cqB2nH97RPTiv+md1zfAIP10+LgKu5 L2Q/QBMn/kvok2r0u4+rAvPp89WazB320//HMQX6xRBWYd8aQp+7bX+1PSterXebA2ld +X4Zx0aaXRYEFLR7wSJRA/+3+8v36uR09ehQ+vQ0wMaQse1QewTTCy3Vy3aW91JC7JT5 rZoAZFX1OKh2vrUDP+hOmEuzeRdjRMz9Do/0CO2NRgfjSf/F1vCDmHY4Ay0B5X+YupAX yTnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kSb7V+l5INAZZY1BiIqNw95KAR1Jhg86zX4iEYTQuGQ=; fh=l/lHk8eRVrXKgF4YSTLYZ9obSFmuCwSaMLA49Sb0yrY=; b=A68OpI4U9oRwuFsl5z2e472HVq7qFe+BnizXb3eCPaZpaVTpMrMK8lNpPpYOAGPqKs FlS8SJVcfKVnrFbbDfKRQwii63d5o7zo1S1trOWLibg8kRVEoDcAtenFJndNZZJnBSDy /QPmeDN/Cj9dYyeFnJ0TUliA2ISdA0BgOORpK5qEIOQYfL+y6tTXr5A6EGO4zy8wai9Z FiAHClvODd2RKcTomCraaIxMDt41JhFZ9J9soybv9S1e0N3dqIeWR/qKsLWepz6MHNlV Sm6SNSEzKTDQkLlby2lu1/gOfXHY9B69eM3z+Ph8hWmO/2hZeO8bFSeeRwYYv7+JVVT/ ++XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YD4Cp6NO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j25-20020a170906255900b00991d54db2a6si2253105ejb.693.2023.07.28.00.05.51; Fri, 28 Jul 2023 00:06:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YD4Cp6NO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233668AbjG1Ge7 (ORCPT + 99 others); Fri, 28 Jul 2023 02:34:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233730AbjG1Ges (ORCPT ); Fri, 28 Jul 2023 02:34:48 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCBE74200 for ; Thu, 27 Jul 2023 23:34:25 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fdfefdf5abso2981688e87.1 for ; Thu, 27 Jul 2023 23:34:25 -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=MC9hGyXCGu9AkmmfUyugXDWImzKjB4vLXWwgu+7xzOZ4UX3RRe8DQ8poyBrGxk2Kwq S7Rrm5uId/l1Vo2ahVrV/KzaiQpy3i99ERM8/cFOLRd+kIseE6/N4BpPaxN2m0j+F+fb Y5zkvWvWhvRQLI4UYe5b/uHXyrnyZZqmyVyAbTHlwc4OuAEGWGrJ3jx/2G6ZdIuRRQ0f 2rWh1odsbIUdcpWMJ+X3dETajlFyInsU1Zp48Z9I4pKLbcpnPrTUSHEYsQJiDtEMLX4K QtKp+JqD4P71ao8Da+oKifWqSmqeGfSPqLuY0Cp9tJj9aQLx5/rn33mY+LSS+XK6TdKM dYgw== X-Gm-Message-State: ABy/qLbOaEQ5vH9SJL8DhTJZZ/lzZ1SFAAitvSaMrdLN16af53R3divw PTfPDQShrCSHrN6ocb+UeVLm/3WxG/NxXbMpG9o= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.34.1