From patchwork Mon Jan 1 16:15:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 184168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4042293dyb; Mon, 1 Jan 2024 08:17:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IH3aB6dU6FAzhHYD62KXsX1yf7EDVE+hs7hXCXte1TqJxcl7SRcpwHdnOJnh4XRe7j8g1il X-Received: by 2002:a17:90b:1bcd:b0:28c:6210:7ef with SMTP id oa13-20020a17090b1bcd00b0028c621007efmr5640273pjb.97.1704125832755; Mon, 01 Jan 2024 08:17:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704125832; cv=none; d=google.com; s=arc-20160816; b=lxV59INauNlqm2uSCjQgpwwjkCYzz1BSQ70MxgI37l0FZDPRgFJqSxrW/chfPzpWh3 TZQrlG8ZaBfE8UDCXS0z75Vyz4jLLQXBkfZHHVlXDieC8MOX2x13miuYvur/ymWDFN06 NshQH79eTMrwVoD/dZdczmTyc2O+B8nO8Fv8gx72h83axJbV/Ei9TF0KJEkR6Q/T1j+L MJThR/QFiXgI8c+Q2Dht6fOTCn8Bm3tyDW2NJUkIgK/vZDHjAOllUC6dqGzbx5UolaNd PDMOGNyfHaL/KDSrgQ4zq8x7xVuzNz1oAE8DE93fRI53FvfIKPJHvIXMjdWlujabRS5w AOlQ== 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=JLN2g1jVD70IhK7jj1s1reQrmbqtZUyQFiokG4Aq3c6oNQfPcwqFaC6/ugXbV3wzKZ 0gX6+ATKwHY2vdSoySuxmviP1hS5hwz0ciB1Ms3OJuyl3iCNSgG1mWhlsLAxBHW/3Z6T iJpF8vr8x+Pzb6Jt/36VqhnXFeu/4hUoVKz8kxIvenWzC9rR9n+tYXf6QQ5CgJ6JXxQZ TzSkEAfMAJLSeeEuDSYBjPy0IcNkNrh4sh+G/+v1+p3AfiRGggayp3yr282qOJ08l2cb mg9p3LbXuJybY+Wjoqb5qwD7MtIl00JAXzjuAdjCC2ZZbBgZeGaH/q5RhSIdskXn7BUp I1yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=QE+ujRuG; spf=pass (google.com: domain of linux-kernel+bounces-13896-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13896-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 e5-20020a17090ab38500b0028bd42e0ca5si18216027pjr.176.2024.01.01.08.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:17:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13896-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=QE+ujRuG; spf=pass (google.com: domain of linux-kernel+bounces-13896-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13896-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 70DAE281B3D for ; Mon, 1 Jan 2024 16:17:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 221B8C8F7; Mon, 1 Jan 2024 16:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="QE+ujRuG" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 1AC1863DF for ; Mon, 1 Jan 2024 16:16:11 +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-ej1-f43.google.com with SMTP id a640c23a62f3a-a277339dcf4so294869166b.2 for ; Mon, 01 Jan 2024 08:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704125770; x=1704730570; 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=QE+ujRuGAEA39jI8LryiXAuogFFKFGSBNSqM3/SO5hZNSdn2AiDo3BJ9HOITXJ6Igd ErcXDPs+XMq9pKSvB9KEbKgEQgBQCMpnQchWeGF9qtQJJdF5gmtDL3xdMaf4yW7lNCFI NPM2nL4vMRzhSPZmJ/RjSdg2XhoPUfO41Dykk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704125770; x=1704730570; 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=mi4t1KqZGBd0f34NqZKB6XN06EUMs6pHzLhsNHOiNqhjTvdUfWV9p4XvtOpqIoltPP RL4aOLQlCcMJr7s4hAZgDMK3QFcc7u9v+tzDn+CSfvzut/mJTFgamIdeTxYSX4HzV79d 6IrBlt01dA1zwGzNd1pVGKvw0cUWIkuYkanT1fi6y0v9y3lZHUB909l3i27O7yYQSDjW Js1vdoHfT5VAsGAoSglSRLlIfY7VqGBN9/vVGAF9D1HFSxuphyMiKY4mnyzLdkuXUtu2 Vzwv1WVT7cVwAk+nTGlh8umF7S6Me5Rk80ZwwYjJTlJWssIR4/NUQA2KBi9aiUVPOm1l 4uMA== X-Gm-Message-State: AOJu0Yz4DL5NmQjJwXS6BLG5pQwNN8fzsAcCZ/tUxu/It6eboOiSS4v+ cWddZIckp+1rhLtPZfRYVUU9ApJFslu0MroXvZE6xUYtWq4= X-Received: by 2002:a17:907:6e90:b0:a23:482:ee74 with SMTP id sh16-20020a1709076e9000b00a230482ee74mr9370722ejc.28.1704125770180; Mon, 01 Jan 2024 08:16:10 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-48-44-179.retail.telecomitalia.it. [82.48.44.179]) by smtp.gmail.com with ESMTPSA id ep16-20020a1709069b5000b00a27d5e9b3ebsm1897857ejc.105.2024.01.01.08.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:16:09 -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 v2 2/8] ARM: dts: stm32: add DSI support on stm32f769 Date: Mon, 1 Jan 2024 17:15:45 +0100 Message-ID: <20240101161601.2232247-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240101161601.2232247-1-dario.binacchi@amarulasolutions.com> References: <20240101161601.2232247-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: 1786905449500127215 X-GMAIL-MSGID: 1786905449500127215 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"; + }; + }; +};