From patchwork Thu Jan 4 07:23:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 184921 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5462628dyb; Wed, 3 Jan 2024 23:25:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5Gm/Ib4gsmi3n8LrJPEQZwShvu6/vRBJwIfwJTZgaqNy1hLFRnSpOqtUB1Ry2kX4QiagR X-Received: by 2002:a25:8747:0:b0:dbd:af6c:9e55 with SMTP id e7-20020a258747000000b00dbdaf6c9e55mr170145ybn.22.1704353108997; Wed, 03 Jan 2024 23:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704353108; cv=none; d=google.com; s=arc-20160816; b=lIHUYazRvw5B5wDJC9vJLkAfv+uDYVwqrpiY0Ue8eWC5Hr1JE3Q59mLdOXVpxS64sv zZPvT20V61doL+rGdyCvEbS8YaTTT9ZREnS8oYh5gLuK9P1U4dPymDiVfr7QxrsxWNJY 1LzvUaMWzvvBx+cCFfw27h48kGDsLOA0WAzlPKCQmnUYIvQiKWmvwv8+lk3doWumbtfG 1s1SbE3AwEUZuPapzqHisbEfBs5rQCE9NctMYREUb63Cdn/bkB7Z/gNzA/GGSS+h+yB9 8OT1Kh+U+S22MPIXWyUNwGSXwGw3P0z83gVk2D0XfuUqsTW4C5IhoCp+wq64MH4qTy7B SZnw== 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=BcpB8yhb8W649wHTWibuAgvfEVdMMYH280rFF0mx5GHkeOwipi6JCqecMVX/YRfR6Y RDPDTdIHEFDzXuYex9oCL5p7/gDKUpnVlI3ktKB8syB6tMNP9e5fxyuefAWqiEhDOiJq dONEQ8GPR2g99Gn2hkJyVI0AyLPKWJ5a5skI7MTjGytxnVND6xXXMwRudueknc9b8Y0q CCF/zL1TX7sdWvbwHXr2RcXzJY/f26/XVoxIAKFC9LyWY8pGEWvE5Zm5xTAkbquUovVy ARbuMvkqmYuYS3OaFg2PXdwW/Zmst6oiw49pe5Numb5AGwKRG7doRTVYhKwJwyrz9sh0 zWUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FiOP54LW; spf=pass (google.com: domain of linux-kernel+bounces-16312-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16312-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l17-20020a05622a051100b004278ca9dbe1si31320559qtx.763.2024.01.03.23.25.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 23:25:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16312-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=FiOP54LW; spf=pass (google.com: domain of linux-kernel+bounces-16312-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16312-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 778001C234F2 for ; Thu, 4 Jan 2024 07:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94B9F20332; Thu, 4 Jan 2024 07:24:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="FiOP54LW" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 8AFA41EB42 for ; Thu, 4 Jan 2024 07:24: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-f51.google.com with SMTP id 4fb4d7f45d1cf-55559e26ccfso254555a12.3 for ; Wed, 03 Jan 2024 23:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704353055; x=1704957855; 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=FiOP54LWRtPAJekmY7ZJISVrwBkRGJKBAKGPH7c51kuhUOMgUj/ZI6alLrLxRJCQfc NdqUhquMr4KtVb5I52QgpSmR8KifiSlojkrTZkf6Og98pTeTjWOE7Y5T1B8JUiPUatxn G205tRAwFGzz+g1+exE6L8mt3IqH3SoYT9M4E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704353055; x=1704957855; 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=jg5aLL+qIn/AdpZ6Vfjs1iAr8IU1Xkzybj9MgOsKRoszJMbLxD+6axisQClgCMMkpj MtgzwyAch7OSvC62n8PC2MbK4YmCQIRBVoHSmAlStisd2VqLe6+7wgMVVWQ585c78WeC pQM0OpXGOcyAyL51g2ZJqJMDSv9FzBisDx+DBi8erv05FdMEEr0+cGb72nBcYBO4eXzb yVlRdawsGbVnTj/fnm0P33zE/ELIid/+V5gdjPwDEZcdFG5AbBaZqrAVySpmTp+/uUrm cmz4cqnltuTsxvCZQL7t1nPvrTjbAIh8XTXu2lEiaUcliD0PL5DpmRF13Dq5Z459EgWm gN2Q== X-Gm-Message-State: AOJu0YxnXiC3JQMvGyEZG20WbWtlJG2Ge9PcdGGO77ITCgGLV2wNbzp8 qkngqU9JmO0CIKLBMypFoHJq/palZTvpU9AQNaDS0/JGT94= X-Received: by 2002:a50:cd91:0:b0:54c:4837:7d26 with SMTP id p17-20020a50cd91000000b0054c48377d26mr72929edi.101.1704353055677; Wed, 03 Jan 2024 23:24:15 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (net-93-150-255-34.cust.vodafonedsl.it. [93.150.255.34]) by smtp.gmail.com with ESMTPSA id d3-20020a056402000300b00553772c2968sm18530735edu.82.2024.01.03.23.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 23:24: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 v3 2/8] ARM: dts: stm32: add DSI support on stm32f769 Date: Thu, 4 Jan 2024 08:23:38 +0100 Message-ID: <20240104072407.41290-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240104072407.41290-1-dario.binacchi@amarulasolutions.com> References: <20240104072407.41290-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: 1787143765188448727 X-GMAIL-MSGID: 1787143765188448727 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"; + }; + }; +};