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: 187299 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1363355dyi; Thu, 11 Jan 2024 02:56:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2aoAFKb0DHOl2pXFmLGmFjvqyJDgy8TOZSynyBS0K7albCBD5jlhwNhKoEj7I4zpFbnfc X-Received: by 2002:a05:6214:76e:b0:680:ff95:2d3c with SMTP id f14-20020a056214076e00b00680ff952d3cmr963660qvz.87.1704970562369; Thu, 11 Jan 2024 02:56:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970562; cv=none; d=google.com; s=arc-20160816; b=smXQFYDSoxH0Hqbl2LZVcdv2iVnMUnt0ZFVJWfP7DqZHNU9iyr1mCAYUNR821upw6y PTmifG4RQMqQtK+8bJ9UdPNQfD5CAjnTFTse1CRsZH3/sWrKMAnPrYpuQLxiGaBRp33f bJvPfh/uM3kUAqru5BQQCbVgbFyNp82HvVlBPaqaoC4oFI0RU1Ay3G6pLs749jnmHmAq e2GG31hb/wBLLKocaGa7mfHatsAFVeNARx0jKp+a19h3qsBmuPcPVv0UOYpftREYwfIH 8U51nZ97HOgn4grAYHmsloVfdL/VFe5w+T9sYptBxMOqtZWDIMZ2emyw0z5HHK4wUars AX/Q== 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=oZHp7o9P6sSCcRzfgnf9GmPoPPKRvORDv/jTzo46w2U=; fh=csUpkgNjgn1i7UKnKaerJHYj9lMGm+dM1kue3FqN9K0=; b=nDsSUguDtiDWUATK5HjX98g6z++vk37wS26YxxzeLHw9G4ZWm50Ivdfc5MKWlRw+rr RN6/oi4m6/vMZgaN/fRHSujAdmRZBUP3Xydf6AsTAIs0BCONq6C/WOa2djtcmEY7S6Db hQBNz4JGyFZJXQ5S9k5jFYIHti6Ax3ofqEK7oJ0svXIT34khuqK3TWmRBYEfuAC/3xT/ jPKg1xrwGC6/pTVlhsxzpnJt+wNK/PXmyEcIrx58Xp4ygaZp61EOEiswnGRuLlTEKWnu 8HfpFiqUCxBwrQGNQ99TFzwokDr7Hfx8IzCIOONa08gSv0FsJ04oAJSXRmrJ6XunOZtw ZnAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MzHH+rmD; spf=pass (google.com: domain of linux-kernel+bounces-23425-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23425-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q9-20020a0c9a49000000b0068063dc1d64si523674qvd.589.2024.01.11.02.56.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:56:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23425-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=MzHH+rmD; spf=pass (google.com: domain of linux-kernel+bounces-23425-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23425-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2D5431C20FE4 for ; Thu, 11 Jan 2024 10:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CCEF168BE; Thu, 11 Jan 2024 10:53:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="MzHH+rmD" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 A723314ABD for ; Thu, 11 Jan 2024 10:53:21 +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-lf1-f47.google.com with SMTP id 2adb3069b0e04-50ea8fbf261so5889413e87.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=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=oZHp7o9P6sSCcRzfgnf9GmPoPPKRvORDv/jTzo46w2U=; b=MzHH+rmDBp4lEC/4Z+kUgPJFdcsuwRf2WYfcDMJnmLZbeZOZ+IzwqkQ015P6/ywcgc aLyhNM7xKBVV2aOJXdjsZI8/KN2zL4YniNDaGwxNNLkhDNUu2INcWArXf+wKXp+UPwCh O4S+hBO0Y4oiScwSCFH3dH9NUMy/5J9LU12us= 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=POmZSo/kV1luk2fvp2z4cSacycqlaxtdihLDH6c9Q66xtGU++qkzCRRwmoxFYZdfvK 6eQDR9DGrn49HcrWIelyaOC9OTHffj1KbF8kFyQnrwFLzteoZr5m5UYOeD6EIq9ohAbL JH8sLQISHBGPrGj2v8Q/bIEgviRqh2/SQiQg50YotDc6YcEHY5M1nqJvUUAQqe0Qzuff Pn25GdP0y1tYeEnnsGY7kBF/kawUy2W2bTCNubYnwVZsstsOEmuLEYjBAO1tlgKygC1A MNhMHWzHNZeqLlb1QkUtGkhy9bZRaW5I3Xp85QjXUheo/s5Lau/QfkpQGjBCd+2kSSgb wGxg== X-Gm-Message-State: AOJu0YxHAfxiTNieroI5nuEG/E7j355zPOabHkDs+ThPf/McYJYlw7Uz ZvcdQOlbKv41v7ifGOObm7LXflwhfE7FDtYz7ONCx4p73mg= 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> 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: 1787791212331942486 X-GMAIL-MSGID: 1787791212331942486 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: 187300 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1363441dyi; Thu, 11 Jan 2024 02:56:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzNFG1UVuEXmKaDuHWn7yC4RVWqVdHd37wKU6TKaJN1JLcyWtbh/pVp/at4zVeI5YYmxAn X-Received: by 2002:aa7:cccc:0:b0:555:9dc6:db with SMTP id y12-20020aa7cccc000000b005559dc600dbmr308684edt.96.1704970573601; Thu, 11 Jan 2024 02:56:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970573; cv=none; d=google.com; s=arc-20160816; b=cUlGsbccMPR7PC1BQbPSDOzKXzBgD6M+YlzL5m6VRQmKfhQMY8A7CVrg6VUxHT7dP+ WISnZkdH0hGNtIZvrTcwzbj+76mRvAvUG6CPICFAbYmQWnWe5+wHoDinBOwvFappbcx/ aalznT6kkun2LtQsejW28kJuH+Vbbqv6Iuwa8gajuGgN4wjjQsQhKgh1Sbl+N4Su52la vqqJUCe4ui+GTCzClWFfIAUOD0Fnj8+R/pU6/15IbiGoPiMdq107furFxOxdR5j2UtWF dEzn4H/8umhjDV3/OsFfwajo3ohHR3N88t1yLDENmptsQhbP9cCALnXKqwRrN0PitLgb F/Cg== 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=vKx2BfGohtHNZzQugIDlWq+fi05pHcETVvgrWbEBP3I=; b=NzPWfxv24IK9X2uLvJWZ5ZqpUHSexQ3//LPqCkoLkNgFyCs75eJPl7eK/EeZlQwB8h 68M5zds//8vla6KJdgIHUBu5RLcV1Qf2ZWyubWrxfmTo/ewvUt99+4vTEZ5U16y/h/m9 VXg5s6QV7Byd1SmQ/HlhK8L1n4l85hgF7eAtOgSExM77ZSewR8ReG1xYOvuFPpymj2jH RN5MEfHAG0xGKHtdHepc5lBH72U84Nnv13RcpXmtxN/8hUF4LRV9sd/fkejs7zC6bPTI /OH1kEGgLIwaIIAi8afaf7IO67auYGRkq71CLkLNLH8D6pk+wvJ4XIg5Wwh/GQAztRvJ 3Dog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L2HIqfuN; spf=pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p23-20020a056402501700b00558599656d2si425456eda.94.2024.01.11.02.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:56:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=L2HIqfuN; spf=pass (google.com: domain of linux-kernel+bounces-23426-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23426-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E46631F20F55 for ; Thu, 11 Jan 2024 10:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15F5B14ABF; Thu, 11 Jan 2024 10:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="L2HIqfuN" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.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 D3CB414F89 for ; Thu, 11 Jan 2024 10:53: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 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-556c3f0d6c5so6118074a12.2 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=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=L2HIqfuNWDEVZ1mwsmlPx1OYxsS6jJ92OUxtq4EVt7JaviA+D7RDKuunlAj23KUHz8 ajmpAe080VaBLvB9QAOBy8uQM7Tml26asp3li0RrglxP+Sv9qeRXr8PDmJqeJ0VQ9DVk Ua6l63rAGv8sDw8VoRQzFBraTHa724p11DOB8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970400; x=1705575200; 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=RqBbetMP9gSKPE1MkG+NrMCOCRZBNEiB49zldh3CeIzbNsQtFhzbQU/EEHJJxDu4ey XumrveAZ2XQyjn9KtxzjWunEDPpuM4jqzB+p22UN1blUbMvd4s2vq02xA6+oTD3KuBA/ /RSzT2IxjvLT7Xg/8PqMy0w9vzBFRjr5JfTP2SxRKXoU0BzO6V6YpaYCAsFcfAR+Lqqm vvlU5rEgzguk2b3fRyWjNpDsWEcDTEKQGvCFNszzTicesX1YheJ5aEHkm5dUnXFb2hHS IS0MOSC/p/90GniCCHgFgiw/Xm4DcpTHb3RVyf53Pb+haJmlz+jsc0CK1wINIJ4PyQ79 ojCw== X-Gm-Message-State: AOJu0YxzQck8iEfvaOOoVPqgU+f9d46ZLYirnIOllwNDAK+E5zJiniNO h0an8tMs7yDWQ8WBdEt7tT0TMR5oBo4vu3C8WOL+aexNTw4= 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> 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: 1787791223977137055 X-GMAIL-MSGID: 1787791223977137055 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: 187303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1365003dyi; Thu, 11 Jan 2024 03:00:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYzQoCpqn5bAxfSwOYku/76v1NElP30rw4kWRPVfKv6CRSM9XAYdm4WowK5xvj9dPezZeZ X-Received: by 2002:a17:902:d510:b0:1d4:94f6:56cb with SMTP id b16-20020a170902d51000b001d494f656cbmr985681plg.117.1704970826125; Thu, 11 Jan 2024 03:00:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970826; cv=none; d=google.com; s=arc-20160816; b=YuyqiSNm8Ez/HNcCguXNw92L63EUAEHVaNjcmTjmiTkG+rjXCboQjDH2CUE8z9CHeX nosSU5ZBitLCLgchNYjd+zQuIwKbFdwyRKnqJaN+Lg/KMG7Qg4yiOfHiWjTkmFquzdD0 FWZtENUSVN5NdGxJfUjCuEjgVz1HXdUPTbYBiP7kJV4Koaz1hNGuyrlBuRQ5zSCXGFKj IO18J38AWHRN35LCWRGFGU514/iN5ZcMjYHUvfYP1Ea7xqt49igNnp/wx9r/Mk7AkMlC zXOy7QFHVgUlhbv3Vt4PmHsmF4WvAI3sdIA00tEHt8NzNJJmw4+7Cz7AbFfKsvfYYFJV bEVg== 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=/mPDNXnb7QOonc0RYCjpM23Kv+HuP4dW7ug+KwP2qeg=; fh=vKx2BfGohtHNZzQugIDlWq+fi05pHcETVvgrWbEBP3I=; b=qevRxcL119MxG+jjOXIO9ykulKj5kpKHqI/ZsKdZnbcpZTrRoVyxv9yxBts9liKLcu ES9Cgo6ygROp8Y8PMpXP50sShBLaSKNq9ZiQTeEmi+5YQux4w65XTNN9DavZReCZ6wvR 6UvcReBMwvCKgkz6T10aWuhugfsEy0D/v0GfEXbscKQ57XMSmry8+pedySsmqAksF1Ia +JSZFXGDEBzfEw6gytGY0jjy4fZKZY067P0TszfHBcA12FwqycIj7xGDJEQYWUsSd0R5 0ot8Z4vgU6pmdYZ+J/SJkSgDOgFjUg5VuYsHQ99IyQJVVLmcircdNc39UR7qkaFA6UH4 WdYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=paGTC+yw; spf=pass (google.com: domain of linux-kernel+bounces-23427-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23427-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v4-20020a1709028d8400b001d46a313b41si800470plo.353.2024.01.11.03.00.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:00:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23427-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=paGTC+yw; spf=pass (google.com: domain of linux-kernel+bounces-23427-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23427-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7BAF4B26A99 for ; Thu, 11 Jan 2024 10:56:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4296E171B0; Thu, 11 Jan 2024 10:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="paGTC+yw" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 24A081640A for ; Thu, 11 Jan 2024 10:53:23 +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-f42.google.com with SMTP id 4fb4d7f45d1cf-557ad92cabbso4699057a12.0 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=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=/mPDNXnb7QOonc0RYCjpM23Kv+HuP4dW7ug+KwP2qeg=; b=paGTC+ywLxbI/k1otTM+/mQbSKafbtw+ZJCGQmghQff+QHAaA4lFsoYu80o/h9nItf qv7Vjl7SnT/sBFuMeTLodTbmZ9jRDMnc6Dbq1hAtxv0GW/MEtqfaNz+SXpewUJFb6YuJ Vs/rQb8RcGLdZK63NBQyhw4+WTikC6rBZh/t0= 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=w/k2d9a/NAmlaZmPHySB00zIlPduuR+mWkGU8M1ghIPsBWLVHvwxNWbJYiozoJ0Kgc LUNs0P4xM1jjmaLeKDngwrTsyUVD2iRHuPqWsRN8Bqyx3xLtCnL3wzeHYsMD4l5/zlkC N7YWaB0rJrcJp2kyLoeC7kV7w/sA8lo0BtZoCTDIsgz78EXbogmfOehMLyzfM5JTftAn 60nYTLb3r+2sVWcqYBX1xas8iJPqB6MuqPe2v4PsamIwmzfridJqQ0mkYLgXQbG0sr36 iVXkxp0juK+V0yd96Sra7bRMhhOR1hIsXrjmBK5RMGA2pjpxR9yN2hAUa1GXdjplWUjG zCvg== X-Gm-Message-State: AOJu0YwQ2zCGHdhnlAfazGWEIKIhv6ovURp01OC/YaZz9aO7BM2cuLwj pvnc+gTx8Z6vEB54YT8PUs5FI2dgKxla3CKL3mG4mrCpISQ= 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> 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: 1787791489042116810 X-GMAIL-MSGID: 1787791489042116810 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: 187301 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1363608dyi; Thu, 11 Jan 2024 02:56:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSNL5l3/ygtQhhG7k82rS+7KdbZcDFv6XAY63LlqMecCsAjR5Oar43mMC8Fv+qlx8yCL+u X-Received: by 2002:ac8:5b90:0:b0:429:a4fb:6472 with SMTP id a16-20020ac85b90000000b00429a4fb6472mr505479qta.67.1704970605132; Thu, 11 Jan 2024 02:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970605; cv=none; d=google.com; s=arc-20160816; b=gRPmYpzhxPX1iCSwuR+GK3fcenFHBpRl4vT3f4MpZeF2om0t7ZGbd+vJn9RBUC23IF SUaL8ccg0AaRDmOdhUQ2Z03r2xJE2prarmQFPZWFZQDCFS9a/ftbfTMxoJB/gxdeRc9X YNi0G9wO0n/1UWWz14bnjiJZWrNxWll2KcPTYVXdQo41JArsPublCFSknYZWZnienpsh VJ1O1itevhZ6WRgFhezImKLeTP+sALfMLE1hXiauGsGa7qSep0KLFiFijCseFF/bIwo4 PLyFqL4aetFQ2IsDJw04hWbHWZ/VXRVbYXfBGKojHKftXXObLxQNE2sJmvbT9qX9ANeU upLg== 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=c6lTYGwOZkH/q3mVT10Wfxgf2APvMbHICMTqCuHaYlQ=; fh=vKx2BfGohtHNZzQugIDlWq+fi05pHcETVvgrWbEBP3I=; b=TyX9RVIZErf1/MxmRzmUFWnDkHtH5D6cL0ifkhvmglu4wLNDeLD4TvpF/XB/vW6VEc gJwjT/nf9IbX3SqQ5fU8rwESdMzBwKGDMLO6wcc8mS9BLyXvltiHS/zqcKJFil/ZrmIl zAVl4B/0Aud7zqof7JOgdhLsol4by8kpig0wxvsu5gV1Vc4rR8vI8V0yCyiibYG3CRiT F6T68Z11pPIWtT5L3jaJh0Tfg6L5vLtoqQTPmcQVlx6WTiT2IqSsXRIUw0xt47edntGG UVBXnxg6AiLK2NYSlMdcSXnG2kTs3Mq7ZLlWe5js5ZL8YiGFlgXPsSbcQm3MLiS9bcrG moyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NXHYAjPp; spf=pass (google.com: domain of linux-kernel+bounces-23428-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23428-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e15-20020a05622a110f00b00429a20af29csi729865qty.187.2024.01.11.02.56.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:56:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23428-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NXHYAjPp; spf=pass (google.com: domain of linux-kernel+bounces-23428-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23428-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E6EF31C20FB0 for ; Thu, 11 Jan 2024 10:56:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E2C171DC; Thu, 11 Jan 2024 10:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="NXHYAjPp" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 9CB4614F9C for ; Thu, 11 Jan 2024 10:53:25 +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-lj1-f178.google.com with SMTP id 38308e7fff4ca-2cd703e9014so30538151fa.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=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=c6lTYGwOZkH/q3mVT10Wfxgf2APvMbHICMTqCuHaYlQ=; b=NXHYAjPpKA3Q1ux+0SOabItYFgfO41DrkziN7/orQfIWT96Vlg1uOrY/8I5CQo+vuX hDHeQw8OGKYghiHxsuXusZsCMT7908VWxu0TiYeq3CNYIvx3WmmD/b6dWnmYbgEf+3xa q9Qk/xP+v/VsjbJ9MWEZaKG5g1UaU1Q4ZhVis= 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=eLmHHY+gEh0N9e6wIaW9BAxO6P1zpUTr0TzLrt5OuHAmzOwomXOEkkKT7RFZ1aWHCJ 4rfPqb2MPDkI89cuE9nCOuzyB3BumI8KOhvNJTMkSoJAAu44Dr73M06+3yx53SaJSFME BoqRZaArykoopoGym228w/AVrt8R8u9fqNnGk6uEz0uZvFvb6BDohocaMt1S7+vI+xtA 9JXxZGfuXbz53WaoRvvCicFyQSN7KEuFstAQU66bftkNEx46Rs6WPMmQKt6gSTeHgDWa lDz5gBi49WJUuxeoIX2W5/2blecRk7leWfua6OYAaYurZMHwQuopHIDgx6K/gR4SBSve adIQ== X-Gm-Message-State: AOJu0YxrOtWMz6g9b5ms/UUF5ikzFxyfTCJKpZKokHKl+xY8ln+wKxZk x9xZhvofUepPQ3X9hUIj3l+wCg48QvfNOc265VG1hTad6tU= 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> 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: 1787791257485706130 X-GMAIL-MSGID: 1787791257485706130 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: 187304 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1365359dyi; Thu, 11 Jan 2024 03:00:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/TnkIho3iFX1YlB0o/e7iy5UnmgGaOGivTQ8dratM5Xl+r9f2ynxmlRHS9TzX+BVwth2x X-Received: by 2002:a05:6358:10c:b0:175:759f:8fcc with SMTP id f12-20020a056358010c00b00175759f8fccmr962013rwa.30.1704970853112; Thu, 11 Jan 2024 03:00:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704970853; cv=none; d=google.com; s=arc-20160816; b=dpYGHudIGB9SH6M9Oy1HWDezAULYxpwy4RxKozX+cnELiosWkABldCmS54fL7Zzip3 rLSUiSDb6UX/DLqmYa5Z81dvJYpbSLBifZ1fZvlRuJ9MGF/1CuwXhCnUumk0X8rbkzKe Qs8AsqCJP5ZStG5p2+NVrph6rvxVnFTVXkpJieNHP6gxa3PSra5Fq+hn6eW4f6xZOaPo arH5ZNrpr8fx1wzitmjYIMoZJ1UBgk5Tr5itNk8wD6HATQ52LKkecWLqtJAsOCY3SoiM kmaWkjWQclvofnC/NTLT9DjNnJTU+N4LnZwl3st+tvwQe7rNakZ8oy/IiT/iuxK0SRu4 61Lg== 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=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; fh=mrDgONSwal9TU1levtzK9yYzBar7UXINmj9zU4FpDhE=; b=jrqX/Z2cZOAId5dnXbCH+EJT1G+NZ0QIleM9ILf7QMkeN+2D3wVP7yFlY4z2kw/7L+ FAlYyu2/t0lFEebduNFccn8x7s1lU/hZClTWIat4/yDbqhTnkj/gm6BA7J18DwuErt0y rzWDwZDYvpHcf5TAceEwZnBQ+LbKZSsHCTPgqNbh7Ii6henjD1tgUOr8Cel61G9cV2NS WHZ8iOTDyD3bG8Qvt0B/rfkB2d9OBXcJCzXtBd0QHbAQ2Z8I4Y+mznrxGT5yxL+8oniK J1m+3R4OePx9yNbjdIFkKcHrZijkyLyEfDbe6v+BTYK1gDA2APiU6Y0NyGfpsEggnTkC N1AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="gwjd/+nW"; spf=pass (google.com: domain of linux-kernel+bounces-23429-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23429-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h188-20020a6253c5000000b006d9b4e9a5e6si768865pfb.383.2024.01.11.03.00.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:00:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23429-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="gwjd/+nW"; spf=pass (google.com: domain of linux-kernel+bounces-23429-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23429-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 41086B26CF5 for ; Thu, 11 Jan 2024 10:56:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E78EE17733; Thu, 11 Jan 2024 10:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="gwjd/+nW" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 D5E63168D0 for ; Thu, 11 Jan 2024 10:53: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-f47.google.com with SMTP id 4fb4d7f45d1cf-558ad44adceso210541a12.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=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=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=gwjd/+nWvfhtu2C0UXNhhmOlDQzFgpdy6rm7H9wnSXgjaCo2uO1laenOX5Gagw8Zzl /p2J4dqJqXqtnlTODTPqIrWsbi8pRigSaP0cw8wexbOQIsVOQnnTXOqiokndXx4qGCzW ATJH3KrBh8C3sppOIv56Rak8teBBXwYBQLwvk= 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=FBtXwCCM6IhkgiovnUtrnZt1wmN+xbDyZEH8a08PMr8P0dHVgzUaIsUxdhMyyI3MIX fhr+U1KPFunsnsxUF/aF0Q67xNVvnX/I/f9G/5SqDlwNmiD8isOFmTh1xun/wkTGMEY8 ueZr+XvpRouWgiGPINXdAr4ZI1LfTx7l11ySazHzAVqUP5kxH7ItdzO4HcuxRfJ3eAag qDezigUuQzXIB5sQp6COa/0t/1+t1KcohgC3DkQJGUsTQR2jATUz286nyBTuw9GyuV67 d+xGH84K1ksaX3SDr4MZfOEv9fQ0SEqWX9pGPLxuM4Wykd87H8sdnf2bL8Fl+DWdFbLy j6vg== X-Gm-Message-State: AOJu0YyRjHGi5PLd3Y0YjsDhZzB7CmATDGnXBlw85BCIwyEETEtOaDx5 V+vDAQ614HV9bqOCzGyPeIc9kvI+Roz1opM97iBvhXFs958= 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> 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: 1787791517509633762 X-GMAIL-MSGID: 1787791517509633762 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; +};