From patchwork Mon Jan 8 20:15: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: 13513943 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 400E2C47079 for ; Mon, 8 Jan 2024 20:16:59 +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=02FNQCVPyW/IlaNgqAu/FtlgRgWu+6Lw8IzQ5JyYgYM=; b=cn6Km0owVDx8hY Xm8BPQVZqpIm0CSVmB3bkxSx+mdfQe6ErLylWLs844g2XuYx9kKg+3iQqCAvAhde9CSOWKyYBNqRi RaO4mD9OMhEiqIl7BA+4dJuCNcRT1wxBK7XKSxJKXWikEayCHultHVpXeIf4gOmZtByVZS0AJtkLI BrjtcgHYZQRSqWzOQ8cXqFd6mhKRo3wE63e0TA7FAlmhFJLlnLYKr7WGRFmLNAIjoqDbAjmT7c1Wr gDDhQ369aGDYjWlagxvy/NgSzkwVvfHTodEFlrtiNPHH+zQMvmpqWlwr1WmmQZPUO4Okgy8RuXxxN ktnXdziO4BclWFwccsGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMw31-0068RM-2F; Mon, 08 Jan 2024 20:16:35 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMw2y-0068OW-2T for linux-arm-kernel@lists.infradead.org; Mon, 08 Jan 2024 20:16:34 +0000 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50e9e5c97e1so2445753e87.0 for ; Mon, 08 Jan 2024 12:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704744990; x=1705349790; 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=tEGmlMiozwdCujUlwuswF2ibPRmO4ymakUkp4ma1zKM=; b=FzdxMpkEjCgNxKw/YcZyBSgPz5nPEeZFzz0nfods9diBAI28edqGacHLL2LHLZD/pk /6nhUheFAHhVE7+HM7s8FP56jPHv3O44V8lRVzngkwAxd5Zt/IETdBUQFf95ynKUgdpp s+vyele/1hhZVuW0+FDo4IBXQlxZZEgmeO+3U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704744990; x=1705349790; 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=tEGmlMiozwdCujUlwuswF2ibPRmO4ymakUkp4ma1zKM=; b=Zs9lwr5QWrZwtCB3nM/hQiIMuUwPCpliibZZxg0GsE11zVvn2uACEtMDfsw8mVQgjW dH3NiJws2cyeF3EGOuDGz49myoNzWvMvHmtWRz2L7E0duPjsrcarkmnG+F0MpwMbPOC3 XScWO9K6EX2C+uMwCtwSk1nSuWh8ngM71yjNpRopsJijjJfpXeK7cEFEaCCJKG7ME7ok nl/+9kvoPBY2Z9HgOu2PDcflU4INTXTxZxfJUImjRcg2pGPpsaXJny/GLPGuPzANiNH6 zIntpKDd839zXFiI7opvz9yYukteIsvilt+g3h28IEzcJkUfjleG/KS81YRed3aLQhVs BwTw== X-Gm-Message-State: AOJu0YynqH7qz3dEJvlEoNu3FM5f3pQkWWgiDP8Wiy0I85E4irkAyRn9 As9NLYQcRKQ3jTIKvy+N+g7KX1NmrHpBYg== X-Google-Smtp-Source: AGHT+IGUAZ/MQUcd94fksdYS1966HkP13g0jTc0aXi84yDipWsw07G7eealpviiBZga8chmfm/iZDA== X-Received: by 2002:ac2:5627:0:b0:50e:3c2a:fd5e with SMTP id b7-20020ac25627000000b0050e3c2afd5emr1595830lff.134.1704744989954; Mon, 08 Jan 2024 12:16:29 -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 by26-20020a0564021b1a00b00555fd008741sm173699edb.95.2024.01.08.12.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:16:29 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , 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 v5 6/8] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Mon, 8 Jan 2024 21:15:51 +0100 Message-ID: <20240108201618.2798649-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240108201618.2798649-1-dario.binacchi@amarulasolutions.com> References: <20240108201618.2798649-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-20240108_121632_821247_E3603145 X-CRM114-Status: GOOD ( 16.02 ) 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 --- (no changes since v2) Changes in v2: - Change the status of panel_backlight node to "disabled" - Delete backlight property from panel0 node. 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; +};