From patchwork Fri Dec 29 13:51:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 758880 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 1B27911712 for ; Fri, 29 Dec 2023 13:52:22 +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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="EPb2A/v2" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-554909ac877so4987289a12.1 for ; Fri, 29 Dec 2023 05:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1703857941; x=1704462741; 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=Fm4SMpBWyIuCnxOoIcwbmnLaagYfOE7lx8vpRJXcsrs=; b=EPb2A/v2TBrCrNqkp+eefHPRr5SCIPbYUXfw5j+b1pWUaCRB5lO4+cFzKWYrZDaTWj e+4jJOj+4OTu3dhnFHZhYl8zdGtkq6IlWpJSZAkn86AE/Njpj9b2kvXYV6nOWQzXSrzt Na5oZ6metb1eDob3KbtjciFI7w7obXx8qvH3U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703857941; x=1704462741; 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=Fm4SMpBWyIuCnxOoIcwbmnLaagYfOE7lx8vpRJXcsrs=; b=UE153yqb9lh6cEoZPzYMBRfvwS6AR3ZhJr8XUq8nl/OmxCnlm2gUEc8hOwUOmNMwaJ 6jwkyW741JXITpg1VaEDcxkMZ0Q/JOn3vOjthHMhGrnuPobbkjRp+hzCbl/hfd3xpHZW EaT9+5ipLL6hF4iL+lFP/rho+zlD3lw37OJcmp/4a9a1tLxkxMj1jHbrN9aZSMST+esX 1Z98GxqermE/GIu9x6a5yxNE6eRCK/Ak5vJFbWgQHtkAIQSQ8/VIyHkAotUYS0VpmMft pPh9ujPd66+ui+t7CI4NorjmgyjBwC5vpDqUkJUWpDFgCJoorTaDpU2Ynm9F0IdT/L6r keUg== X-Gm-Message-State: AOJu0YzqMCTkbLw4+R/HNMjOmQF2opkouYgLZwHOzYISqAPy4UCAkrgO qa8AAh8DeQibVnBwWyG5xoxw/VssUb0LdQ== X-Google-Smtp-Source: AGHT+IH8tQ2PxRJuCxjDJpcQd+9IgU90NXBL+k8pDgz9gTMDYVTdTri9Wy4GyD3WctlqM/sYzFDvxw== X-Received: by 2002:a50:951e:0:b0:553:6a5b:c61f with SMTP id u30-20020a50951e000000b005536a5bc61fmr7239728eda.0.1703857941534; Fri, 29 Dec 2023 05:52:21 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-49-57-70.retail.telecomitalia.it. [79.49.57.70]) by smtp.gmail.com with ESMTPSA id i16-20020aa7c710000000b00553b243b1a8sm11019160edq.92.2023.12.29.05.52.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:52:21 -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 2/8] ARM: dts: stm32: add DSI support on stm32f769 Date: Fri, 29 Dec 2023 14:51:17 +0100 Message-ID: <20231229135154.675946-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231229135154.675946-1-dario.binacchi@amarulasolutions.com> References: <20231229135154.675946-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 --- 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"; + }; + }; +};