Message ID | 20240110080729.3238251-6-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-21819-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp646262dyi; Wed, 10 Jan 2024 00:09:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEObxmWM3OXWHYbi0V3WJZ/7yc3LLABxoxWP3aHKvmVcZWwzJU0M2XoHoIy/K8vv0O4NDnD X-Received: by 2002:ac8:7e92:0:b0:429:735c:f66 with SMTP id w18-20020ac87e92000000b00429735c0f66mr691351qtj.108.1704874150753; Wed, 10 Jan 2024 00:09:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704874150; cv=none; d=google.com; s=arc-20160816; b=0DvS6j1+RfNCiSS9LIimM4pSnpQLOncFaA6is13nM5QXRccagnpYFLyLD3STfnNNzy yfQEWe4Jnkia/rLj+0F/vnZayJzWvrJPO+bJw1QwiHOlj3ItOQWW08jbMaOKW5MHucVh 0NVKy1mqb8nCq+d4v4uK17nS6O0nFenWXlnW5YFVfb/CNhq76zkEPwCAnSkpvSQjCA/v AVCBHbZY9/DYx8GETNqaJONk7j1VZnDGImmJxqTVikq6Wi1pAE99jaY7naasdrsl5ADa NVI3eztbaq5RlpKTCFwQNqU+CyeOPj1dMKRa183F2T6FpJ6z7NGr5lj8oRHS9i7qKogV G3tQ== 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=KNsBhaDp7prwaXy1f9KYG0vjAysTyFaZ3nNHTLbNtSw=; b=KfFD/WKEfDLrePNpATgfWn21vFfFEkaTBnmnBrQ/Jkw0OpoYZtp8Opq2YiTuf/JnAa MJ2Xf07ig4sgko5hN0BhXQsjN4SVGgIr+fbX7tcbgiOGah0H7v/kFAs87tVGH0tNaeLH e8wZANzys0D39EyxXGBMXdHPMkHZlmdbZRH9JPOfnSVgjyiZKV22IUiNJhtLAp7AdN+P PxtdVXP/nfJPNAkhRYv3mdGUAU/6xLRbm0a2p5r1CMf3aPDjycSd0YkfkwmhaBB/BzDH //MQBvUpJZ/JYj9NFP/Yp2cl/G9TKaMQwEwKT/YQJjiQuFN1aXOKMccW4MRzcL5mYCL6 hcqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kiby5FwE; spf=pass (google.com: domain of linux-kernel+bounces-21819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21819-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fc7-20020a05622a488700b004299e24f77dsi3723412qtb.626.2024.01.10.00.09.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 00:09:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kiby5FwE; spf=pass (google.com: domain of linux-kernel+bounces-21819-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21819-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 8B5561C25BB9 for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 08:09:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4DF53FB32; Wed, 10 Jan 2024 08:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kiby5FwE" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.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 A270B3F8CC for <linux-kernel@vger.kernel.org>; Wed, 10 Jan 2024 08:07:53 +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-f42.google.com with SMTP id a640c23a62f3a-a28b1095064so407352966b.2 for <linux-kernel@vger.kernel.org>; Wed, 10 Jan 2024 00:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704874071; x=1705478871; 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=kiby5FwEN7Th7AvFQ6wQ6MC5n7EhshD4f9AAKBoeSAqlGJ4GD3HC0cITelHp/6tOs5 EJiiUsm63FKVIWvXEUxNQFXM6G/DQEq+wd9dUDaMKmyxpy4CzQhoGIcWPeby3gdoaKpz dYQ+0WO+KuM+UZb0xnnwAGg+/yuLkAtU/jHMs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704874071; x=1705478871; 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=PC7R3pqNJlMAiqZWDgk5mrVqMUABJiTO4Tvgq8oBMcm2eN8QZMVkQ5c6pAXxrOUs8G oiyyZ7dwkvDtgWdIY61qCtUordeJJk3GO2kTWkOy3rPJTCyX6n3em9azBXpp8vBWoy9z 2HjvAlY2ySohxC/OzWtdp3t4DvnfQhHz09YEZEhx9/5D3WWzQAwkSABM+iyEUfqwOX55 JwOTPmA3ex5uW17gPNILvlgWdiKyujEEHIZkGJNkDL/2uHc6bqSR9bH7kBsKAhBw6lnx A0es7fEdjeONb4VqDVrzdllyyNRXu+gCb+pamLAUKfzNEaz7K+2PHtTJ0aBKuG1EW6pu iSDQ== X-Gm-Message-State: AOJu0Yz9jSKV9BCmoZrNNlCpgLhBqPpfe6NrhGvUC4CBrTOyDGQG1uqa 7B+ftWjb1nJ67pfLmBtFXYN8r/ttxMGa2O4xtPn3I3ccT4k= X-Received: by 2002:a17:906:590e:b0:a23:3aff:2a05 with SMTP id h14-20020a170906590e00b00a233aff2a05mr170486ejq.112.1704874071791; Wed, 10 Jan 2024 00:07:51 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-2-38-81.retail.telecomitalia.it. [87.2.38.81]) by smtp.gmail.com with ESMTPSA id v12-20020a1709061dcc00b00a2af672cdd8sm1833341ejh.161.2024.01.10.00.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 00:07:51 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue <alexandre.torgue@foss.st.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Andre Przywara <andre.przywara@arm.com>, Conor Dooley <conor+dt@kernel.org>, Florian Fainelli <f.fainelli@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= <l.goehrs@pengutronix.de>, Manivannan Sadhasivam <mani@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Peter Rosin <peda@axentia.se>, Rob Herring <robh+dt@kernel.org>, Sean Nyekjaer <sean@geanix.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v6 5/5] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Wed, 10 Jan 2024 09:05:51 +0100 Message-ID: <20240110080729.3238251-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240110080729.3238251-1-dario.binacchi@amarulasolutions.com> References: <20240110080729.3238251-1-dario.binacchi@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787690117441574618 X-GMAIL-MSGID: 1787690117441574618 |
Series |
Add display support for stm32f769-disco board
|
|
Commit Message
Dario Binacchi
Jan. 10, 2024, 8:05 a.m. UTC
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 <dario.binacchi@amarulasolutions.com>
---
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
Comments
On 1/10/24 09:05, Dario Binacchi wrote: > 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 <dario.binacchi@amarulasolutions.com> > > --- > > 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 \ Hi Dario, Did you meant dtb here ? ;) Regards, Raphaël > + 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 <dario.binacchi@amarulasolutions.com> > + */ > + > +#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; > +};
Hi Raphael, On Thu, Jan 11, 2024 at 12:22 PM Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com> wrote: > > > On 1/10/24 09:05, Dario Binacchi wrote: > > 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 <dario.binacchi@amarulasolutions.com> > > > > --- > > > > 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 \ > > Hi Dario, > > > Did you meant dtb here ? ;) Good catch! Thanks for the review! Regards, Dario > > > Regards, > > Raphaël > > > + 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 <dario.binacchi@amarulasolutions.com> > > + */ > > + > > +#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; > > +};
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 <dario.binacchi@amarulasolutions.com> + */ + +#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; +};