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: 13506531 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 E0C44C46CD3 for ; Fri, 29 Dec 2023 13:53:05 +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=hZyoi89rqxbhjOKGJd9NCmOssuI6kL3U06x+5Rl6htc=; b=1xuqYWVrkPhNDI 5u02PJznahgV/moKC1HG2VDfhLyKubnJyhkPLdnIh4yuy/baXBq4IMF3E4wWz/xy6LJ5ULFwRSzRJ FgrBtRcE1+YzILt0O8bdNT/GeZ3elF976CdyKcbJ5kTM6ta6B2ywrM2UG+VFN3UPEWz1ykuAKaZ18 G1eqljlQMKkwfAeopA01HyHc1hbtizyw8OBOekwX2jaqDGdqMGQcYI68YvkQh93tMz6MINtcRfu3y VoRF/owb38qBDXq6VqcoIEExWmW1/9WGxrqtn98uvBz4zHZpjA0eaJak2BsjDr0kShOUD3d/f/qgR K/z8gLFS6cV2jQNJSS8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rJDI0-000zZO-2t; Fri, 29 Dec 2023 13:52:40 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rJDHj-000zQk-2e for linux-arm-kernel@lists.infradead.org; Fri, 29 Dec 2023 13:52:25 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-555e52fefdeso62072a12.3 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=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=Fm4SMpBWyIuCnxOoIcwbmnLaagYfOE7lx8vpRJXcsrs=; b=fBXbSZxsabnbAvldczcCia1DAmmclouRNeHv6iBBSD0/c/a2dmlbgijHu7Cza0ZJlO E1awYrL/lkY8eADZpo0n9EMWhe5YpkBBZWY9mjT14bvORuVDF3HvJIqUJ2lGVribrKbX 3xpMLQUzJptwBvhYQBeZ20udynkll9Q87jLRs= 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=tYjOA60PHI54PED6JhXL0jc6YftcDH9AMEFnC73Hqrt2nUjGFLSkCCepygwV4SfSro eI9kw5HkXt7JOmphw9Jx95DBhSCpQJwI7IQzDkC2/u3/qm2bGE6UOegxD07H/tDNv4Mn JwQclhd5r4en9w/WxdLIfMCBoCabw03yWJlXA8XDnUz8lULzuBRjQwNRQITmjDeMZn10 +XbfzOlYXSASPlDvt6xJUU9jwiJR26ZWmX9OtEN+92k+mMQ4r9IBQ8bBSf3IhmryQe9k C+9BiIaCwO81LWMBk3m2tM4/HhUgKayV4yu6mEZyqcCDGTPEyufit+X5oeo/lo2OIMQA 1qEg== X-Gm-Message-State: AOJu0YyrKSpNsWGls4BT3rRTWlgMsTeo2ddqG28KQAbo2flqzbaZ2fOn x6quGNhenM80vfqudQYRo5RLiUnJvru2uA== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231229_055223_858883_6438FCCC X-CRM114-Status: GOOD ( 14.34 ) 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 --- 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"; + }; + }; +};