From patchwork Wed Jan 10 08:05:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13515734 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 17D34C47074 for ; Wed, 10 Jan 2024 08:08:33 +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=knC+zXzWSy2K+l gslFOXWJ2YfxmfNQiYSu8cNxGZWHAj37pof6bw4hXfMx01lbxtEQa0y1vSgROqkxONeIO4OhJqx9g SbkDBF/CNABPvKz5Iz+C0XYM02elzu8Clb1E8khw6sDNXBnF2o00QKCuu+0UuMe7VvBLn+/amUlvY 1qrgutu73Py0nrTCqharcdYABBubJ1Ba/zR41xPs8209fpiu0UfB8VU3H68nE82EDnaD3XV4f5XF7 +pn7MyIxDswA4puNtAdSsGVQ5v9mZpHr9MR9tIEyuDBmdplORWMha94khgsMAt8ub95DOH8h3b0ZT IDMLVob71jLyMAClK+9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNTd3-00AhKH-19; Wed, 10 Jan 2024 08:08:01 +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 1rNTcv-00AhFY-2m for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 08:07:55 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a28b1095064so407352666b.2 for ; Wed, 10 Jan 2024 00:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704874071; x=1705478871; 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=RXPI8ocr5XlDHeEr/5GmOCiLmAXQU4s/qbQyVCiWiDF0bE2K86IlDI5j/nqwLDA5yP /wQ2laKE/Q9jSlIU0UTUzlQJOSChGzn4jhK6pZoA7swJUU1D/iMQgj6mW/++CA7b34Du IrOnJNj3L2iTJlVui7itvWDQXCdwccQP7VG2Q= 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=Y6YeLbnzaBLz7e+wSWyZG63F8UVJl2I7Psoa2Y5ea0JuGyjUSN5lLFIYroKDTZ4UpI O/eZjY+6pPohqrn5zXpIEHDYV1BtCWrxYnRkXKbnt6CuZfIhJkTvMx4nc3ptWMxTvtxN ddZAkGZHueP05XcToMAH6Klw8Pbr3rwkn7nQs4RF0Q/IqFfIH2Pf2HN3gg2TFsEMDjMt f0l9kUIia8cGrh6QKci2dQ0HOMWFsdFCwJr86ejG5dMEDt0duxtvuriAMVugIRRqWc58 0hVep9EOPu3ZdCYzIOk8UlHtwjuUIgrrVuXGzKN0lqUsWTaoWIRzP8hJDCSH2rMeaJkP aBkQ== X-Gm-Message-State: AOJu0YxfWbuTxCGLylrB542yX+j6V1yIT4AsTO7g+6z8+zaPvlXaMdka DDpeVuJTojvfvZ+HK0lBHH6/IJoDSptRMg== X-Google-Smtp-Source: AGHT+IEFFlg9zphutdwdZcQW4+nCpj3cJCRmln2zt04qEVrAYuLIVYgN9bHEfVgAzm3MZro6KFOzBw== 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 To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Florian Fainelli , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Manivannan Sadhasivam , 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 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240110_000753_935558_05D9B7F8 X-CRM114-Status: GOOD ( 18.41 ) 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; +};