From patchwork Mon Jan 8 20:15:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13513941 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 1381DC3DA6E for ; Mon, 8 Jan 2024 20:16:56 +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=q0cEX+lVFGyZ9G q5nzXIiujSTR3fuLXtadc+0uFpoZTdi4wKYi5tBQ8CY6L/Pksfh/iBLbHPPsO4oGCnHhyGJT5RSP/ Yhe4/lLg0bxk/Ili7Vtu9vbld/8vbMbsR4itsOcx4/lsCrYJJP4R3gfv/+cP1sDlwV5thsEvwZqbe xDu+8aSfYSeRor4BinalP22Xufd/Wv4IjAKraDN0DxahB/yJo0TEfpWS9N2LF8Qp/rIY3TEUxbbXB Mf7Bfirkncv7FLhC/Zr/pEBGnAwj48nipCfE5R4rJXG5JUUuteajL/h3vgGsIq8Hhm/vQ3zk5cyoZ h6L9mILo72WDZMpHu5OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMw2x-0068Op-0h; Mon, 08 Jan 2024 20:16:31 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMw2r-0068MM-38 for linux-arm-kernel@lists.infradead.org; Mon, 08 Jan 2024 20:16:27 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5534dcfdd61so3969770a12.0 for ; Mon, 08 Jan 2024 12:16:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704744984; x=1705349784; 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=DpVczP/vsjsFMlPCes2ONqiFkvkedVzR0hpbutiOOYjTJvQceFFzU3pIHozOBVzz6E z7zVuVoxnwyuMDOVa89ia88TpsUfOyxTNc7d+cMK4/xpt8RB5/+hFgFF28huLGWJ680a gQ9cY0GCBzkFeiMM78k/xnfXJYkz5kArUbjhw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704744984; x=1705349784; 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=kAQQapdD8JWIntTqNlid/E71KaXiLy6pexp+ZOzWfZzn9U3BBF82doyHKq2nWsuamt d/SwSPR8RQoNptcIFeH3jeMHfsMnVS8SXGS4DTEqlKf2UEV2Dsb0URQU+D/JODPLo4nY dX1ZQL5v4uOW1JGKF0D0ngPV7T5Ds+8fCk7RohhBNTrZerXogeGfDWFIryZzaHbCrA/Z aPuofhzKavkHgkyA/CVD5bwNX3vKKiMZHA1LpVU0Un3C0HEgytgm8qnuqmqSfQLZdcAA 9s0cr1A9a0sgEjC22g+l0yN0XNXLDqLd5f1YOL2pPHAB4KijUPBGdbjDsKi6I8jidr6l ksaw== X-Gm-Message-State: AOJu0YyC40QJ2nUxRPJxvrSCWfzcNUQzGGELbee0DvtH59+ji2aXL0fr PJG6TRnMGxG/MKnStO7/pWE/RRP8R7F56w== X-Google-Smtp-Source: AGHT+IGkQ1MYwYhPQpHmfUvm48FJCD16KRlfqQTmXiok9BCXVdNdaFNjBMf2+daPgMlNsn+/b/5DcA== X-Received: by 2002:aa7:c6d2:0:b0:557:14da:db43 with SMTP id b18-20020aa7c6d2000000b0055714dadb43mr302217eds.6.1704744984573; Mon, 08 Jan 2024 12:16:24 -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 by26-20020a0564021b1a00b00555fd008741sm173699edb.95.2024.01.08.12.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:16:24 -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 v5 2/8] ARM: dts: stm32: add DSI support on stm32f769 Date: Mon, 8 Jan 2024 21:15:47 +0100 Message-ID: <20240108201618.2798649-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108201618.2798649-1-dario.binacchi@amarulasolutions.com> References: <20240108201618.2798649-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-20240108_121626_004682_AE3044AA X-CRM114-Status: GOOD ( 14.52 ) 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"; + }; + }; +};