From patchwork Thu Jan 11 11:31:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13517248 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 27915C47422 for ; Thu, 11 Jan 2024 11:32:36 +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=W68FI3tYe75L4cYKDCvx5xwhe9joHp7R2aRj2Bb++tA=; b=RkhEgK0K2wuzQk X7ai9Dyoxi/l2zWimFLliZDFvkcIbgjgyvcyAjWmh1f7XY1rPRIJGHvlROQTqXr+xCHTSKz6UvwQq TYWek2xtDEDVe2mavdAoTIKELw7EqABlGg+WpiCsYZyrWDWmzR8hPyXwlQ9itvzkf0q6nqi4YgnAj uCrwvUn2a6p77B5rziQc09xIiBNDc84AD+hWlL+l8vsdyWuyMddtx/mYilciRgPNBT/ygK9TJRstG KobPecV2rB1emrMxT0+5PFNSTFU+g6xsn2CppGNsxn5j2fqw+lmm+kh/ZCJ7m7iaQyeX7TkbyGG2l iRdRfBqw6TKK9ZSwZHyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNtI9-00HMut-3D; Thu, 11 Jan 2024 11:32:10 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNtHz-00HMh0-29 for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 11:32:01 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a2bdc3a3c84so174514066b.0 for ; Thu, 11 Jan 2024 03:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704972716; x=1705577516; 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=zvVluqQ8n3x0cWnOxUoJf6RrQeS6AmoXEcCmoWMSVKA=; b=gjd7g/FUHEq4+G4y70Ni33wUmroxUl5cQO7s9U9ol4FxehdyB9+ck294LKdbFkU/pF 7eZqWs6GUHAkHKCLGp0kcrYmry3lVHHE6NLi04lBUd8SHlt804W7lZCzzGoGiU4D93AM 5Kpp65ZksG1Mcqsx9C94rMKAI8Px1hseIiCS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704972716; x=1705577516; 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=zvVluqQ8n3x0cWnOxUoJf6RrQeS6AmoXEcCmoWMSVKA=; b=Bx53xAmpdaIgvu3k19i+lc3uRxzPucOKOXl6Kbg/CfQqjIoIwr2s6SV5F+WTi1xhq2 MmPvbow0W2phJJRSNbsBmP+f9v6Ph5tjvAI5zio6H8mKckc7/bKQkq9GZyJGc4tT8Dzn 5feDMs6yqQv3r563Cier72W/RuH15d2TZRwWM5uVXePazONuJnqL+uXpELBJ5OF61kkz GmTlgafjqFyVF/ML1wbmOkfWptrsxJ1H7OiWxMy5xSAur+1qzjq+/kq0yzUEm3+2HqQu WR1vm66vrf/jzo6o8FgCYiEtcUWBMVOKwyZhMcmNPXIcMtFxKIq3DA7C73RTE/fp1arZ GHnA== X-Gm-Message-State: AOJu0YzdOkdtCnI2qR0ws7j5dzU1sTq03a07KF8osGr9n69k7vcDlunO MjaaszUNbOeoLfwKkrlgmSfNSMoBtiCw3Q== X-Google-Smtp-Source: AGHT+IEGQa8IHSFWl6jx6+6OQPP7M4+s+7Hu52W0ZBGX7wOvBFTqz3SLkoCt8BwbHSgJJXyviU7bEw== X-Received: by 2002:a17:906:b56:b0:9e3:fbab:e091 with SMTP id v22-20020a1709060b5600b009e3fbabe091mr659241ejg.15.1704972715775; Thu, 11 Jan 2024 03:31:55 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id n3-20020a170906688300b00a26aa734349sm461565ejr.39.2024.01.11.03.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:31:55 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Alexandre Torgue , linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Dario Binacchi , Andre Przywara , Conor Dooley , Geert Uytterhoeven , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Linus Walleij , Maxime Coquelin , Michal Simek , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v7 5/5] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Thu, 11 Jan 2024 12:31:42 +0100 Message-ID: <20240111113146.16011-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240111113146.16011-1-dario.binacchi@amarulasolutions.com> References: <20240111113146.16011-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_033159_723059_84B5F5DE X-CRM114-Status: GOOD ( 18.15 ) 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 Reviewed-by: Linus Walleij Reviewed-by: 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; +};