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: 186128 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1253768dyq; Mon, 8 Jan 2024 12:17:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IENs3f/UyFeulHbsqDXv0Hm0PYAENQ+VXAFYXxGjfDrOmrMvmWL7t0pX5fPEP2BX12Jlnz4 X-Received: by 2002:a05:6a20:daa8:b0:199:7e59:b779 with SMTP id iy40-20020a056a20daa800b001997e59b779mr1544579pzb.33.1704745035102; Mon, 08 Jan 2024 12:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704745035; cv=none; d=google.com; s=arc-20160816; b=SXn92abYy1vpK/fv01dKTl0PI2Fp+KV7TYAbf4e7iXgsh0RblA7lVqknAcq9mfHgXh 4mIkOsgVxAhok/i/CYwTigoyvScu24PpLG13xqhAhuwiU0zw8v0avFAcO2ZTjsOwAS6i IJ4HajoHgnwpDQrRbWettr4Sd8Bv0d2yDDboTOrGG5kHOnp6kK40gg/9mp+vf6m20UA3 jQxl1cO1bB0VVnhbhDG7TjGVXoKNZOXg2ZmqmL6x6/0tGYEX2mJnyh/wcxztYQFYNenZ 7WnelWq9M0KCZW/VA1hrEthFN3kRgdGiSRfragA88EZ43C+/aE2I6IahwNYVg8mvVDNt fd8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mmQnQzOW0HVCglZmRdERbSkiK/7LfpA/GFNr/QR6hMQ=; fh=vtNV/F+F7Ia7aRobr1lDLcPdFj/lrCkZfthyTDWv03U=; b=QTLA5XnVMfouca9RscO8NXtWgD4DRa3N1qXYwdxJjmWc30CyWExM087iytNPEXwcP4 pKM6ba1lx5Sh2wax2iDdtrQXwnTYbWCNlm1bj4yGxhmIAwbnXuunekBd3hkJicZmsfVL hI4Izn2WBngFpUCa/kfn3oKcHaNoXaJaM3QkHG2k2S9pkM81bep0ns3yl+jc0YMlHbi6 Z6spkk6wufZqcj5BeD1ZikRw01kAmXIrRu4Sbfg1VmLJ1Fer4Bezt5P+Ux9CUc4JxCyX gJ+5jfccBfyVLmbazm39iFAth4KL0ftCFEKNN7VJjhK279WtTFkRLrXw0bXIZfstm8IX H1Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=len7vc+0; spf=pass (google.com: domain of linux-kernel+bounces-20076-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20076-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x185-20020a6363c2000000b005cdc9aff69asi317770pgb.293.2024.01.08.12.17.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:17:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20076-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=len7vc+0; spf=pass (google.com: domain of linux-kernel+bounces-20076-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20076-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DBC95284671 for ; Mon, 8 Jan 2024 20:17:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 803BC56445; Mon, 8 Jan 2024 20:16:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="len7vc+0" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76BC355787 for ; Mon, 8 Jan 2024 20:16:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5534dcfdd61so3969775a12.0 for ; Mon, 08 Jan 2024 12:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704744984; x=1705349784; darn=vger.kernel.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=len7vc+0zau/hN4mQd6296DfQjx47rOgIvNbijgyy2t+BJghw+Q2lZmedIM9Nj9Gt7 eLnENrSQHcnoJs3KxmHR6uuzPuIfvEB6j/cUclSBSwlIR4jORR2oBQXh06yuQUBbApBp 94tO9PxGNsojTpSiW9L3KFF4Yd9rrTawCLcQU= 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=fvUP58ZRO5NHcEpVsEgjYHHjnLBqFq2jjcdyoA7nAhlUiN6KD0mY6XqhX2X0AgACci n0vQSt5AsNPvkA3iLwvUXE3NG4PKY0XubyIBZaQDWrYpzMzxeP7R5OXCpMLplLolUEwF u/11X7yj6J49rZEvN73J/2UPemrLilM/i9AkS14C9DZU+eZBitbLzF5XqEhVilMbS4ci WiQV3I3f6yAgkpq/IVEZLTtAmsLw8VRoY1KIi47XVcbSsZRxzgrziDPPY+WR3KTuLfQR yw9KDBtEDfBMvWJPD5wt1Vhm5hHa/2tF48b0DMtfK2YVouEgUJSm543f0fj5c580M/BS ABMQ== X-Gm-Message-State: AOJu0YyQ8VWMnJb4RZRnzoTzPPtc12OhCsij5OEzM3v5ED4XsCgNtw8H 6fLs4CQwlxuoQEdxTpoghrJzePzzwMFo6zlYtev9qeDIuqk= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787554729989464563 X-GMAIL-MSGID: 1787554729989464563 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"; + }; + }; +};