From patchwork Sat Aug 5 09:32:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2952 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A7A423FAEE for ; Sat, 5 Aug 2023 11:32:10 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5223854ef71sf1948854a12.1 for ; Sat, 05 Aug 2023 02:32:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691227930; cv=pass; d=google.com; s=arc-20160816; b=jilULxbG0S3kZjiTvDYMEAP/vr4UusVEX8eyfxfnt0J28AA0pu0AiMuHzCkHwxHUzt LZE1Afofq/Y2PUPsl0/MBqqOHrrF6bjJcg++8LqJZPPpaIRK2S8kmn6mQJWUCbRYRaAK tUcq7UuuqOhsY/otkfacfW0pqOLKS4mE1hbXvW1c8/2jwFQ+fcnL1u/D5L8kPoO2C9DI G2CrHy3szwvUXWOEBIyOrVapgbVGEXNprikx82hvcFaaE7ZIQWA+fsvN5ups0QMWTRDv Skicuo7GTLfTyxJNQQz2QcNws+ysdW57zLTRJcKTd94yOAiF+gnAX9SXDfrIRgJWVCsV sxVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MGG9doJ5mBLGTRPEBQwd+51IzFp0xYgNYZDKsCKzY5o=; fh=udvsXXrkdZja9IfBtj9HtpLbSf0mks1St2GLmolGRnw=; b=k+qLeSInbT2zFUsSlj6PnpDS6ezK32sDaLRyC9OY6RhUxnnmyWDKSRUCcspP4ElZDx uCbDkM7w48CGyQ8/GQcp569G8B6e/kVV0w2nckcGP2oGhlPW+Cz0x+jsktYR//liVR5+ UpfYSKfmNws9MnnwIfvJ13XQNxnb7zFKzoKynm+Uw+kcK3GUKRedDlJFRf4SjmnHUClM T7Qicd8k52xFrSFMTwDQriMCc4lHgBXs5IIuA4jGer61QFc+tF3eTkcCBTL1XqIHateQ 7RXo/dWDuhBPH7p+WYFatigysaoHsAh/crT6yrAoO5W9TDcgnFHHxBKaIvyHT5YZa4Cx nKnw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dh2UTNNM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1691227930; x=1691832730; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender: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=MGG9doJ5mBLGTRPEBQwd+51IzFp0xYgNYZDKsCKzY5o=; b=gi2Hl55g9FB0x9oSc/qDzM5rYGG9eB+5B25WEeoT7Cf2q773oQsSqmuYgIdAUiLM2E Ly5N+IgvlIlpTAWjvYkR/EVL1VH/tOf5I+l+pdzfCj/UowxltKyX1X+DDL8gWFvsKWan gD04w6KRE3cTvGd2ffrYG0bgJHInThZ5Nptfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691227930; x=1691832730; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MGG9doJ5mBLGTRPEBQwd+51IzFp0xYgNYZDKsCKzY5o=; b=CyF9+IBxA/sSQlqqJmD5vvRyyrGbBQU+JcniUsap108Bg7vlEmpEDwGcBA7uz0s7p4 5OacwQsOcfzW2AInjsx0cLeXsHiFtC/iJPNRh9zzDESrhb74ciUWu0UyOO+HkoH/Skcn LHIj+yAql2T6cOXfepraIVyhrhaUZOmH/ZEwM9ZqD00AHrWVwPiI+ZhYbmAN5rKvkRzo JrhGEjX8sSnKLBktzAF8aOwnu8X8aHqiVImjMCe2qOweclU5JYB1VPpaTE3nFdc1fcPz pAEq83ntIh7BPB/0DgbsslXA9eUdPH59Ts1VR5m6/QxXcNN0CtLzDoc05vjG0R0iHiqW 8AhQ== X-Gm-Message-State: AOJu0Yy5iwwxftGc9QcFYGLLqxqulntMA26USlXBx8Xlw8LLQULdLHTm p1Y2XtifzwVkU7iFDI/zM5XX1kMY X-Google-Smtp-Source: AGHT+IFUhoWfX7T5YMr3VrvnTKr1OQR1srQOcDqKtujjgb/ELXmnrvbukYBupTfvlAjtpVSVoOy8Sw== X-Received: by 2002:aa7:d816:0:b0:522:216a:28d4 with SMTP id v22-20020aa7d816000000b00522216a28d4mr3870288edq.7.1691227930508; Sat, 05 Aug 2023 02:32:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:1659:b0:521:e522:ba52 with SMTP id s25-20020a056402165900b00521e522ba52ls94899edx.0.-pod-prod-08-eu; Sat, 05 Aug 2023 02:32:09 -0700 (PDT) X-Received: by 2002:aa7:df91:0:b0:522:1a03:d72e with SMTP id b17-20020aa7df91000000b005221a03d72emr3514398edy.25.1691227928904; Sat, 05 Aug 2023 02:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691227928; cv=none; d=google.com; s=arc-20160816; b=Pn5N3HcvCTDWmvxiUORKsqJRIX/+iNSGCwKidp6c2Bqldm507ouS0ywvs7quzhyoz3 FkxH/ta3u0ULVumChb++8REgwmGR96tBCBiMILEVigy7uLo8PP9/ko9UCRDN3zsgzmZ3 jE1SvQcybNlokCHz7egNQrx0OqBk42i++Kl0NF7yhUjE3tajPU2d8Ss6Wt/mPhEesNb9 4DA3AFUw9g2nO5wl3ll93o7fmyBCmGG9MjBgGXkQ2HpCgV8Sp0ZQVJXABP/TJLH5lGlv SFAbqXLpqhOPtd6NpWsiuu6xDDm0GqXDtC2QGHvf4tQHl43wnKG+6pv3fK6peAaaSJZh 6N9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=kSb7V+l5INAZZY1BiIqNw95KAR1Jhg86zX4iEYTQuGQ=; fh=udvsXXrkdZja9IfBtj9HtpLbSf0mks1St2GLmolGRnw=; b=ZmGwkCZZhe236z/nx8CYXeu2rBdndxIcklYWa0Xq/ND3LSWHwZ4URWLSbUfruikDCc IaBXkpdXqQMzyqwdo5L6xjejAhfcZDPwi0XCFZR0hihjJMm352JhkAX/4meYIIiJ4agE navmV7hFL4DQ13SJ3RYfBDnSZeGzAqGxI5MtGqhI9FK50clJR1g1xtCAvoKhIpQ60axc sU5nT0JxgP1Z1eZAGVelDVgbe4p0vvY38p2lRb2OUFj2NG83eXtxdnpEjk+erPWuhuSj iEnrVNZyG8wf3j/7NlQA0D1OVkx1u8WZgfLAf0oUZ3Yob3LRhKcOopytG26dmlHVqBQP RQ9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dh2UTNNM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id c72-20020a509fce000000b0051e26ff1ecesor1362384edf.3.2023.08.05.02.32.08 for (Google Transport Security); Sat, 05 Aug 2023 02:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:906:31c8:b0:99b:fdbb:31f1 with SMTP id f8-20020a17090631c800b0099bfdbb31f1mr3922911ejf.16.1691227928673; Sat, 05 Aug 2023 02:32:08 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-52-12-96.retail.telecomitalia.it. [82.52.12.96]) by smtp.gmail.com with ESMTPSA id j15-20020a170906430f00b0099b76c3041csm2491083ejm.7.2023.08.05.02.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Aug 2023 02:32:08 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Philippe Cornu , Raphael Gallais-Pou , 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: [RESEND PATCH v7 1/3] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Sat, 5 Aug 2023 11:32:00 +0200 Message-Id: <20230805093203.3988194-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230805093203.3988194-1-dario.binacchi@amarulasolutions.com> References: <20230805093203.3988194-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Dh2UTNNM; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>;