From patchwork Wed Jan 10 08:05:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13515730 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 9D772C3DA6E for ; Wed, 10 Jan 2024 08:08:25 +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=Fr+GhH81dR+LKI Xlvb+gL4DVDsJYomNQXH+4M0qWR86A6DToG38GOsEWeUY9ZWtVTitjicN7pdfzxEoIp5eGgH1kRy4 lF/K0hgFaHpMqJD9BLICNe523GvofTHNK2g16xfYPjoLTznwet4qyH/1cjp4fVBM9mTS04Rb7yO3N xqIsx02T2pHnTF7HOJWYYAh/rOWrCOk4r7eXRUORmfnN99E618dF8buk3nYqGVIAyeteyBZzeIYVJ eNsCpSOujI4u5Vb18qImZ+jRVnWhmTNVEiz49QMlLTu84fm1FfNtKK/SEQ7OL6HNQeeozZz/PiR6v DniM1w5EG9UwTt1HNk7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNTcz-00AhI7-0b; Wed, 10 Jan 2024 08:07:57 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNTcs-00AhEH-0G for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 08:07:53 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a28f66dc7ffso855896466b.0 for ; Wed, 10 Jan 2024 00:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704874068; x=1705478868; 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=JKwA7a2q0fpafmRzv3YiDrXHHt+tvOHs1gaueHmInoRMNIdqwFlxKWg9CSLAEy1ZP0 +2F27W+AwmKP/xOYCTVhOy1TLDMLjKHkycPvin3W8fkl1yc8Jmww9T+Xq1lTkg0DWdpe /oNWkfs5gDcUaIn6YQ746gLotthJoNsw3sesU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704874068; x=1705478868; 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=Y7QDLcNmsK8HslEm2ZZ+sK/gEivnKawgoIAuMp+q8OatTgVdd09XHJCS2syzXoejtR XC3PrZIjv3SGsRnqJRQcJuxItmTWQbMU34yzbIHiuvD9wTGg5qlal7Z1pvMl9AzN/7++ FVw35xmy1MMSxNPhVVfXNTPQJFrjVIk+oN1zOD4Ysd80HzkKmVMsdqBHWAebKvEw9Kjq 2VoL20G2GkT4V9keF3uOqTCub8dFl0kcXHkR9M2FZuvMMxhlmo6OOisBJKxHkhPR0Lvw 7AQFRjJK+RhqaL9T1B9QUrRkd+swiP9EZzjk3eTTaA4y7A3bxSMWMQ2M27CJ3HLFg/Al W2Ow== X-Gm-Message-State: AOJu0YwGLvB54rvKw5JyYyL/CqNb0UNS+SH2/7S24hPsgEleItbHy40L 4q/n6kEe6Kc1Qykke3Pr8zzGgvOZNTsFQQ== X-Google-Smtp-Source: AGHT+IHakONTvxlOlGWYkwBCq3122M58Sq1eIRqDaFbZ4S8+1qtPJZCssB1FfT53d7/wvY8lO2dxGA== X-Received: by 2002:a17:906:c346:b0:a28:b34d:8694 with SMTP id ci6-20020a170906c34600b00a28b34d8694mr684643ejb.62.1704874068185; Wed, 10 Jan 2024 00:07:48 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-2-38-81.retail.telecomitalia.it. [87.2.38.81]) by smtp.gmail.com with ESMTPSA id v12-20020a1709061dcc00b00a2af672cdd8sm1833341ejh.161.2024.01.10.00.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 00:07:47 -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 v6 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Wed, 10 Jan 2024 09:05:48 +0100 Message-ID: <20240110080729.3238251-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240110080729.3238251-1-dario.binacchi@amarulasolutions.com> References: <20240110080729.3238251-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-20240110_000750_119362_70922F36 X-CRM114-Status: GOOD ( 15.07 ) 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"; + }; + }; +};