From patchwork Thu Jan 11 10:53:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187300 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1363441dyi; Thu, 11 Jan 2024 02:56:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzNFG1UVuEXmKaDuHWn7yC4RVWqVdHd37wKU6TKaJN1JLcyWtbh/pVp/at4zVeI5YYmxAn X-Received: by 2002:aa7:cccc:0:b0:555:9dc6:db with SMTP id y12-20020aa7cccc000000b005559dc600dbmr308684edt.96.1704970573601; Thu, 11 Jan 2024 02:56:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970573; cv=none; d=google.com; s=arc-20160816; b=cUlGsbccMPR7PC1BQbPSDOzKXzBgD6M+YlzL5m6VRQmKfhQMY8A7CVrg6VUxHT7dP+ WISnZkdH0hGNtIZvrTcwzbj+76mRvAvUG6CPICFAbYmQWnWe5+wHoDinBOwvFappbcx/ aalznT6kkun2LtQsejW28kJuH+Vbbqv6Iuwa8gajuGgN4wjjQsQhKgh1Sbl+N4Su52la vqqJUCe4ui+GTCzClWFfIAUOD0Fnj8+R/pU6/15IbiGoPiMdq107furFxOxdR5j2UtWF dEzn4H/8umhjDV3/OsFfwajo3ohHR3N88t1yLDENmptsQhbP9cCALnXKqwRrN0PitLgb F/Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mmQnQzOW0HVCglZmRdERbSkiK/7LfpA/GFNr/QR6hMQ=; fh=vKx2BfGohtHNZzQugIDlWq+fi05pHcETVvgrWbEBP3I=; b=NzPWfxv24IK9X2uLvJWZ5ZqpUHSexQ3//LPqCkoLkNgFyCs75eJPl7eK/EeZlQwB8h 68M5zds//8vla6KJdgIHUBu5RLcV1Qf2ZWyubWrxfmTo/ewvUt99+4vTEZ5U16y/h/m9 VXg5s6QV7Byd1SmQ/HlhK8L1n4l85hgF7eAtOgSExM77ZSewR8ReG1xYOvuFPpymj2jH RN5MEfHAG0xGKHtdHepc5lBH72U84Nnv13RcpXmtxN/8hUF4LRV9sd/fkejs7zC6bPTI /OH1kEGgLIwaIIAi8afaf7IO67auYGRkq71CLkLNLH8D6pk+wvJ4XIg5Wwh/GQAztRvJ 3Dog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L2HIqfuN; spf=pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p23-20020a056402501700b00558599656d2si425456eda.94.2024.01.11.02.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:56:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L2HIqfuN; spf=pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E46631F20F55 for ; Thu, 11 Jan 2024 10:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15F5B14ABF; Thu, 11 Jan 2024 10:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="L2HIqfuN" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3CB414F89 for ; Thu, 11 Jan 2024 10:53:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-556c3f0d6c5so6118074a12.2 for ; Thu, 11 Jan 2024 02:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970400; x=1705575200; darn=vger.kernel.org; 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=mmQnQzOW0HVCglZmRdERbSkiK/7LfpA/GFNr/QR6hMQ=; b=L2HIqfuNWDEVZ1mwsmlPx1OYxsS6jJ92OUxtq4EVt7JaviA+D7RDKuunlAj23KUHz8 ajmpAe080VaBLvB9QAOBy8uQM7Tml26asp3li0RrglxP+Sv9qeRXr8PDmJqeJ0VQ9DVk Ua6l63rAGv8sDw8VoRQzFBraTHa724p11DOB8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970400; x=1705575200; 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=mmQnQzOW0HVCglZmRdERbSkiK/7LfpA/GFNr/QR6hMQ=; b=RqBbetMP9gSKPE1MkG+NrMCOCRZBNEiB49zldh3CeIzbNsQtFhzbQU/EEHJJxDu4ey XumrveAZ2XQyjn9KtxzjWunEDPpuM4jqzB+p22UN1blUbMvd4s2vq02xA6+oTD3KuBA/ /RSzT2IxjvLT7Xg/8PqMy0w9vzBFRjr5JfTP2SxRKXoU0BzO6V6YpaYCAsFcfAR+Lqqm vvlU5rEgzguk2b3fRyWjNpDsWEcDTEKQGvCFNszzTicesX1YheJ5aEHkm5dUnXFb2hHS IS0MOSC/p/90GniCCHgFgiw/Xm4DcpTHb3RVyf53Pb+haJmlz+jsc0CK1wINIJ4PyQ79 ojCw== X-Gm-Message-State: AOJu0YxzQck8iEfvaOOoVPqgU+f9d46ZLYirnIOllwNDAK+E5zJiniNO h0an8tMs7yDWQ8WBdEt7tT0TMR5oBo4vu3C8WOL+aexNTw4= X-Received: by 2002:aa7:c1c6:0:b0:558:afee:9fa5 with SMTP id d6-20020aa7c1c6000000b00558afee9fa5mr41821edp.84.1704970400837; Thu, 11 Jan 2024 02:53:20 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:20 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , Dario Binacchi , 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 v6 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Thu, 11 Jan 2024 11:53:08 +0100 Message-ID: <20240111105314.8186-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787791223977137055 X-GMAIL-MSGID: 1787791223977137055 Add support for MIPI DSI Host controller. Since MIPI DSI is not available on stm32f746, the patch adds the "stm32f769.dtsi" file containing the dsi node inside. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/st/stm32f769.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi diff --git a/arch/arm/boot/dts/st/stm32f769.dtsi b/arch/arm/boot/dts/st/stm32f769.dtsi new file mode 100644 index 000000000000..e09184f7079c --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f746.dtsi" + +/ { + soc { + dsi: dsi@40016c00 { + compatible = "st,stm32-dsi"; + reg = <0x40016c00 0x800>; + interrupts = <98>; + clocks = <&rcc 1 CLK_F769_DSI>, <&clk_hse>; + clock-names = "pclk", "ref"; + resets = <&rcc STM32F7_APB2_RESET(DSI)>; + reset-names = "apb"; + status = "disabled"; + }; + }; +};