From patchwork Thu Jan 11 10:53:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517156 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 F074EC47077 for ; Thu, 11 Jan 2024 10:53:59 +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=1YCeGcSuhk1BiA1Ca7V+J9jjVJF6lwiRWeaaHnm+bDU=; b=QmlUkZqAzXfsI0 g1iZY9HLVdbQj877pPtgdiAHeInnVUm74Xe7jqjiMp/HyY+zCfMFYE7pjkOHu5z2i4udKt9EZx3i3 5AnQTzxQPtHYEzV0F9CwVmBr5rFfme/A6MAHz/+hH7jvQmG8Xv46LqQVYtnKLxnrtJ6ao3aWowBBz sbCxGkPnclE1saxneN+kKQ/IZUD9++q8KXt0PxhBqmakbGcsAV1bHNXwf3DUrII+m/V2t4lxTYBwi Se1VXu1BX2mB1uP8AZohuUpkXdvTyzB3vaaLFCo12uRzmVoKMmjJ0oNKFjj05Okxy+D7yttsa0U9l vGt6MML7KVIDaAr6NBEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgk-00H6Q5-0s; Thu, 11 Jan 2024 10:53:30 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgc-00H6FK-1u for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:26 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50ea8fbf261so5889402e87.2 for ; Thu, 11 Jan 2024 02:53:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970399; x=1705575199; 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=oZHp7o9P6sSCcRzfgnf9GmPoPPKRvORDv/jTzo46w2U=; b=EB4cSEqmfpjmW2dzt/L16x4cugxdgO/j7dIqk6sjreyJmwlYwnaTB24h4H6uK/Lhef QArRHxujD6qMu/5RwV8FJ0HmO2Yyl6pixPYNVYhjo9do2KtuALur0ttuy0J0zf+7Zg3A 1sdYidL5F9OqcwJEblNAycVx1ObwGdIqzipMA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970399; x=1705575199; 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=oZHp7o9P6sSCcRzfgnf9GmPoPPKRvORDv/jTzo46w2U=; b=QIVY3Hr9N5T46kpSChE+0JCmzW3tiOiixXx/TMrOvYDbHDxrbukEsXk7id/JsMCEFo xZp9OgAVmOYcNziwQ6azlc1swWv2hP1xSp+eHkVF0kLPF4woF+G3g/dGul8Zd8Up/jn0 /PmCFGKxAzbhlQ+ETtoWzX5QzKF1/X332g9/FGIssOjaTdgILjCdyeHDSB2DLwCdGwso JTJkIGZT+X6I9298cmfKrvjuN+tNHwqbAqoB3ZGbFFzRSHwTrXBF30MJSL7b0gncCgCB GijNUQt0tuskXAicPnuVVEEsPLYODLDBDj5sZyO28GmdtvEkyKIpopo0LANRlbOgGZt3 aT0g== X-Gm-Message-State: AOJu0YxDj7atiReKyZU7RF7MHaMJwmIHpdenEJdUHZmOvFlYFkA94qxv aWcVWWcXD+tFu/q6VanXj/ndwgmnoEE4EA== X-Google-Smtp-Source: AGHT+IFWSjXByH6ZKx/v1vTqMtJ7fp1k2eHQ6huyT0Q3lwRrsx9pvciok9UGoesseA9JTkKiNriD0w== X-Received: by 2002:a05:6512:47a:b0:50b:c57e:1418 with SMTP id x26-20020a056512047a00b0050bc57e1418mr452684lfd.16.1704970399508; Thu, 11 Jan 2024 02:53:19 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:19 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , Dario Binacchi , Conor Dooley , 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: [RESEND PATCH v6 1/5] dt-bindings: mfd: stm32f7: Add binding definition for DSI Date: Thu, 11 Jan 2024 11:53:07 +0100 Message-ID: <20240111105314.8186-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-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-20240111_025322_690972_16ACEADE X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. 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 binding definition for MIPI DSI Host controller. Signed-off-by: Dario Binacchi Acked-by: Conor Dooley --- (no changes since v2) Changes in v2: - Add Acked-by tag of Conor Dooley include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/mfd/stm32f7-rcc.h b/include/dt-bindings/mfd/stm32f7-rcc.h index 8d73a9c51e2b..a4e4f9271395 100644 --- a/include/dt-bindings/mfd/stm32f7-rcc.h +++ b/include/dt-bindings/mfd/stm32f7-rcc.h @@ -108,6 +108,7 @@ #define STM32F7_RCC_APB2_SAI1 22 #define STM32F7_RCC_APB2_SAI2 23 #define STM32F7_RCC_APB2_LTDC 26 +#define STM32F7_RCC_APB2_DSI 27 #define STM32F7_APB2_RESET(bit) (STM32F7_RCC_APB2_##bit + (0x24 * 8)) #define STM32F7_APB2_CLOCK(bit) (STM32F7_RCC_APB2_##bit + 0xA0) From patchwork Thu Jan 11 10:53:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517157 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 10D18C4707B for ; Thu, 11 Jan 2024 10:54:01 +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=LJp/4z6yYp2bJc bUi9RcLpmG/YLfkySczITnKPhRidMEklB1Kuep42lOGkYRHOIili7RBVGzhsOW3Z38NnvOFaU5+st dKInPl3HoLRb94PVEpHGXR+3oVWilbrn7Tb6mphKx5KRdezK54PZROK938CEl9qEy1O5ckDj9ZtQs RV8fBGepI7JlJB3dzZuF/+6pYmTelxv/qXRPnChhJo3zPgJJOBStzk5m1RJKNINxevOsnyK8u9osM 0UXetpqupxVwWy/Hl2H2TgNuuK8xq2Y87MQFA6qBUMqDl9z0Ed57d5+a4CQ/FSiHLqqZY1M66Jpoz M9F4xEVZqgaSk/enVPzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgo-00H6Uc-28; Thu, 11 Jan 2024 10:53:34 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgd-00H6GQ-1C for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:27 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5588ac5d988so820022a12.3 for ; Thu, 11 Jan 2024 02:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970400; x=1705575200; 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=Vm5b7R9wBDrZBB1BAQSLY/awzc7yHOBV8pXjitj6FX4YHSBAoAbsDBwnVGTRvEapdy yQVAsU3vEZKm+Ffr/4fehT+E6qDxl+PXLuvMRfr68jZOwOFnLzNzHhpC4Jf9x5gU1AvG 0k4G7e4M8XnJWYXByvDlj/iq1nMBq0wdaJGw0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970401; x=1705575201; 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=G1MwLm2W9ZT8vQckosZCIK8c0NXvMw0c85H0pKaI/wX/yxBYc9c261FurnxX06rys9 4k+Vwtbdgfn6UlLOoGc8K8TOqqz8HJuE+U/J6QQyOUj8mT2HqIfUtU3rzy1SXCQTQ0i4 9RjgBqLXvCvvBsdHe8vDpGv7YQJiEcye5e4gze4LbHOEMIjXI4BOOZKBiZFrrhsFHvfN 5q55CINuO1xpPSlJNaMTs3fFCjBB8gCyCckuvlhP4QYd3pF4wcj17PWcv6xysfCj2PHZ nL4nkAa21HxW8rxB9SIARbn45EwuF0r0I+5qz9uNPMQ6y5F/hollDOxUvGC7cm2v13Wi sSDQ== X-Gm-Message-State: AOJu0YzLGgOXi4Eh6GnBHT1deYtB5Mcy+N02vsI4kVXwTDTuzRa3/P8d DiS06A0DrwP5rX6vtTjPZRCd6VZQDjHZDw== X-Google-Smtp-Source: AGHT+IHbxxIKk3NteWkU//Ar74s0SpE82pEJRJtg2JrYTPT5Y4V1l3Xs8p5WIrDx1N9DEZhJchqThg== X-Received: by 2002:aa7:c1c6:0:b0:558:afee:9fa5 with SMTP id d6-20020aa7c1c6000000b00558afee9fa5mr41821edp.84.1704970400837; Thu, 11 Jan 2024 02:53:20 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:20 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , 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: [RESEND PATCH v6 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Thu, 11 Jan 2024 11:53:08 +0100 Message-ID: <20240111105314.8186-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-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-20240111_025323_457558_E8D2B54C X-CRM114-Status: GOOD ( 14.35 ) 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"; + }; + }; +}; From patchwork Thu Jan 11 10:53:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517158 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 21458C4707B for ; Thu, 11 Jan 2024 10:54:06 +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=6UqV+nSgSQvqVWHSp2Ma5e0An0B18TwHVuQwnkXoqJw=; b=n3fuD++2EpRo+B KYl5X37GixlSN30d8+9na/sHVkBNGNQ0dl84P5z3Z/y1rOwHcX5n/zUtmthxkvVz3IVqnczxtmJdq ONxGqp/+a8ZNXMkrXYpp2jPlRt9YBMkOldgqxB6Y3Shm+oEkKPB7ujEvlYgw/yfcyItTR18Or6DTI Tnt410iFxXSZ4cH0Jpi1A5fnfH4rwvrbp8H2oMqPO2KA7inDN5G20qhNjDFERvJCQo9zZw6sHXcBX MlGiy5H4m8Rs55B1E0X0ftdd1QL06Is2jqFGE3vb7SBqgM9DxSUTRe70v1bEdafsvJw6mMW8Pn9UJ AiXbszZ3vj+3mbEv7uLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgq-00H6W5-0p; Thu, 11 Jan 2024 10:53:36 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsge-00H6I0-2d for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:28 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-553ba2f0c8fso5875722a12.1 for ; Thu, 11 Jan 2024 02:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970402; x=1705575202; 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=/mPDNXnb7QOonc0RYCjpM23Kv+HuP4dW7ug+KwP2qeg=; b=CuC+sxLLvpF9+aKORk9pr+Q2mwnMKlk1htN8RHSrNwNHDEOEc3Ax68dBT2/N9uhkdc s1v08cRejaX3yEx5tf+Yj5ywdaCmnLTSbBo4u0dhC33YdYM411Z2u9t5+NVX6nuqaG16 yAZgPN+a7oTJ5be2OFmmlJ5uYcn9RCJrFTJCA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970402; x=1705575202; 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=/mPDNXnb7QOonc0RYCjpM23Kv+HuP4dW7ug+KwP2qeg=; b=bfpbsFZ6e5wT6h/QkbWfaHiD+yw+0/wYfpGjOXLCRVczrmKVW5aWXD1ZGHpL/6yPJf wIuebr58qK5+7bsvi8K/WClcpPP5gieqfK41S/obZO18QVE8gXHS6lY4pEPPYl9KUPEf lVuSJw91C01iPQc3BPnt0GJ88lA6aW91YhWVQWcxu4QimdGM+TcSb9vH3+0A2meNXPhW ubC9/hhihooqIxuOcB7w29mzOisuD67rVarVRN1IUJjrBGultiOyNnbSvZyvpoEolfVH 1B9fex6pbyscfD6u9TElHvWh5b6NQQwNCnSjHoNSvCs23QOlTqw/aPMtNC+HSiwcq6OU jo8A== X-Gm-Message-State: AOJu0YwW23NYiKUwgm1RTi1zeuk+qyvvjylGRhcnGoScvwimrfTKZS23 Pw48VQMx9qnIrCj+YfRNHRL+lXRi4hGifw== X-Google-Smtp-Source: AGHT+IGIWbCv4PnMgXnRbbJHR/lEed57VjJ6cuH+5z5J9Itaar6fGZvHeEt5Bz1kJQZaj1IdPk9KLQ== X-Received: by 2002:a05:6402:22e5:b0:553:34b1:1130 with SMTP id dn5-20020a05640222e500b0055334b11130mr264317edb.58.1704970402103; Thu, 11 Jan 2024 02:53:22 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:21 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , 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: [RESEND PATCH v6 3/5] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Date: Thu, 11 Jan 2024 11:53:09 +0100 Message-ID: <20240111105314.8186-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-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-20240111_025324_877145_7C763F22 X-CRM114-Status: GOOD ( 13.97 ) 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 In the schematics of document UM2033, the power supply for the micro SD card is the same 3v3 voltage that is used to power other devices on the board. By generalizing the name of the voltage regulator, it can be referenced by other nodes in the device tree without creating misunderstandings. This patch is preparatory for future developments. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/st/stm32f769-disco.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts index 5d12ae25b327..8632bd866272 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -92,9 +92,9 @@ usbotg_hs_phy: usb-phy { clock-names = "main_clk"; }; - mmc_vcard: mmc_vcard { + vcc_3v3: vcc_3v3 { compatible = "regulator-fixed"; - regulator-name = "mmc_vcard"; + regulator-name = "vcc_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; @@ -128,7 +128,7 @@ &rtc { &sdio2 { status = "okay"; - vmmc-supply = <&mmc_vcard>; + vmmc-supply = <&vcc_3v3>; cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>; broken-cd; pinctrl-names = "default", "opendrain", "sleep"; From patchwork Thu Jan 11 10:53:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517159 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 914F3C4707B for ; Thu, 11 Jan 2024 10:54:12 +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=PRtM0HdtdxgzHazkKIlfNnbQIV9GoDKfPbY93kVE3Fc=; b=1Dw5hZwnuwHUh9 G/sq50o6JfLiKY/X/7M84ZacPDQ1xq7BN8rm5HLpJ98+iHJZLKTA+yMeLRngrpZOcDFqqHhDpOQLo 3WfN3S2JMj4PEf3cGhtFz5PZjtyS30uyH9cFrGi+5vgY4RJ4+ylZfzdzSK15LZVyKLxRppHKMYUIN qBA0V5Vurs8JllslEf52Pr4wbICgmUGXOJMQfs/H8vyF/8Q+4vcz0qiHgr+GTzbtLCma5BgIQMQot HJvVQZ25XUoAmSV5yLMEVj8Q/GxZck+3Nv70LF5koJAdsanjJCUOKGs9uNeqqcxjrfcibHtp8e3z5 y0gZwwRCc4K88Xv1eXsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsh1-00H6h3-03; Thu, 11 Jan 2024 10:53:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgs-00H6Wy-0G for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Jan 2024 10:53:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=c6lTYGwOZkH/q3mVT10Wfxgf2APvMbHICMTqCuHaYlQ=; b=BUzLf99T9yuCtoNv8Lldo4PkwI qpsQYs2YIgyUvdq34OuvXwqf08Yic7v34df3CVa8g7jwElXW0ooa/8AsbAaTWMhxp9T+ua4M5AUfk IIWN6iIGVCfW1odsOvTADh2oFnvEytxE530Gz2BWkKqkwsKKg+LzYvd5tnxISkrUAa7hY6E0hdRwV DX+XfBBG+zYvYogOYHM+Aj4JT52BIwEqkpwwJFnrnsM29hlrsCCdDEYKmdA8L9HO7HrwcaIKt9GpR byHOUJxpeo/TkCdnYMBGzMy1q6m6QX7wkDzhm72xAQatEx6E2ztj6dy4Hu5g3RyfEgBK28uDmeIWi N/j1e9QQ==; Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgn-00AH7S-1d for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:36 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2cd703e9014so30538071fa.1 for ; Thu, 11 Jan 2024 02:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970403; x=1705575203; 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=c6lTYGwOZkH/q3mVT10Wfxgf2APvMbHICMTqCuHaYlQ=; b=KOdIjmd06gJslFmkxQuz2zM9uII8kgwL3JsqCLqTYypej7lEBUIXHAaYYAjqFFW1q1 Asf8Acz2/oJdcLYK76vv9ltCc91iEInXtnA/fQsfcjkLLVA0TAMhWCokNqAKa8M30NPO 6r7FJolZYIEnWVDESBIwRHoBmmymk381REcNQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970403; x=1705575203; 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=c6lTYGwOZkH/q3mVT10Wfxgf2APvMbHICMTqCuHaYlQ=; b=ZFbwHDjh8EcL0HYnJaGyo64sCXH35L+PXj53tPs38eWWT2g8pSrpXfzEDyF3S7Wa9u UNj+pnGFEpvIM/wr1oFh5aVBO7g+6oHxFtw4ACYg01lMwds/JXQ8nUuO4KqUq+PYv3lY XwJ4ZQNGK97vrtepXejaQcBvZxjnqN7CKkjUVLhbWD6wvxGEMdL21Djg+o1OndoHSn8w l0plkgh/jOdHK49RM9Lv+ArEY0rGrjIsh6DtuIts89WBAVvswGbDh/qKeCgg9dk0GQZv NGMwdtbf+hyb48jtESceu9l/83JH0toGu92VpeHbSCLgwO7tLBr5y5xl2Add3FMozMol t8rQ== X-Gm-Message-State: AOJu0Yy7QkfuwXrvxjq8tQYljSGfz7+hJGHBpQmTBBY/aNtGgXLSRpiC cn15wrvr3YsDG6xjdNNQARPwukHuk/8O3g== X-Google-Smtp-Source: AGHT+IE1HKcG66xzhedJzYZxl313ZtU0FtvPMZKoDArJOHYOCPj+6qDMc+3XAcw/hed8iod9lUmPpQ== X-Received: by 2002:a2e:b1c7:0:b0:2cc:8545:d6f9 with SMTP id e7-20020a2eb1c7000000b002cc8545d6f9mr329576lja.15.1704970403355; Thu, 11 Jan 2024 02:53:23 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:23 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , 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: [RESEND PATCH v6 4/5] ARM: dts: stm32: add display support on stm32f769-disco Date: Thu, 11 Jan 2024 11:53:10 +0100 Message-ID: <20240111105314.8186-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-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-20240111_105333_811490_518178AE X-CRM114-Status: GOOD ( 12.29 ) 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 The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm/boot/dts/st/stm32f769-disco.dts | 72 +++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts index 8632bd866272..d1eb5f9c78bf 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -41,7 +41,7 @@ */ /dts-v1/; -#include "stm32f746.dtsi" +#include "stm32f769.dtsi" #include "stm32f769-pinctrl.dtsi" #include #include @@ -60,6 +60,19 @@ memory@c0000000 { reg = <0xC0000000 0x1000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,dma { + compatible = "shared-dma-pool"; + linux,dma-default; + no-map; + size = <0x100000>; + }; + }; + aliases { serial0 = &usart1; }; @@ -85,6 +98,13 @@ button-0 { }; }; + panel_backlight: panel-backlight { + compatible = "gpio-backlight"; + gpios = <&gpioi 14 GPIO_ACTIVE_HIGH>; + default-on; + status = "okay"; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv"; @@ -114,6 +134,46 @@ &clk_hse { clock-frequency = <25000000>; }; +&dsi { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <<dc_out_dsi>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&dsi_panel_in>; + }; + }; + }; + + panel0: panel-dsi@0 { + compatible = "orisetech,otm8009a"; + reg = <0>; /* dsi virtual channel (0..3) */ + reset-gpios = <&gpioj 15 GPIO_ACTIVE_LOW>; + power-supply = <&vcc_3v3>; + backlight = <&panel_backlight>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + &i2c1 { pinctrl-0 = <&i2c1_pins_b>; pinctrl-names = "default"; @@ -122,6 +182,16 @@ &i2c1 { status = "okay"; }; +<dc { + status = "okay"; + + port { + ltdc_out_dsi: endpoint@0 { + remote-endpoint = <&dsi_in>; + }; + }; +}; + &rtc { status = "okay"; }; From patchwork Thu Jan 11 10:53:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517160 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 8229BC47077 for ; Thu, 11 Jan 2024 10:54:17 +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=1f5N1s4xyTn1nejfv7ZVxVbLqWTi2H8c3igu5446u0s=; b=iwZEMhe1eu53N9 F65L194xImh82IXE3cNL7jG9c1D2pk8Nx26W+18IygitkRY3dNnM4oAeyAIeccGcuPiParPmdcr76 vLmgGqcRmUXdizs+6HBMcKmSEO0g4LWZ2CD8PRI5bp0Ces7eDE2z3xXLcAlKb+WSlZn+Rs5JkZ5lf /VIXoeo3zXY8ZCjVKTcexJwZJq+Dzkq0LvKQYBLoCLS0rxXZQh4+NwP/abeTAHTi0IdsUlWEjkEAO EtUviEQxTiW8wTur3xzuqvPqPUOVSDcBAcbBAhOwOjIKHgzhEyxymVwq6pAru492b1AKPD/35MUTY Gfoa8JlVxmzr4/ANUAlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsh3-00H6il-1b; Thu, 11 Jan 2024 10:53:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgt-00H6Yk-2Q for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Jan 2024 10:53:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=oSCb9/4D83p0kes9UuOX8o0fIi u2kAeLVQ1wT/xRr5xZTdQ2yW870VAB2xUw5nqulYUrxWcsgDwfXcHHUfjJrzEZv1Ik5V/aMOGKT+b trIqk0ebS0Sx7i4imAZGye2YIlNFh2mNPVILJcRgUBqWfjHddVmguhExCb6/qeZ0Iptkn48Q6f12/ 0HuqFY0PxD94r+Y/YMBFkH7ayh201twayj/B7EOyuKvKKkuYXEpqEfCexh25HImgMcadcVqRv3EsJ bFgCY682Lh972Hu1evu675ZI4yGB8lBczVNZkwOd6dLQt1ceAXuKHL7HPkt3a6JfGUnWrBUHnZPYv RlX5uTwg==; Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgp-00AH7V-1L for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:37 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-558ad44adceso210535a12.3 for ; Thu, 11 Jan 2024 02:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970405; x=1705575205; 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=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=nXjlZHPsl9Hg5uDbF8Dn97Z8kciZeU/VbG1Sfu8p82t7az4zKqX095lvO+Hjsr52SQ 7zPPOBGZ/TyrsaiK1NM3FdLgkkhTyvVlCaeMuDdzsS5KBoQL+sdMdhjnrrO7nUNFF+FR JAP0z2S6fIeeNfu44ujqUJwVD/p7zUnduTfoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970405; x=1705575205; 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=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=S3aI7hJcxhMy0bqwva41WcUNYHR3FuaWXY6zZEACsF8auxAzhGlpT/LNphixREyHUp +YLuPuNe97GmEComaP8ySO+agLOHsO8Hni3wU3qm2yjq0h9tWutH8O1JF0X6r8NHHRrs 6eGeGRm82AhGE2E/kiRxvjujYJ7rJ0wQkeIuhOUqzEX5TCJxSQx7aeDPN8P/YMCBm5ox 0Y9+mJh22MDr595FDq3iSjdNWmgrhNmvAlqw2iDI6jj5S8yUGgIP3oNQg/sW78ij4MCD 37MCtZ8W1+aIMxO140vXv2M4NI3j2cL8pbWLWuzA8BJHP12PulhbfWR2WivSbL9C3YgI lvxQ== X-Gm-Message-State: AOJu0YwYrjinSStpP492bkhw3/Ed5056wf76RGYtFdRR5HLSmh7L2t7G U0l+eiqr/xKwpEtFfuasYJcCGDkrdi9fCHo24grriyE+Qh4= X-Google-Smtp-Source: AGHT+IErKbNHU1lSm1I5j0Y/BKOFu7GR/fneD4zc9HUeecOhzjFHvKjF72ilRx9vZI4fmzvKq+Lmhw== X-Received: by 2002:a05:6402:1d1a:b0:557:a3c:9d45 with SMTP id dg26-20020a0564021d1a00b005570a3c9d45mr488768edb.79.1704970405000; Thu, 11 Jan 2024 02:53:25 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:24 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , Dario Binacchi , Andre Przywara , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Maxime Coquelin , Michal Simek , Rob Herring , Sean Nyekjaer , Viresh Kumar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [RESEND PATCH v6 5/5] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Thu, 11 Jan 2024 11:53:11 +0100 Message-ID: <20240111105314.8186-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-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-20240111_105335_788330_EF02087A X-CRM114-Status: GOOD ( 17.64 ) 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 As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revisions addressed by the patch: - Board MB1225 revision B-03: - Memory MICRON MT48LC4M32B2B5-6A replaced by ISSI IS42S32400F-6BL - Board MB1166 revision A-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch only adds the DTS support for the new display which belongs to to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- Changes in v6: - Drop patches - [5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK - [7/8] drm/panel: nt35510: move hardwired parameters to configuration - [8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK because applied by the maintainer Linus Walleij Changes in v5: - Replace GPIOD_ASIS with GPIOD_OUT_HIGH in the call to devm_gpiod_get_optional(). Changes in v2: - Change the status of panel_backlight node to "disabled" - Delete backlight property from panel0 node. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the original driver. arch/arm/boot/dts/st/Makefile | 1 + ...2f769-disco-mb1225-revb03-mb1166-reva09.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile index 7892ad69b441..390dbd300a57 100644 --- a/arch/arm/boot/dts/st/Makefile +++ b/arch/arm/boot/dts/st/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32f469-disco.dtb \ stm32f746-disco.dtb \ stm32f769-disco.dtb \ + stm32f769-disco-mb1225-revb03-mb1166-reva09.dts \ stm32429i-eval.dtb \ stm32746g-eval.dtb \ stm32h743i-eval.dtb \ diff --git a/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts new file mode 100644 index 000000000000..014cac192375 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel_backlight { + status = "disabled"; +}; + +&panel0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/backlight; + /delete-property/power-supply; +};