From patchwork Mon Jun 19 16:55:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 110116 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3134739vqr; Mon, 19 Jun 2023 09:59:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4n7xO7a/ITwRYBcuVrCesQmcnq7/F41qsMp4JDYMl/xvGtfQRN56TDlaswApTc1P+CeG1F X-Received: by 2002:a05:6a00:1a4e:b0:653:a90e:b63e with SMTP id h14-20020a056a001a4e00b00653a90eb63emr7065300pfv.21.1687193983993; Mon, 19 Jun 2023 09:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687193983; cv=none; d=google.com; s=arc-20160816; b=aksbf9eliT9aEHjQjnQUQWx0c52iHt8tP6NkvbE3BjJI41FOhZg6CKMgAHIICCYPlc UKT97cknvMgT3ueyS5uwDQZySaRoU9bh9bq7oj8X5kwFn4uq1j3fatjBO5sVTJjWYNn8 SWAWeVTmjOOTlg9laQNIqRNG5Hz5RMXa/TcbUbG5SuvB5blibUqg3enuD17bx+Rhq2Fw 25uTfhDzwoqAFLh62gf79PG7uzQsP0QsvXFdERbF8472uuNwdfokw+pbUU8P34EhrLwt mdl4bM471Fs4x5mmzAqxVSWsdWxS3rdiSidugZs3RXQaoVwlAlZ9eDe+VuTke+KoFTXj PmDw== 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=; b=v61qa4r1Zey/7xJNwPPabU6P3xq23n5edaj1gqQ0ZFCDZJeYpXOQdS3vttDJdeU5ve LkucuRLUu0AhaOu1jF9jK862efOOJcmo5qGdC8ttmMwIHk4VCIOIi6sBk8JJbJfr7OAu QuZtWO7pUSYTHG511mpjhht+FKvc6KkNAibb/BExeZ/fyIlSQ9fym1yNhSt3lR53udq8 ALjrOn8lYh4HFH4wXhp67T8d76RD0m5mb/9nw6CjxrC8ZevWd96waADLq7Sff8q9jrNc PK5IEZglHUtohd0Z0CyY/EBInMLcTscLYJ69ggYxxpGQILCyd2XJvY4BsNqQwBjmBU0P NpWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fbehQPIE; 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 k5-20020aa79985000000b00666e788d8fcsi1403312pfh.57.2023.06.19.09.59.24; Mon, 19 Jun 2023 09:59:43 -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=fbehQPIE; 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 S230000AbjFSQzo (ORCPT + 99 others); Mon, 19 Jun 2023 12:55:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbjFSQzk (ORCPT ); Mon, 19 Jun 2023 12:55:40 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D407127 for ; Mon, 19 Jun 2023 09:55:39 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-76257c11363so191404085a.3 for ; Mon, 19 Jun 2023 09:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193738; x=1689785738; 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=fbehQPIELgMVuXKfNJ14ftlH1Mu99NGxZxmpav7OC/ejP2ZFu0DfrtcQSHiuGYciyl tH35FlqjRv13W3FryjHB+CgK9dBSRixA2OFqEyIJpPpFixhBr5rLl+n7IHU5g3U7IfSp px1owPuMpfK+cfi67OBColLfqKhxm6jvxVXoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193738; x=1689785738; 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=SfNbNDfdVV977F2pPQUNoW6w6L9FxPu+fUDvq1uVvW+ocRb6lNzuzTzOeJx9Y1Ya6g r2f+GGVF/PN7Hq/zXo5ZxIuW11zwxiZ/0WfEA5Qh7NPiSEhr7cZdoYFv5HKQ4OUQEvGP fTkcTJDHSLYcJsV+IGiHrL3gAvDxeelXsZqSRRytn5taRPlalUzfcYRchz3Yp6rm+aB1 gmTQZ6rQHQEi7FO7lunkQPSMdW28nVJJmF4Li3BT5tU98IV8ks7Rjd/Qup9QlGr15JHx SuvRs3rU2WObM2/qZmw2Q9bip31PNYZWNaXydjbKg+ALNWjvzBhHsa2R2PR7VlHWKWGO +nAQ== X-Gm-Message-State: AC+VfDxAo6hayGmnXL4Bd6ng/sXj1DvGGCEaAYjPYA64um5UUv0yWe/O QFeswfLP39J8P3nWYrVBi5cGT+mItL3SIODps44= X-Received: by 2002:a05:620a:4055:b0:75b:23a0:dea4 with SMTP id i21-20020a05620a405500b0075b23a0dea4mr12989246qko.34.1687193738121; Mon, 19 Jun 2023 09:55:38 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:37 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , michael@amarulasolutions.com, 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 v4 1/6] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Mon, 19 Jun 2023 18:55:20 +0200 Message-Id: <20230619165525.1035243-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> References: <20230619165525.1035243-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?1769151118590112124?= X-GMAIL-MSGID: =?utf-8?q?1769151118590112124?= Add LTDC (Lcd-tft Display Controller) support. Signed-off-by: Dario Binacchi --- (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>;