From patchwork Thu Jan 11 10:53:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517160 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8229BC47077 for ; Thu, 11 Jan 2024 10:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1f5N1s4xyTn1nejfv7ZVxVbLqWTi2H8c3igu5446u0s=; b=iwZEMhe1eu53N9 F65L194xImh82IXE3cNL7jG9c1D2pk8Nx26W+18IygitkRY3dNnM4oAeyAIeccGcuPiParPmdcr76 vLmgGqcRmUXdizs+6HBMcKmSEO0g4LWZ2CD8PRI5bp0Ces7eDE2z3xXLcAlKb+WSlZn+Rs5JkZ5lf /VIXoeo3zXY8ZCjVKTcexJwZJq+Dzkq0LvKQYBLoCLS0rxXZQh4+NwP/abeTAHTi0IdsUlWEjkEAO EtUviEQxTiW8wTur3xzuqvPqPUOVSDcBAcbBAhOwOjIKHgzhEyxymVwq6pAru492b1AKPD/35MUTY Gfoa8JlVxmzr4/ANUAlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNsh3-00H6il-1b; Thu, 11 Jan 2024 10:53:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgt-00H6Yk-2Q for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Jan 2024 10:53:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=oSCb9/4D83p0kes9UuOX8o0fIi u2kAeLVQ1wT/xRr5xZTdQ2yW870VAB2xUw5nqulYUrxWcsgDwfXcHHUfjJrzEZv1Ik5V/aMOGKT+b trIqk0ebS0Sx7i4imAZGye2YIlNFh2mNPVILJcRgUBqWfjHddVmguhExCb6/qeZ0Iptkn48Q6f12/ 0HuqFY0PxD94r+Y/YMBFkH7ayh201twayj/B7EOyuKvKKkuYXEpqEfCexh25HImgMcadcVqRv3EsJ bFgCY682Lh972Hu1evu675ZI4yGB8lBczVNZkwOd6dLQt1ceAXuKHL7HPkt3a6JfGUnWrBUHnZPYv RlX5uTwg==; Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNsgp-00AH7V-1L for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 10:53:37 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-558ad44adceso210535a12.3 for ; Thu, 11 Jan 2024 02:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704970405; x=1705575205; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=nXjlZHPsl9Hg5uDbF8Dn97Z8kciZeU/VbG1Sfu8p82t7az4zKqX095lvO+Hjsr52SQ 7zPPOBGZ/TyrsaiK1NM3FdLgkkhTyvVlCaeMuDdzsS5KBoQL+sdMdhjnrrO7nUNFF+FR JAP0z2S6fIeeNfu44ujqUJwVD/p7zUnduTfoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704970405; x=1705575205; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=07GZlbDEPiZyBFQar7cofI0kUTpkas/bOfqyP7AOZqE=; b=S3aI7hJcxhMy0bqwva41WcUNYHR3FuaWXY6zZEACsF8auxAzhGlpT/LNphixREyHUp +YLuPuNe97GmEComaP8ySO+agLOHsO8Hni3wU3qm2yjq0h9tWutH8O1JF0X6r8NHHRrs 6eGeGRm82AhGE2E/kiRxvjujYJ7rJ0wQkeIuhOUqzEX5TCJxSQx7aeDPN8P/YMCBm5ox 0Y9+mJh22MDr595FDq3iSjdNWmgrhNmvAlqw2iDI6jj5S8yUGgIP3oNQg/sW78ij4MCD 37MCtZ8W1+aIMxO140vXv2M4NI3j2cL8pbWLWuzA8BJHP12PulhbfWR2WivSbL9C3YgI lvxQ== X-Gm-Message-State: AOJu0YwYrjinSStpP492bkhw3/Ed5056wf76RGYtFdRR5HLSmh7L2t7G U0l+eiqr/xKwpEtFfuasYJcCGDkrdi9fCHo24grriyE+Qh4= X-Google-Smtp-Source: AGHT+IErKbNHU1lSm1I5j0Y/BKOFu7GR/fneD4zc9HUeecOhzjFHvKjF72ilRx9vZI4fmzvKq+Lmhw== X-Received: by 2002:a05:6402:1d1a:b0:557:a3c:9d45 with SMTP id dg26-20020a0564021d1a00b005570a3c9d45mr488768edb.79.1704970405000; Thu, 11 Jan 2024 02:53:25 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00557b0f8d906sm459774edb.70.2024.01.11.02.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:53:24 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Lee Jones , Dario Binacchi , Andre Przywara , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Maxime Coquelin , Michal Simek , Rob Herring , Sean Nyekjaer , Viresh Kumar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [RESEND PATCH v6 5/5] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Thu, 11 Jan 2024 11:53:11 +0100 Message-ID: <20240111105314.8186-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> References: <20240111105314.8186-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240111_105335_788330_EF02087A X-CRM114-Status: GOOD ( 17.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org As reported in the section 8.3 (i. e. Board revision history) of document UM2033 (i. e. Discovery kit with STM32F769NI MCU) these are the changes related to the board revisions addressed by the patch: - Board MB1225 revision B-03: - Memory MICRON MT48LC4M32B2B5-6A replaced by ISSI IS42S32400F-6BL - Board MB1166 revision A-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch only adds the DTS support for the new display which belongs to to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- Changes in v6: - Drop patches - [5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK - [7/8] drm/panel: nt35510: move hardwired parameters to configuration - [8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK because applied by the maintainer Linus Walleij Changes in v5: - Replace GPIOD_ASIS with GPIOD_OUT_HIGH in the call to devm_gpiod_get_optional(). Changes in v2: - Change the status of panel_backlight node to "disabled" - Delete backlight property from panel0 node. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the original driver. arch/arm/boot/dts/st/Makefile | 1 + ...2f769-disco-mb1225-revb03-mb1166-reva09.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile index 7892ad69b441..390dbd300a57 100644 --- a/arch/arm/boot/dts/st/Makefile +++ b/arch/arm/boot/dts/st/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32f469-disco.dtb \ stm32f746-disco.dtb \ stm32f769-disco.dtb \ + stm32f769-disco-mb1225-revb03-mb1166-reva09.dts \ stm32429i-eval.dtb \ stm32746g-eval.dtb \ stm32h743i-eval.dtb \ diff --git a/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts new file mode 100644 index 000000000000..014cac192375 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel_backlight { + status = "disabled"; +}; + +&panel0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/backlight; + /delete-property/power-supply; +};