From patchwork Thu Jan 11 11:31:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517244 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 BD963C4707B for ; Thu, 11 Jan 2024 11:32:23 +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=QzqqhhZDJghV6g PGUAWcZ/OfAlNy2C+Qn/hT+/MdH98wkeST+Yay8C6uykn98Ap8B6CncWrrD9t5GDdFifis7AufGE5 U+CO5dpnOI78DJrz2bpabLT13HJGsZ3kK0Eakoo5uKsnXKC6wjxdkop1nq2kaLWNJtqurQoq9z8ho 5cPdyhbc9Y0WQk06h/Q5vxsGq5aQritk4PKrz5F47WhYzA+MD/GuzcERig9SAWrFZKoFpLl0e+ukl 2BtF6JbzYq1uQE5EguMWmf12JMiLoWUKHYTcY4Cgs7oF1YvGgpFY/rKiMAS0iQosSuaHjBH8aHjHS ehpjtHYnYE6VDNxNiSoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNtHv-00HMgX-38; Thu, 11 Jan 2024 11:31:55 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNtHs-00HMcX-3D for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 11:31:54 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a28b0207c1dso412492266b.3 for ; Thu, 11 Jan 2024 03:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704972711; x=1705577511; 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=J99AMbmycNlsn6ipXZQXCFYTHB7hOqroYczZEI+QmZ1yxxXBPHx1Oxxl17TwgHISfa acuqNtd6a97JvtFy0j6VD0qA/DhyU9sIgWDG7fqV2jFAO4zLxG3vzciKWkCOJvUSaVz0 xNxu8An59bmEw7tLunxc+OKOb5/kiqJYVU1JQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704972711; x=1705577511; 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=eW0M8aia+avQHunPBzHMR2gCozDciSKeTkhKkaItglL/AU725pcNThlQ/FXgBZycFm djbqcD/tFrDOHyS0sY+MrrNevyDDTdtHWToMEsJz0RXFYg6p1y6MO2Aeex4WiIPtm40l YIqvPoXCxvlbm2YN26cocKpGAZEAUeoVxC0/LMnuIQLRzuYEI6tdfp1GTYHtxfyY2Z69 IlxifSmV8uVvqTsJZCnGSS8X3ACVrtlM8oKEHevM5y8QHWZJ8wI+uPl8B23ahwYU8uTa Crm7lUZP8R6p3rAiuzZvMHANU0oRVbuhWuSR9btoIGtn+74x8YKR7ImaG/9vbkVQz1aR 5+Eg== X-Gm-Message-State: AOJu0Yzv3guLo8J6CFdHm3kpu3nIhD7Ul6qO99KxCcErZdf7BU89Oc5G YqRRNqB5aEPpbOJt5WRaq8UZ5lZTtlwsew== X-Google-Smtp-Source: AGHT+IEwxxzXPLLv1VEdqxREzklSYppd5lbaTbwUT+50TBaJimhy6pmMsMZswLS5MIwZB1OhpMORJw== X-Received: by 2002:a17:906:a015:b0:a29:906e:b8fa with SMTP id p21-20020a170906a01500b00a29906eb8famr714066ejy.1.1704972711523; Thu, 11 Jan 2024 03:31:51 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id n3-20020a170906688300b00a26aa734349sm461565ejr.39.2024.01.11.03.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:31:51 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Alexandre Torgue , linux-amarula@amarulasolutions.com, Lee Jones , 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 v7 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Thu, 11 Jan 2024 12:31:39 +0100 Message-ID: <20240111113146.16011-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111113146.16011-1-dario.binacchi@amarulasolutions.com> References: <20240111113146.16011-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_033153_040614_AE048F49 X-CRM114-Status: GOOD ( 14.45 ) 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"; + }; + }; +};