From patchwork Thu Jan 4 08:41:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 184936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5487535dyb; Thu, 4 Jan 2024 00:42:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IF176AGUriddQ2Xmqh9RRRHjx2J45MBdX2NalNJKEb/vib3ZtxCtzoYpv4884eGrY9LA5wv X-Received: by 2002:a05:6830:159:b0:6dc:7b37:232b with SMTP id j25-20020a056830015900b006dc7b37232bmr364301otp.24.1704357776846; Thu, 04 Jan 2024 00:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704357776; cv=none; d=google.com; s=arc-20160816; b=Dl0hcxHfmz6TqGWX2W9COBA+WGapXrkkfhXsyPEkkbn572xTtqKuV10rhBmRV+dQne MxhfyRCJ3QJTadlDz4O81cSEOVzVSr5g9eSLOJN04rnQLOrZFL10gnP5D3QNoID5DiN9 iFvILRtDiSX2THOvA8X0e0mXWlcqhyTw+SSYTvRJyT/22wmppRl2XfKrWs0ZItyKXlKV Tlt6rSnW5PuS8rwLQfKw9SfP5piEthywmaWgMQersT/DrII+DrQKUROyWtf5aBFQmle6 oUr09eSGkKN85QEunenQ0K4cQSP+BJg4MaX/OWg/hXWubZO2ucaRSyljS24AbEWqNIBs +RNQ== 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=vtNV/F+F7Ia7aRobr1lDLcPdFj/lrCkZfthyTDWv03U=; b=OzDH85GwU+eigvVOanBVvmEEb0yN6bF9PrrMsk/BXPh2uzgxMG65PyCP/mPdrP7O6F f0bRvM8l6q98a+XwlmugcqamS1RfsgN+c7OBNvs4mWdzPklZej4QwM9t4/DIsPf2xAUt gD+3wsJYFyPvO3KtRdtvgJdKTi/eG6mfRZ4UCPGJkb+91ulaejX48RgUZFhziH0Znqzl kF6NPXSdJTTm/XZH5qOSoWSj/NKrmBSxMT1nnZRAopirO4zPEDQ7YlhXaJZ5G7mHpd/I 2EyV8SwJA/8WB6CmqOymwyb+koU9LQPpSGNNhpNHxth+QZF7snLUfPMJ+52XMhXnYeIk VRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RDncaYam; spf=pass (google.com: domain of linux-kernel+bounces-16378-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16378-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f23-20020a635557000000b005cd78da57edsi23425730pgm.485.2024.01.04.00.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 00:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16378-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RDncaYam; spf=pass (google.com: domain of linux-kernel+bounces-16378-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16378-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 397F62868F3 for ; Thu, 4 Jan 2024 08:42:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1097A208A3; Thu, 4 Jan 2024 08:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="RDncaYam" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 ECD941E51E for ; Thu, 4 Jan 2024 08:42:17 +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-f50.google.com with SMTP id 4fb4d7f45d1cf-5563944b3dfso310490a12.3 for ; Thu, 04 Jan 2024 00:42:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704357736; x=1704962536; 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=RDncaYam2gQJ+/YQIrSs8QsGLjI4TdTMWhwfSKE5goeb8S5bezuUdFEDTJnt6M3CmE 0r+w+iorWaWcyHrM+10K6488ttCrkU/84UFetH3OEoJJ6jOJXjLSB3icspt70KuX2q19 PA1VMxFN/EKmiSnVrwnNIexBKw7M3v1Uw8vF8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704357736; x=1704962536; 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=OqHx28UKncXrZIO8yFeVndzLbGR2mvIRQW/uSsIMSwMvFRvRtblTULow5eKs0a5La9 NuA20DBWLFEIkzeNFdprxUPIKMhYcqZkdY4Vbtv06XsGTuQaB/54YGhkyavw6slnTl2V n7mYwDBoIdsGwbO5OM6IfZ0MjguRHbPzblTg91vi5Hdf6UM0LdDfEsYLKAs9zFCFtlUm ok9bnP6b/C/JIcYWgc/FzUtoJ8oftEEIvTzyKcb242C9V/mayAakrGrP9s/OJkOy3kvw u+IpbZ+vAe8CJ3nbQXfOlgXFbOjed6Paz0/wM2KnaAr4ezkpDWDGU0hpOND87jktXHWC TwDg== X-Gm-Message-State: AOJu0Yy2yxkYy7NrnWL9SlJy9Z5VdTSy+wvI2m6yVRPKthI5Swf7o+RM lObulNrgdXjnuJ6rCTFkpamzPiKFNME/JmUUTpe7VnJPlu8= X-Received: by 2002:a17:906:c244:b0:a23:35d2:cf97 with SMTP id bl4-20020a170906c24400b00a2335d2cf97mr149261ejb.64.1704357735999; Thu, 04 Jan 2024 00:42:15 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (net-93-150-255-34.cust.vodafonedsl.it. [93.150.255.34]) by smtp.gmail.com with ESMTPSA id wh14-20020a170906fd0e00b00a233efe6aa7sm13495704ejb.51.2024.01.04.00.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 00:42:15 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , 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 v4 2/8] ARM: dts: stm32: add DSI support on stm32f769 Date: Thu, 4 Jan 2024 09:41:42 +0100 Message-ID: <20240104084206.721824-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240104084206.721824-1-dario.binacchi@amarulasolutions.com> References: <20240104084206.721824-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: 1787148659810860208 X-GMAIL-MSGID: 1787148659810860208 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"; + }; + }; +};