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: 13517157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10D18C4707B for ; Thu, 11 Jan 2024 10:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Jf9ABe0Ofnq4rDzyi6IgLgi2jcQ4lHX0QGrj9yMQmE8=; b=LJp/4z6yYp2bJc bUi9RcLpmG/YLfkySczITnKPhRidMEklB1Kuep42lOGkYRHOIili7RBVGzhsOW3Z38NnvOFaU5+st dKInPl3HoLRb94PVEpHGXR+3oVWilbrn7Tb6mphKx5KRdezK54PZROK938CEl9qEy1O5ckDj9ZtQs RV8fBGepI7JlJB3dzZuF/+6pYmTelxv/qXRPnChhJo3zPgJJOBStzk5m1RJKNINxevOsnyK8u9osM 0UXetpqupxVwWy/Hl2H2TgNuuK8xq2Y87MQFA6qBUMqDl9z0Ed57d5+a4CQ/FSiHLqqZY1M66Jpoz M9F4xEVZqgaSk/enVPzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgo-00H6Uc-28; Thu, 11 Jan 2024 10:53:34 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgd-00H6GQ-1C for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:27 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5588ac5d988so820022a12.3 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=lists.infradead.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=Vm5b7R9wBDrZBB1BAQSLY/awzc7yHOBV8pXjitj6FX4YHSBAoAbsDBwnVGTRvEapdy yQVAsU3vEZKm+Ffr/4fehT+E6qDxl+PXLuvMRfr68jZOwOFnLzNzHhpC4Jf9x5gU1AvG 0k4G7e4M8XnJWYXByvDlj/iq1nMBq0wdaJGw0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970401; x=1705575201; 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=G1MwLm2W9ZT8vQckosZCIK8c0NXvMw0c85H0pKaI/wX/yxBYc9c261FurnxX06rys9 4k+Vwtbdgfn6UlLOoGc8K8TOqqz8HJuE+U/J6QQyOUj8mT2HqIfUtU3rzy1SXCQTQ0i4 9RjgBqLXvCvvBsdHe8vDpGv7YQJiEcye5e4gze4LbHOEMIjXI4BOOZKBiZFrrhsFHvfN 5q55CINuO1xpPSlJNaMTs3fFCjBB8gCyCckuvlhP4QYd3pF4wcj17PWcv6xysfCj2PHZ nL4nkAa21HxW8rxB9SIARbn45EwuF0r0I+5qz9uNPMQ6y5F/hollDOxUvGC7cm2v13Wi sSDQ== X-Gm-Message-State: AOJu0YzLGgOXi4Eh6GnBHT1deYtB5Mcy+N02vsI4kVXwTDTuzRa3/P8d DiS06A0DrwP5rX6vtTjPZRCd6VZQDjHZDw== X-Google-Smtp-Source: AGHT+IHbxxIKk3NteWkU//Ar74s0SpE82pEJRJtg2JrYTPT5Y4V1l3Xs8p5WIrDx1N9DEZhJchqThg== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240111_025323_457558_E8D2B54C X-CRM114-Status: GOOD ( 14.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; + }; + }; +};