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: 114244 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9492227vqr; Thu, 29 Jun 2023 01:56:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4KQ4eMPVzMPs9DNu8tqZORkV1Xgx1ySRk1a4AHr1IKpIliJkXnbMjDzHWM8T5radCkEE19 X-Received: by 2002:a05:6a20:4405:b0:11f:985e:ae2c with SMTP id ce5-20020a056a20440500b0011f985eae2cmr3128813pzb.3.1688028978571; Thu, 29 Jun 2023 01:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688028978; cv=none; d=google.com; s=arc-20160816; b=qu6DHyAD23t2L7jjY1RaDptXTwMPh9jU6BS5XLP/mr01rMHvcFQkT5fje9cP3q38XF QCPFR8jbXKw89DZUxNPnUDhyMgEa0sZ1M0DcOCftkNagX+9bhNLWxjBu+ifad7rDI+Fh 3PKEKBKDs2U5RU01IQjghY1z4JcfSxIgQKkMyPhN4qVJsyHv4qpaPHIEgdt4fNUpo5Vg rlod9zuF9ZHuqwIktEjOKCA9ztE/yBGK83XAaGDhO2s23CfLObHymVlzBCghJuWgF8Nd M6ogYKqc0gLTeWoEXAcRTUfwNQ//LNGUdIPenXYULSGObawBSWZ/5JjLf54xFRT25n3S Uarw== 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=2jBqOeBntw2+ThpWf4KE8BMuMRq2HYj3RR0u0oHiddc=; fh=Hiy7Q8qPwQ3beEOigEtYc3oHRWyraRWB+Nlyxp+mVig=; b=xvHuAgIpkaBW9xFv9sZ0TdPbDGX7DN6qTHgrnj8ZO+aIMcCNkzG7tHXAV80ktCbFS9 Uy/LCE8I/PwDlgMlLi/sTKzRn1RHqOTk4wtH8Qgb4f45hk3ZXkaiVSe78hfkS55gbZ7P eR+dEkrMSL7l/n8M1bu/O3yhANGOMLgX9sUI25N6pX42+q2sEln2JWIDFOXcujET0q1U cZqv0kHwacMhDytV3TGJHf1ZL4NVAKBpejXHBvXTrFeOW6JFf9S3NlPL9MAeoDPP5l7t O1TO/a/reb+3foWIJo8fCIOF6/JZLYyADwLc2oc650tvf3xCuy4E9OzeYmphcB/VNRY9 8w3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P2631v8d; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c23-20020a63da17000000b005340840c0c8si10364557pgh.327.2023.06.29.01.56.05; Thu, 29 Jun 2023 01:56:18 -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=P2631v8d; 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 S231461AbjF2Im3 (ORCPT + 99 others); Thu, 29 Jun 2023 04:42:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjF2IlN (ORCPT ); Thu, 29 Jun 2023 04:41:13 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D48BE3C3B for ; Thu, 29 Jun 2023 01:37:38 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3094910b150so472779f8f.0 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=KnoqwgPGrbCTVzKcGtrDw6JS1bkQlfOhpb248RU7RhYwd9dXQpYF2nwgxRtmitVPJc v9USp7fEL/zmo8WJQYDDtrpCxGz7KOpsLGEbscbVj6TbAvNSnEBvzz7uOjvk/jMamn4M Z59+UhIntT0jk+mx6ZudOwdgI+CJwiNgO5eboh7Febu2hfTWlhiZ1GuN41h0IXMRMKvo IiY0HqPwd5f4Y7y9W1LTC0lhoq1C8KOHeRTxc6+l+ExsYgkENmtJdCzlFTSmJ9cNIhv5 L8f8UrEwymtMkGfs1kIbd6kuNI6tEc+QL3ILw3Udnkrz3g7jbVkdMYaR759icK3ae/f6 ARAw== X-Gm-Message-State: ABy/qLYZ8mwS4LCdlLAhW7Uu3XRPOSHT36pXSzyBsd53FC1P3F8SwhxD R09suich7n7eOF9GeYOSKPVw/tTgEhbB0knb7Lyi+g== 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-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770026674352393696?= X-GMAIL-MSGID: =?utf-8?q?1770026674352393696?= 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>;