From patchwork Fri Jan 12 14:48:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187767 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223336dyc; Fri, 12 Jan 2024 06:50:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCyTA0nc9hAQjDMvLnbiBm8PkGME9DpzW0ooy0HA7GAlMOI9+2TSasfXiG8SXN5StxUo+B X-Received: by 2002:a05:6512:e84:b0:50e:7e13:813a with SMTP id bi4-20020a0565120e8400b0050e7e13813amr871615lfb.61.1705071005969; Fri, 12 Jan 2024 06:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705071005; cv=none; d=google.com; s=arc-20160816; b=Yzrrq9FETQjWRT9DYZhOCwkxD1+xgFY7DTuJ9QJ/4ow6zUc2vputQcXVxji4xyHijq jYnmDE93wrB671Ebsthb/9MXKFq4/yoBLXo2aUh89N4QwcRP8E4e+VZfhnZXIZsDj9pq Q90D8xF7lRe7ecdS35a+vEJiBNWqMh3vB0Gy9f7spkBdKgFE7RmInPAMAP+L324KEipt t8qQeKeqTvWzxtmCmrgnwDevXwHcm6IOnqOMXYyd24T1IlIyV+91CAthUeFy1f+aGgVO wu/rR5fkBo8b+bLAQIogkAeXyNb+7X+nMUFuLsjOjqSZW0AZovvJQWdNvYwTgSfkzC+f DyZQ== 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=Vt8QjlU/pJSaAX37WvpTecDGxrJxqyWYjUP8ZT1RSaY=; b=oC3ob2PVCG74IpOGK2W/ViJOTbBpjFomqnv6eWBxZg7+iEa6W8g9aQrTRTjhXu6VZ/ eNIwEavbpsXu5PIqmLAv1tkm3CMDwc2f+7mhO4JwTBUG+KKB4rRAeBvwiMMcQ6BCslwK 4lDgTQ1o5tsy7CBjBCelqK2T1e2fzIHsxQZasA5oqfi1y0cgGybcZTHo60s8g+hfop9d Qm5xNhuyBtNdZDnaPnH1kpKWBU29VkmQUBksdgslKfh2mOca0XG86B0ZfZnrZjz5KWWY N5NU0fpmr010gW53aLxab7zLW430PvOKM2SDI2ABAXS5yvKRvjRWhanrntYDraWudkaF 8rfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cLnNct4e; spf=pass (google.com: domain of linux-kernel+bounces-24765-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24765-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 e1-20020a056402148100b00557f63d399fsi1466005edv.177.2024.01.12.06.50.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:50:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24765-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=cLnNct4e; spf=pass (google.com: domain of linux-kernel+bounces-24765-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24765-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 91A9A1F25308 for ; Fri, 12 Jan 2024 14:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC9F773164; Fri, 12 Jan 2024 14:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="cLnNct4e" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 BEBBB6DD1D for ; Fri, 12 Jan 2024 14:49:11 +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-ej1-f52.google.com with SMTP id a640c23a62f3a-a2d04888d3dso4307566b.2 for ; Fri, 12 Jan 2024 06:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070950; x=1705675750; 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=cLnNct4e1FBsDE8Hbau/t6ulBRYrbwhlo7iIKD6qIMO2hJGdKC5XLDkeK2Pp1Iizvb yukC6rl3DveiGVyX5xFZrOtMeP0rYprnA/w+NUYjtgIX07NSFmE/l0mpaR5BNj0EGBX/ T52RPxc3z36i6oJ3d5Y/ASPuaIgP/9SLdKKf8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070950; x=1705675750; 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=N/6oxfbR2bAlu9PJuvnmXM5EZ/jtJbOZDxvN39enWOJF1Rv28uXjR1UJy4TYw+3dP2 Kh4i1VJfT+aMIF2EiH0JXr3N5UwtpgxQ771J0Wff3YsAhPvE3xrNB3yvDaKdpqDypn60 zliPbny/6y64mhaV5se+ObEyliGyuzocIIXSgwa59UjbdL3JdsECpWX8g53pe7KFt41w 7BFzIuQcorhVirfT+QLFgkoS99LafQoqp0BQiVY+OzcxOD3Ejcd5umLc2rncgZ+/Ohgm 7LGc3BvQs3Ty9e/AAlctvz2NdXS/TwbadOGozo1DenQLqTbBh5/E61hdCfgNs4sw20Zr LETQ== X-Gm-Message-State: AOJu0YwgkgYN6bac5wd0TAw3kjOfQ1L5kYMeKan+xOZbypyCyUsiUjCG oibXtItcbMlixd9g5v0ucCXnwan3oSgd8eyIRUTQQyiSpVU= X-Received: by 2002:a17:906:5ac3:b0:a26:edeb:7635 with SMTP id x3-20020a1709065ac300b00a26edeb7635mr740160ejs.91.1705070949914; Fri, 12 Jan 2024 06:49:09 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:09 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , 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: [PATCH v8 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Fri, 12 Jan 2024 15:48:22 +0100 Message-ID: <20240112144902.40044-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896535354676199 X-GMAIL-MSGID: 1787896535354676199 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"; + }; + }; +};