From patchwork Fri Jan 12 14:48:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223228dyc; Fri, 12 Jan 2024 06:49:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKS+vcWngI9XFu6ecyKHuHrU25u8FPtjYFLbRahiNszCg3C0VlG7beRylU8qITr1KS53DL X-Received: by 2002:a05:6a00:92a1:b0:6d7:fedd:3552 with SMTP id jw33-20020a056a0092a100b006d7fedd3552mr908111pfb.48.1705070994417; Fri, 12 Jan 2024 06:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705070994; cv=none; d=google.com; s=arc-20160816; b=kt3+wefhpzWXA97LlBIUaZH2/J2AAgHihKj8oiV+o5eTUJtaE3Zbjh0MhtpzUWh6G9 DW3ArNziMjpVw7x83PWN93DR2qjWI812YuHtCdTPydMhGwR77VhM60CFDk76JMl8fI7/ RLumIrdrkXXc4OQ0B32vFhT8fokT6JoKLL4PVcjv0SARdHwpD+x5nPHmfQUdXBgE9UJB KVmnqh/CdgTn13mBu//Teu37P7MH1zUpeUrPldcpRfpPKvAX6Eb5CUKLJ6NZy8G2VVLM F1tjFWx0ee0wZjOJEJVfYB+LFV3v7zQ+g5d8cAzLW5JfPths2pA9mmVVlKORASEMKSIe VUmQ== 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=hBytSUC/4Scw/6M7MDSEKF2OisRATxG4/2WDOpsmueA=; fh=58Avw9YOp+FbhyUFoveGs61EVoDE+8Nc6gLNo6ahcsE=; b=txI2sG5Hmiulc5dv+1TKcei312t3hHDgdgXgI2BrRuy59CSD/lu7P3qe3zH2/jWlg/ TV87PNh5G1gJNTEnjhHE4J1X6ZlpubipaSsJW5XIhiA7H+ZBdIW/lBPLhCR8cwSrTtUr nUuI58tKwl97VPjnNsI+TsuWIBtQ2WiRtC8dCQt5r10VIGR3g7uzp7bbu4PW1ejk7TG4 EzW9yU2us0k8jJyHxgjCmN2AtxzeU9SRtz7lvqSOuAwNoxCO7uPTlIWnc0OOGLjcSSLe t7er3V0qGoWNh76Mg0TPSzfgETIHDVBx03l4YXsW/eD3aQOfciuOG0Zn5OibJ2V4Fb4R a9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IAyPh8XH; spf=pass (google.com: domain of linux-kernel+bounces-24764-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24764-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w10-20020a63490a000000b005cdfbb3a766si3391169pga.296.2024.01.12.06.49.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24764-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IAyPh8XH; spf=pass (google.com: domain of linux-kernel+bounces-24764-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24764-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 D75A3285C47 for ; Fri, 12 Jan 2024 14:49:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D1C06EB6B; Fri, 12 Jan 2024 14:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="IAyPh8XH" 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 0F04F6DD19 for ; Fri, 12 Jan 2024 14:49:10 +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-50edf4f478eso2860706e87.3 for ; Fri, 12 Jan 2024 06:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070949; x=1705675749; 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=hBytSUC/4Scw/6M7MDSEKF2OisRATxG4/2WDOpsmueA=; b=IAyPh8XH29doz03CWnm90tk/0fkCsc9S6BrGPCKLLkSSETxLSl/NrfboTqCddcI5JG 9TcXDl8MyiGhTLao0Bo4UL7rZ2GOWbvdohe6BOxvIJChSEEsINgQbJd2t6HeNcnPx2wb PhaBfcKYjTMefg/FhKRPFhhj+1lvhEts1jpfU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070949; x=1705675749; 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=hBytSUC/4Scw/6M7MDSEKF2OisRATxG4/2WDOpsmueA=; b=V2wXBHysHbINKLkJ4IZzxRfs2ltN5T0SruTtqil1TFqhMiMpe0t4927jqMuMYWYgs6 8iLpZPsFMPDCC/QjG4pUVGb4TkFy+6Yzztnf7/ndJaozH4mwE8t7ilu9TAc81Sd6jBFK ZDs74D8v3ntmh8P5poak8AwnmOS+EulnCIyI3aErm66BW+t8xwog+X9hfO/9BUc/4qTe t4nvQEX4VQ5wRSdtoxmy/T7fK93H1g4qnrla29agMA87Q8hQjGzzx2l/siSs7Wi7UimO P/XOcR9cQ2ZypKOybBWL4BABq7RdvJjLO84oa55aWypIgLK7q3ZaOayiys70TtqLvaeJ Q0EQ== X-Gm-Message-State: AOJu0YwE7klnODUICROSYshM5nUIYqpH7/QBLgp2eExaObHnmp2nn0bD z9Ym2DHNGKhlHwZ3BW0JGcGWPMTW7nqFuybrotliFNg5my4= X-Received: by 2002:ac2:4a7c:0:b0:50e:76d1:f02b with SMTP id q28-20020ac24a7c000000b0050e76d1f02bmr688423lfp.39.1705070948808; Fri, 12 Jan 2024 06:49:08 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:08 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , 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: [PATCH v8 1/5] dt-bindings: mfd: stm32f7: Add binding definition for DSI Date: Fri, 12 Jan 2024 15:48:21 +0100 Message-ID: <20240112144902.40044-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896523011724414 X-GMAIL-MSGID: 1787896523011724414 Add binding definition for MIPI DSI Host controller. Signed-off-by: Dario Binacchi Acked-by: Conor Dooley Acked-by: Lee Jones Reviewed-by: Raphael Gallais-Pou --- Changes in v8: - Add Acked-by tag of Lee Jones - Add Reviewed-by tag of Raphael Gallais-Pou 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 Fri Jan 12 14:48:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187767 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223336dyc; Fri, 12 Jan 2024 06:50:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCyTA0nc9hAQjDMvLnbiBm8PkGME9DpzW0ooy0HA7GAlMOI9+2TSasfXiG8SXN5StxUo+B X-Received: by 2002:a05:6512:e84:b0:50e:7e13:813a with SMTP id bi4-20020a0565120e8400b0050e7e13813amr871615lfb.61.1705071005969; Fri, 12 Jan 2024 06:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705071005; cv=none; d=google.com; s=arc-20160816; b=Yzrrq9FETQjWRT9DYZhOCwkxD1+xgFY7DTuJ9QJ/4ow6zUc2vputQcXVxji4xyHijq jYnmDE93wrB671Ebsthb/9MXKFq4/yoBLXo2aUh89N4QwcRP8E4e+VZfhnZXIZsDj9pq Q90D8xF7lRe7ecdS35a+vEJiBNWqMh3vB0Gy9f7spkBdKgFE7RmInPAMAP+L324KEipt t8qQeKeqTvWzxtmCmrgnwDevXwHcm6IOnqOMXYyd24T1IlIyV+91CAthUeFy1f+aGgVO wu/rR5fkBo8b+bLAQIogkAeXyNb+7X+nMUFuLsjOjqSZW0AZovvJQWdNvYwTgSfkzC+f DyZQ== 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=Vt8QjlU/pJSaAX37WvpTecDGxrJxqyWYjUP8ZT1RSaY=; b=oC3ob2PVCG74IpOGK2W/ViJOTbBpjFomqnv6eWBxZg7+iEa6W8g9aQrTRTjhXu6VZ/ eNIwEavbpsXu5PIqmLAv1tkm3CMDwc2f+7mhO4JwTBUG+KKB4rRAeBvwiMMcQ6BCslwK 4lDgTQ1o5tsy7CBjBCelqK2T1e2fzIHsxQZasA5oqfi1y0cgGybcZTHo60s8g+hfop9d Qm5xNhuyBtNdZDnaPnH1kpKWBU29VkmQUBksdgslKfh2mOca0XG86B0ZfZnrZjz5KWWY N5NU0fpmr010gW53aLxab7zLW430PvOKM2SDI2ABAXS5yvKRvjRWhanrntYDraWudkaF 8rfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cLnNct4e; spf=pass (google.com: domain of linux-kernel+bounces-24765-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24765-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 e1-20020a056402148100b00557f63d399fsi1466005edv.177.2024.01.12.06.50.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:50:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24765-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=cLnNct4e; spf=pass (google.com: domain of linux-kernel+bounces-24765-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24765-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 91A9A1F25308 for ; Fri, 12 Jan 2024 14:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC9F773164; Fri, 12 Jan 2024 14:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="cLnNct4e" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 BEBBB6DD1D for ; Fri, 12 Jan 2024 14:49: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-f52.google.com with SMTP id a640c23a62f3a-a2d04888d3dso4307566b.2 for ; Fri, 12 Jan 2024 06:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070950; x=1705675750; 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=cLnNct4e1FBsDE8Hbau/t6ulBRYrbwhlo7iIKD6qIMO2hJGdKC5XLDkeK2Pp1Iizvb yukC6rl3DveiGVyX5xFZrOtMeP0rYprnA/w+NUYjtgIX07NSFmE/l0mpaR5BNj0EGBX/ T52RPxc3z36i6oJ3d5Y/ASPuaIgP/9SLdKKf8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070950; x=1705675750; 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=N/6oxfbR2bAlu9PJuvnmXM5EZ/jtJbOZDxvN39enWOJF1Rv28uXjR1UJy4TYw+3dP2 Kh4i1VJfT+aMIF2EiH0JXr3N5UwtpgxQ771J0Wff3YsAhPvE3xrNB3yvDaKdpqDypn60 zliPbny/6y64mhaV5se+ObEyliGyuzocIIXSgwa59UjbdL3JdsECpWX8g53pe7KFt41w 7BFzIuQcorhVirfT+QLFgkoS99LafQoqp0BQiVY+OzcxOD3Ejcd5umLc2rncgZ+/Ohgm 7LGc3BvQs3Ty9e/AAlctvz2NdXS/TwbadOGozo1DenQLqTbBh5/E61hdCfgNs4sw20Zr LETQ== X-Gm-Message-State: AOJu0YwgkgYN6bac5wd0TAw3kjOfQ1L5kYMeKan+xOZbypyCyUsiUjCG oibXtItcbMlixd9g5v0ucCXnwan3oSgd8eyIRUTQQyiSpVU= X-Received: by 2002:a17:906:5ac3:b0:a26:edeb:7635 with SMTP id x3-20020a1709065ac300b00a26edeb7635mr740160ejs.91.1705070949914; Fri, 12 Jan 2024 06:49:09 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:09 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , 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 v8 2/5] ARM: dts: stm32: add DSI support on stm32f769 Date: Fri, 12 Jan 2024 15:48:22 +0100 Message-ID: <20240112144902.40044-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896535354676199 X-GMAIL-MSGID: 1787896535354676199 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 Fri Jan 12 14:48:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223523dyc; Fri, 12 Jan 2024 06:50:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtTTE1u6MiZzDnKva6VWrHWAwBTtsxwZphsLsd2hRIjX/LjRzO210/SgOjCpABH6V0acHj X-Received: by 2002:a17:906:b801:b0:a28:50dd:66cb with SMTP id dv1-20020a170906b80100b00a2850dd66cbmr593554ejb.88.1705071022592; Fri, 12 Jan 2024 06:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705071022; cv=none; d=google.com; s=arc-20160816; b=JaqBiXMUm1fzpjiFdkCb1omEMDkmiAE0CPpjMwtYuGZNeyL8O4LAWa1mokfzuf1VBg wYeyQIkSWLXAN6zZryfPeUxFOjS6j8RYbpBHBHfwdZkqdYrplP4gvqY7ZJp1OsvdFBMT hNg0GXsWn/BWtBNojriIvt2xIWyGN0kEjyFqTg10OH11rXk9/Ci1Fozi148aaOUwG2vN ZquWxZQc2dcI0sRq6Pe3XNL92hsP6Pumgr2n97qA43cRjI6ThB/6JL5wAWpjpzoK1foO 3B1sOJsQtzHQ5MCh0bW5H/KpBwzzs6hXqdtqEHBLUGfZCenbXrhZqHWy219nNNFuC3IX GLtQ== 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=QAtJVjLEM4PpD1LfLOq0lj7khrRF1/PVKMI6rTwwftg=; fh=Vt8QjlU/pJSaAX37WvpTecDGxrJxqyWYjUP8ZT1RSaY=; b=VxZp8HuiBfAnDP24kuFX/dpE+2iwqF9rjPoiVowgh26BjwdLzzZBYR4nxpL2ddpmI0 yBWoldTYUopwZM5LGdzA4oDHyNt8YIpZcUJ1o1Ri1HENAcYaV4jsQ4hcz6gwwZicnkLD JaIf8QoDQ8oPB6BB6WEyH1tIcqdxyLzAC/Je4kDpQVjP+ka9mrp6XrmCut7ECrecol7q hb1dTaJLbdcSkbTOPfVaiEFKrMe2cQcSgOa4PJ43wX8AW/a4eQdS6H+9cKE2T61i0/ng 6Mi1yNNZR5SgbMIkzbWUyIOM5Edkma4GVA6BuzyNsiHuMkzku2B7OXYYKqoJ4fVnUpMb M9+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eEUbToyn; spf=pass (google.com: domain of linux-kernel+bounces-24766-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24766-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 s16-20020a170906a19000b00a2a35fdd563si1446678ejy.28.2024.01.12.06.50.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:50:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24766-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=eEUbToyn; spf=pass (google.com: domain of linux-kernel+bounces-24766-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24766-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 34EA61F25517 for ; Fri, 12 Jan 2024 14:50:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37BFF73182; Fri, 12 Jan 2024 14:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="eEUbToyn" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 0E0D16E2B6 for ; Fri, 12 Jan 2024 14:49:12 +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-f52.google.com with SMTP id a640c23a62f3a-a2d04888d3dso4309766b.2 for ; Fri, 12 Jan 2024 06:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070951; x=1705675751; 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=QAtJVjLEM4PpD1LfLOq0lj7khrRF1/PVKMI6rTwwftg=; b=eEUbToyn+aojBH4dJXC09lvGAsPlEP/3Wu0b8Bb4bt+QTnPTD3XCVVj+Uuc20Qvsat dY0JXlBSTjVWfxLjJu2TmIQVQhGRinyoCjfu09ldt8lp4G+b1+bGY2kBTnCmzWi3LTK1 t6UoaH6MitDQRq750PHJ/ipT2CTcX02TIT/zY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070951; x=1705675751; 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=QAtJVjLEM4PpD1LfLOq0lj7khrRF1/PVKMI6rTwwftg=; b=NRTFSoVUlCGxgWTxaeJvqxVlMnJ9J9jprC4MOW3zPicU7G0NbxnCaC8q3BcgM1qo9Y aejVtBmmnodbI7pov5lQr4p0KovIm4FjzcudgKnJcyc+q3OVFxqC+Giwz/bQcVxLHSgo II/A+eCwH2Xy/OcUvSSwzfxh5A2ri+Ngm2IcLrH8IJGAzRMuAuj7WgVbAktPd0bMBefI m9HhlLAR5Z72Y1XDOX8BDUYPX0KVN6dZxnrJ9aQV5j+D8ighPkvwzCjlJ8oxwkB+zyWT +RnPUn6B3Cb0Ir27+Lb/WP3LYY29/ZLkGLmMTRAJk2Ag58Dtjqf7rfNcuxdNsoGAj3gO iqaA== X-Gm-Message-State: AOJu0YxMr0UEzgs8UgQuw+iqjD5Jtvm66ivYelwr8fOqPeTYFhW3JbLU oJtm1sah3r39V3HxdtBTCm3o+4f0YpDqdwSgPpjdu9r+3rY= X-Received: by 2002:a17:906:1e89:b0:a2c:2094:5d46 with SMTP id e9-20020a1709061e8900b00a2c20945d46mr679423ejj.81.1705070951050; Fri, 12 Jan 2024 06:49:11 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:10 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , 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 v8 3/5] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco Date: Fri, 12 Jan 2024 15:48:23 +0100 Message-ID: <20240112144902.40044-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896552403441746 X-GMAIL-MSGID: 1787896552403441746 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 Reviewed-by: Raphael Gallais-Pou --- Changes in v8: - Add Reviewed-by tag of Raphael Gallais-Pou 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 Fri Jan 12 14:48:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187769 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223688dyc; Fri, 12 Jan 2024 06:50:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IG99RcXCMpvV4eLPrT++dniEcX1MMAyrQS7K6sB8lrW6ChXF4QAbP5EnVTBP7k9t9w3pXSo X-Received: by 2002:a17:902:f54a:b0:1d4:e6d0:34db with SMTP id h10-20020a170902f54a00b001d4e6d034dbmr1727563plf.19.1705071038793; Fri, 12 Jan 2024 06:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705071038; cv=none; d=google.com; s=arc-20160816; b=ACEdDGOK3oTuXbPlOaXd8zO7Fcb0enBcdYkgReuHiJMs37/F+I6OTremxPsOvZN1p/ XYZcgM65TYPmhXaS7zYXtEg9CPqlLmzFMqqyT2s/KeOczKvOyoNRQqhH+BDY710DEiWi wAiciljhsL2JjTCxkTTuZYU5+dm5rD+LqfiFJvUTWcugiMxvCkx9wFtitcQpBnytkwyd IbffVP3BoSE1jNxKPM/6KluJZGo4c6o2WWI3qUS4K//n64jv1msKoOQwi6whkfR6ztTM FlwmUbl8cGkEUkok1STIDLD9WNhozpgcCJlisR7M7bdV97l9KqEm6+/at3HCWNEBUMos Dmbw== 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=CVCuj48+/xmu2vffE0IGCw3X5dc2D2jlmiS9QC151X0=; fh=Vt8QjlU/pJSaAX37WvpTecDGxrJxqyWYjUP8ZT1RSaY=; b=JJbLGdoA7pq/WNcV7Mnf4LfOvTQYGpJiXJaK9RdNlS1YJwi8C+EEmVxWdQDv0u4Z+D jfjeRccdXyiD4Ix7q0JUm0ihjfqVBpGj/Sfo7yHD0QZ5RL1E7mvQjaGD4w2R5nI6Qn+F sfrCz6D51FIZaOKz3jlRZVK2d9TRwLJbassLx2hbEU2A7vWS5ZqdYpKrWnJ7HVXLmDnc OOV0xd+T8OTWc3iY3jXmaLbeU7DgV0pPwekk8csnNlsn3Ydo/MvATFDMmY259JLqRNzc 15F3v4KCfvCVJItstJ2kO8wQY6OYusKK1L3oz7rIVV6IIz3pGAw/bH/nK/OsEz9oGNpw GvPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RXzxZwgU; spf=pass (google.com: domain of linux-kernel+bounces-24767-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24767-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 kj11-20020a17090306cb00b001d433130553si2188465plb.251.2024.01.12.06.50.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:50:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24767-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=RXzxZwgU; spf=pass (google.com: domain of linux-kernel+bounces-24767-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24767-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 DE59CB21910 for ; Fri, 12 Jan 2024 14:50:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 395F473198; Fri, 12 Jan 2024 14:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="RXzxZwgU" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 0C7536EB43 for ; Fri, 12 Jan 2024 14:49:13 +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-f48.google.com with SMTP id 4fb4d7f45d1cf-558e5ebc75dso355012a12.1 for ; Fri, 12 Jan 2024 06:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070952; x=1705675752; 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=CVCuj48+/xmu2vffE0IGCw3X5dc2D2jlmiS9QC151X0=; b=RXzxZwgU1v2Rz/4zBFn4r7maHN2eOrTATOJ44cFI6VmrBSYtRh08aORFC1a1qp4FyE l9rHXXGaGKKj8/z8tqnUNb6mOnYYyknDCOHa2Tht8+I0jb9u744qSiGsF3ftsy3toyuB Cr3y2Y/vc+rRN6XvPDH6Ug1QFgrZF81sgsP10= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070952; x=1705675752; 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=CVCuj48+/xmu2vffE0IGCw3X5dc2D2jlmiS9QC151X0=; b=ZYPH/Jwuf3I5M+VFe0CZuJe9bctNoiXH5/6i3jEZ5Rz6k1a1vG2OttMdlhkJhs7kAL 3RveOEnvMxu2A+0qwQ56mZDO3dWmKu6/xhyagNUqUfSS9FnA2Tc8CcBpfnZeFQ6pfSab v33MPR5LV555uYSKjcUgz4mHfOwVYkfUuyt0ttUIg1+2ZK7465EOQTVYqyL5H9aU3ZNZ uigfN72jCbJDzjZSJVKrg2wtkbYy4ndP8li+jTwk6drusdKwkDnTcyWGmBqC4RL63d3U GFVOqHaJBumgTxRj3XyqcY3+K14sLzA3Lpqxb6IMyzq0qrgfLzkyVU9NfvMK7p/2vBXo CB2Q== X-Gm-Message-State: AOJu0YztNipqT18OjCGcq81abXXcfdx+OuplSlvO0hjZUDf+QpTGL8s2 UETatFw/S7O9ZKHkDPSC3vc2E78qkDXPLEBA0/cMc9VDGnw= X-Received: by 2002:a17:907:a4c:b0:a27:941f:32a1 with SMTP id be12-20020a1709070a4c00b00a27941f32a1mr901930ejc.58.1705070952151; Fri, 12 Jan 2024 06:49:12 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:11 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , 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 v8 4/5] ARM: dts: stm32: add display support on stm32f769-disco Date: Fri, 12 Jan 2024 15:48:24 +0100 Message-ID: <20240112144902.40044-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896569762059859 X-GMAIL-MSGID: 1787896569762059859 The patch adds display support on the stm32f769-disco board. Signed-off-by: Dario Binacchi --- Changes in v8: - Remove unit name from 'ltdc/port/endpoint@0' to fix the compiling warning: ../arch/arm/boot/dts/st/stm32f769-disco.dts:189.28-191.5: Warning (unit_address_vs_reg): /soc/display-controller@40016800/port/endpoint@0: node has a unit name, but no reg or ranges property 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..b38eef824463 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 { + remote-endpoint = <&dsi_in>; + }; + }; +}; + &rtc { status = "okay"; }; From patchwork Fri Jan 12 14:48:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 187770 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223736dyc; Fri, 12 Jan 2024 06:50:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuqD9w/tIxPqFUnhkqTX+a0X1QiKdrxfjBAt9O78r7D4gn/UqhYhWSOQTrqyoCtT4/+5jZ X-Received: by 2002:a19:674c:0:b0:50e:7e55:be9c with SMTP id e12-20020a19674c000000b0050e7e55be9cmr668004lfj.49.1705071043626; Fri, 12 Jan 2024 06:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705071043; cv=none; d=google.com; s=arc-20160816; b=e9PFfIGd8X+B2+3aGIbLltW/SGUIr6ovIwtNJZy0OARJY6nOtxdvYdyx/TkCqm4vVp 0Dy2pOSK3sb5dKrWdI/lUr5QJG/8CtRQBvwBWlO18JyGRVxyNci42yHa5XqYSV5en03/ JC86nkInOQH1svGipyr5fHxi7yN05HEOAWqafbLlG6BtYDTsMCK65lW+Wbwvtjkd3HFk POlB2+G0jDkyFhtlvGjJqIS0qd4XFK48dl0S9aSPJ5ccPQamCihEPHzSwnIEKaGqhwj/ 30aTCXkBjltxvEgprwWr+2A7I5P72PI8DXJuOkThV5hv4h5S8+Mee68mRKHBhOKCPKIT W3bQ== 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=GcgQmOqhWx5o24FC5m5+DLx/RzT2rQ1okyBUwBgTQs0=; fh=SF9Nhb+8kXgqWQxHW9i7O3a2cahkiU8vCpO0zPKjwE8=; b=PGBJ8/B1y8gjUZI4XBv/8A59qa7VmwY/op6FFKEaE0qp+9fIa31j9EBv5OTp9H3s7r Nu/n8KMhL8E1+6BLqS1HyYQ6QOyx7ywTuM5kBqZROFK2B4Oewe9DPzPEF+PmoKGae4TR +Ea6sL5xgOBEduCQP7Fh3C1R4TGzEANZwdqbXR9tUJK/Y68Rc67m8UXjveuLbVQuKOzN yyJ1bczF39NJveGAlJXH395lkScbRhP7LIIpFLw1opeKHIzaPi6CId1CfQu2/bDcUbgF jswsF3Fxx2LI5royxQx2sxAdaJuvkJtAoJjqoc4Wz9ZIFS/d4sNa7KR7GIUGroQHOGuU Ol5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cYqm3Pvi; spf=pass (google.com: domain of linux-kernel+bounces-24768-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24768-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 o17-20020a170906775100b00a28fe2b3ad5si1506802ejn.1015.2024.01.12.06.50.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:50:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24768-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=cYqm3Pvi; spf=pass (google.com: domain of linux-kernel+bounces-24768-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24768-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 3B6DC1F2552C for ; Fri, 12 Jan 2024 14:50:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5F58745CD; Fri, 12 Jan 2024 14:49:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="cYqm3Pvi" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 8EE406EB7A for ; Fri, 12 Jan 2024 14:49:15 +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-f50.google.com with SMTP id 2adb3069b0e04-50e7f58c5fbso8816489e87.1 for ; Fri, 12 Jan 2024 06:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070953; x=1705675753; 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=GcgQmOqhWx5o24FC5m5+DLx/RzT2rQ1okyBUwBgTQs0=; b=cYqm3PviJ3nK2aoNtoFtms3Ls4ErYYdRoE7SpNSgpgzUoyc7g5zA6AtVdkBUwGeGqN 1k6T0Vtge4xlBYMYoP3zw3DVlWf36FQYic81+Chx9RaR5s1IEncJd6KrNyH5PgR6irBz TuIFBCzP23XNuf3yBg+7ihQPLsClgzq0SSIFU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070953; x=1705675753; 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=GcgQmOqhWx5o24FC5m5+DLx/RzT2rQ1okyBUwBgTQs0=; b=i9txrzXYAMJmP9ohxFHjmm39Ksey8duWtKActL1UgMtxLJ/jmJXqyQq4uilLhMK0wq aLFpT6ycH/a5kdRnUKVOVMBBOWjfDn7MGzQ703+iQ7xW7m9jk2lcG5rx93QnV7basyBk KjZB/JGjljrfyQDu0VBCrCZPgB6nc0lJEUs5V85UARp+d9MYAjQcAjNseULwO4vL6Kgh 8eX9brgRYVADKF8p8hvO5OePwP5ybWW3EDdZkzv4SVhOz+VOdxf2cx2rd0fXxnZEAFpg i4i5kqG+vZzmKGfcplHImQzFWSiMXpgBb3QkZxHjAfDWaoo2BPd1qUAdlE4BeULcwBhk 231w== X-Gm-Message-State: AOJu0YzYpdKBX7STY3waY1pS35TmarT0tG2gnSItrBROTFYhdXW/C5km 7Kl+qlJ+XPXWygBLLnUhD0M9TDEc9TUDBbBF1EoddWi7VEk= X-Received: by 2002:a05:6512:234a:b0:50e:76eb:ba14 with SMTP id p10-20020a056512234a00b0050e76ebba14mr1127896lfu.32.1705070953488; Fri, 12 Jan 2024 06:49:13 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:13 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , Dario Binacchi , Linus Walleij , Andre Przywara , Baruch Siach , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Maxime Coquelin , Peter Rosin , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v8 5/5] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Fri, 12 Jan 2024 15:48:25 +0100 Message-ID: <20240112144902.40044-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112144902.40044-1-dario.binacchi@amarulasolutions.com> References: <20240112144902.40044-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: 1787896574977765075 X-GMAIL-MSGID: 1787896574977765075 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 Reviewed-by: Linus Walleij Reviewed-by: Raphael Gallais-Pou --- Changes in v8: - Add Reviewed-by tag of Linus Walleij - Add Reviewed-by tag of Raphael Gallais-Pou Changes in v7: - Replace .dts with .dtb in the Makefile 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..aa5b50d7ac61 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.dtb \ 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; +};