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: 13518554 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 51608C4706C for ; Fri, 12 Jan 2024 14:49:40 +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=kx0TWb5nfTk8hG djqto0S5naVwURfkKqO691iGTIDVmIyssTeq9uYGcHk/X10iaBcxgh7EPZAcDTCWYFM+GB8rx4HtX 37QXa66+AM4Z+xODwDQuW2vGcIA1WLPDVILHeyExb1gB7dP2etFhVh9VSO2IDa5QxkhWZumdHuuG6 GXwTQAhKb5w2UGUjfbtf0bHHN0HI9s7L7dOYDqFokIucLPASppwPxpGiVB/+M5Ro3gDzEZjXcA1Wg XNyjMHNoENNPy5Bu1w5sGGP5Pl5BTifcsmGYJUH0KWy37vjiH9JoFIyThGqnDCxYaptw3Kd8CRW5S dBO3M6LpIYfW03X7vjFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOIqT-0034UF-1O; Fri, 12 Jan 2024 14:49:17 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOIqN-0034S4-2P for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 14:49:12 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a2bdc3a3c84so323544766b.0 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=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=LuX7jw99mZcMNhfBVyO9QEW4i2a6MXZzpzY8EB1CS9vOxGxITLTLlhm0kneaCgFM7N oP+5sVQRBtHsSm9Bg+wcJEkELG3Vf/RJZCA+k5DPXnCAgwwYXacwANkriSaj/hiGcGX9 nskDH8Ig93qMrimjQqqFGt8cuwpnQzRbWSbmY= 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=iCYjy7mjgzk1B+aeRiHX909/28tJHV8051H8xQ7/xr0jLEaeCFKlnnM2GI6TvO+tsD oREkfzUwpIic82ZTs9yPnPf7B7b7rrMliiCyoFNCU/qvDnF2bsjD0vgX0w4Z/q5ubpZ1 mTlq/3LRts0pR77MIn2VklK6QyLiUxRJDUywXPSmh6gQ6jTwFV45vKGG/MAkl7YOcNhM Y+NJ06mD+sRUozAhWIPKUs9mbJZiQDm6YQhEMSCjkmHIEQCcFB+vNgkMFcF+eSGwvAj6 wqazVDh5n8nvZEJpe+tEQNa+LDZDJA0zuTIoSF9TSRBmPEoICOFUY9lyZN4Kazgc2B2E jpUw== X-Gm-Message-State: AOJu0YwMEPeqjYofW5iMIDU/DLLAlsCMX5ocULPVBM4A0crRYfIGwH0/ aOOngtJ7S2U5CSql1OGA7q223B5LofQTzg== X-Google-Smtp-Source: AGHT+IHYE6WynxzGM2phhAonl7tB+VThaQnxrNudcqv2wkwoAxXrc2uhBIkAE0+iaAAt7os+42i7Ew== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_064911_785842_6DBCE26C X-CRM114-Status: GOOD ( 14.83 ) 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"; + }; + }; +};