From patchwork Sat Jan 27 15:28:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13534113 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 13DD3C46CD2 for ; Sat, 27 Jan 2024 15:29:31 +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=6AvuzOa9fiTNVBqkvuZJOMjWdiKq0VGA+zv6AA8lFPQ=; b=ol13MnrLDlINUy HuJ5S2/1P1LIA8WuLwRXX3lvgLrxb44aRDSxeF7XhDH7povFLW48mz1VBGYiIzQij+llJHOM+pIQV XddazYSBnrfSqn9bUXMfoSXAbei4nLaf2Fs7dARIW8EwBj/CADM91oxPZKVJKKusPozZR7BCr91hG IWYjvMKUBugE2iqlIPiCgBDvrgyeGwA7WPV0irxhhjsQzKrzduQY5PGnWZZDmoYBVp4kBJpfNT1Dh g7KXpKaeqN7q86RgQSltKuV3fQPT6d+9VSkZbtyiEv5AhgsJk6Leo8NQqtoVnejq3WGZMCV/wEvf6 lUkKmMFiVHvWEYrJks7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTkcQ-00000007fjB-2wkP; Sat, 27 Jan 2024 15:29:18 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTkcC-00000007fem-47L2 for linux-arm-kernel@lists.infradead.org; Sat, 27 Jan 2024 15:29:06 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40ee418e7edso19692205e9.2 for ; Sat, 27 Jan 2024 07:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369342; x=1706974142; 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=jr5hMNUd1x8YCEgCqvY7QTv9IEyl6KU3Ejyn2wYPqRg=; b=luSS3KV0jQ73BG69xd3A8Je/3e8GX05iKDDZHVGg7GH26+FZnNU3CO7pETCyxKq6YS EV2UL2yBb0nUNvP/+th4QVooCXBymlTvpH6RKb5EFYB4ukxRYZsM9nFAGUScULuw+/lL btcnTFhwZ8Vx0Nx1SzPkPUgfEGPNdJkFZ3HSI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369342; x=1706974142; 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=jr5hMNUd1x8YCEgCqvY7QTv9IEyl6KU3Ejyn2wYPqRg=; b=UT00gyh/vCbUD//oUCFYOJ+4GwUTmfdMqkyok2h+ouy1ZpR6bAxOD4TUyA2TQjo+Bt KhgCJwZWUbbhlz+nnNxcVN6qqIGCf2Irz+QOupc4xZ31y7vD9wkQ3k0Rlz/UisqUbflv 0BCmO9Jbz4EmHUz+F9EM1wWrSvGqfAP80sSqiJvq9IgH5Jp2nucUjUaC5A2ucT0GohLo Cz3UqmVNm8IiYslea5eZ39HC/GTUNXJeCzQvugOWPr8gHUeXQUvrNzH1QXkcEyQHsXrI B12a2+f7kFnT01ZjfJFW4qm/alvfwe/kz0rhx+2E3DsYzin0wcHc7eW+SERkywByjxeI Nsow== X-Gm-Message-State: AOJu0Yy6/s68LJCfpJNWka8cyNq6zegipzPW3tKw+pQwxTWPSlJ3ys94 bcEJRg9oB51PUCILh8kDv2QFkF5AxICCJvMvSvcsThL2yyJ8SSNRCcO4YSrppB8= X-Google-Smtp-Source: AGHT+IFOp9OP4FcMBTo00Ve4mfOu7PZh6QSfp8vwCqTlsNUh8pHjMhtyqQLLFLD21GtKlIfVpbbfgg== X-Received: by 2002:adf:ef0f:0:b0:339:38c2:14c8 with SMTP id e15-20020adfef0f000000b0033938c214c8mr1378646wro.81.1706369342516; Sat, 27 Jan 2024 07:29:02 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:29:02 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , Alexandre Torgue , Dario Binacchi , Linus Walleij , Andre Przywara , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Maxime Coquelin , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v10 5/5] ARM: dts: add stm32f769-disco-mb1166-reva09 Date: Sat, 27 Jan 2024 16:28:49 +0100 Message-ID: <20240127152853.65937-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240127152853.65937-1-dario.binacchi@amarulasolutions.com> References: <20240127152853.65937-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-20240127_072905_044851_DCF50D39 X-CRM114-Status: GOOD ( 19.11 ) 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 revision addressed by the patch: - Board MB1166 revision A-09: - LCD FRIDA FRD397B25009-D-CTK replaced by FRIDA FRD400B25025-A-CTK The patch adds the DTS support for the new display which belongs to the the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi Reviewed-by: Linus Walleij Reviewed-by: Raphael Gallais-Pou --- Changes in v10: - Drop backlight references Changes in v9: - Change commit message - Rename stm32f769-disco-mb1225-revb03-mb1166-reva09 to stm32f769-disco-mb1166-reva09 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 + .../boot/dts/st/stm32f769-disco-mb1166-reva09.dts | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile index 7892ad69b441..9fedd6776208 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-mb1166-reva09.dtb \ stm32429i-eval.dtb \ stm32746g-eval.dtb \ stm32h743i-eval.dtb \ diff --git a/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts b/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts new file mode 100644 index 000000000000..ff7ff32371d0 --- /dev/null +++ b/arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2023 Dario Binacchi + */ + +#include "stm32f769-disco.dts" + +&panel0 { + compatible = "frida,frd400b25025", "novatek,nt35510"; + vddi-supply = <&vcc_3v3>; + vdd-supply = <&vcc_3v3>; + /delete-property/power-supply; +};