From patchwork Mon Aug 14 13:28:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2956 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 40DD63F2E1 for ; Mon, 14 Aug 2023 15:28:52 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-993d41cbc31sf284043366b.1 for ; Mon, 14 Aug 2023 06:28:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1692019732; cv=pass; d=google.com; s=arc-20160816; b=CV+QAP6i7oyf6ERkAXztAuLCby9++h1+5TotCbC12sAoOEAtaZp7X5tDkYbXvR/ch2 5qSR3fiUw/zXd1FoZUn8lFqgrF/S7aWccnyH+35a9ZTO7rR4QYR1W03O6KgSkJ2D2dKy /zJ3AOPC+1zeqLq3/A0A/OcOYIIR1B53lW4nvHFB58U4VV67jMAZ/fUvLXcHqCz1g/r/ cLNsteuz6ZrYFfdTVaef3ayeUBAmgueVWLMaw181mYB999rWy0XotjGyJpIN1ubEgsdK GkDb01/Z0yJAJF36/sySNh+bk3t12mo9LtuuLIBZudreOtE+cWCpkpAOeZy/I8+kchDt NLuQ== 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=NIplYp6w2auNYSL99vxQ1p7ATJk2usw9Pl6C9Yo7erE=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=EtVGPudKGBw2ADk58D3jH0Ig3ybEVH67SCHkRegjFXNkV+0mjq8SE3POqxBUG69pnd TDBPcv4KC4bmgrCHv638IsnARLce3cDztqn5bwYnhC2h56YCFnNapplQazMAk2awea0Z fHpgQqhvReol5wPtugWGlE4FWxU2YcY5QL3EY8HEOBttb66PSQNP1ncPZwbmRnXjOTv8 1tdR5v+AzyeKIi1Wnke9GvBfQwFE82mllDQ0a1BeqgyhSqzNXi2ezJYcrYopnl9CTlsV ZwAJgLrtnNbOYKpHSJyLt347AUsHGBMeyTSpe89ANEJwhy69oq7vXuFzAvG7qgg+hnmc oRSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRjTej0q; 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=1692019732; x=1692624532; 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=NIplYp6w2auNYSL99vxQ1p7ATJk2usw9Pl6C9Yo7erE=; b=SipzrxW8MM2R6CqdgDQhVJ0AGtmbxxzVd1a4EXJ31gxo/GMZ+WMd4GeVVz6zGkC/AC B3elpF71P8LNAz9h4seEDlTrZ0ZwsUHUuafi7dpwnzTyv7m3671TyQt3Py9uSfZ5l7Ms ttiys8lun4Jw5bKhCJLNwr+g2Dd5JxCgIyP28= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019732; x=1692624532; 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=NIplYp6w2auNYSL99vxQ1p7ATJk2usw9Pl6C9Yo7erE=; b=Vbjb0ZvRVdOQnfg5kgipv+5Lb6ki1h5kGcE65LMjP7OxumzRablX6ejQymolM4HjY0 eu7fiv2Awv0ELaPL+pSlx1WJA4IGVxNFqL7TXwX7a9hlH3eM8/5M1IC+mOHOHiNUQD2I X8Fd8tUiPzZbCHg+0EXwW4FAxk44wJK51M/y9VUfjguEtbGDd9+KUlm9FajPO7iFEqUG iTe66fL9EFwPfeETK6iQbuRU/wxxr/oxjoiDoCCurrrZkmsy8eb6dRp0jdViijfcsoue Kn9nuUrayIhZSsBukVBXcWbnc1I1b4cdUbFulS54VziWku2Pu+AW3kTIZ0Fp8zzcR3rf 3FBg== X-Gm-Message-State: AOJu0YyGXG4v9CuEPdSFW0NImQEYwds3QEzpgp+Q3U0rDSiCQ1JI7Ohf XL0K/VgnCH/pkle3qkn/oQix6MKm X-Google-Smtp-Source: AGHT+IFXxbP8klvZ3Hvf/GcW16LZIxH3uepPqlVx1ryCgEn/hgzGyNd4fVmQ93umnbJCCXJZuI5t0w== X-Received: by 2002:a50:fb87:0:b0:51e:253e:1e0c with SMTP id e7-20020a50fb87000000b0051e253e1e0cmr7761115edq.25.1692019732059; Mon, 14 Aug 2023 06:28:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c1ca:0:b0:522:7a58:4f72 with SMTP id d10-20020aa7c1ca000000b005227a584f72ls300761edp.0.-pod-prod-01-eu; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) X-Received: by 2002:a17:906:31c6:b0:99c:da24:bdb7 with SMTP id f6-20020a17090631c600b0099cda24bdb7mr8145720ejf.71.1692019730429; Mon, 14 Aug 2023 06:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692019730; cv=none; d=google.com; s=arc-20160816; b=WKgf++ashT8YsYYCsij7wbDc6K4UfPaOU5koBw2dbZSm7u7+pPXpgF3Jf+3MstgRR1 kNe3eOVKTr4EpJFja3eoZnvx7NUATtLqL7eLpe74d6hfZ0b/5/qc3o2QeuzO/5HgDZUi b7s9Ge/nxo2p81IAlBXRXmZVW4Hw71mDhyGxvnIg2Z/8zhWNnbhuLlpXtTiIBedHErfj 40g6iAXBw9MIwIAxpeOZBs1zvxyG4zhmDrRDVgS5GosZvx939CWMiAfKZyWDxfh23OaT lYMxAMg4PQyYH+O3FQxmNqvMFBxhvSphox2ffg6v2topPnkV2s68kl1FW8KaV9wNwwQN 5XmA== 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=hi+e70M73VVW2/UtI8fzsCmgrtCHD4hmR1usrA9vrWg=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=FtWpHpLDUmywz2J5r5xYSMD2Q5L9el+R+eTUSepfnoh2aJk59WpC/M2/I447bSVZLG qj7fBUjxF3P9BTyNXTlwsvyAYuAxfbQPfc2mZELkkQnZEA6LZyosF3DsH1cJlhbJr/7+ oS/vraVh2tySsnNPul/SS9pIxevza8TUZbKu64EC7nllI1tiRid732wPxg1cM1AQ0/qy W+im39X7gskXA6L5Se2PSv7LLPIyMCXTzns+RLcvI/CYQBre3FciS+z7eMW49muFjC98 yWBpU7YNLmzHPOkn51Y9X/bC4BCKGo7ZSJUkr3Ky2ksuSv/KxmbzTmgyTSib8CkTieDI tSzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRjTej0q; 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 ia6-20020a170907a06600b0099c0eb468c4sor2510241ejc.9.2023.08.14.06.28.50 for (Google Transport Security); Mon, 14 Aug 2023 06:28:50 -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:907:2c47:b0:99c:980:d551 with SMTP id hf7-20020a1709072c4700b0099c0980d551mr7499548ejc.50.1692019729998; Mon, 14 Aug 2023 06:28:49 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-204.pool80180.interbusiness.it. [80.180.23.204]) by smtp.gmail.com with ESMTPSA id e3-20020a170906248300b0099d02ca4327sm5662066ejb.54.2023.08.14.06.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 06:28:49 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , michael@amarulasolutions.com, Amarula patchwork , 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 v8 1/4] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Mon, 14 Aug 2023 15:28:41 +0200 Message-Id: <20230814132844.113312-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> References: <20230814132844.113312-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=hRjTej0q; 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 --- (no changes since v7) 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>;