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: 186132 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1254179dyq; Mon, 8 Jan 2024 12:18:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSiegst3wt+szTCktjb2BlokoqVn+OsdJ7Qg91/5+HGrLt9v4zv4QK80B17IoO4aLToKlZ X-Received: by 2002:a17:902:7c05:b0:1d4:e25d:50e7 with SMTP id x5-20020a1709027c0500b001d4e25d50e7mr4111282pll.83.1704745083388; Mon, 08 Jan 2024 12:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704745083; cv=none; d=google.com; s=arc-20160816; b=ILxRZQlNkVvjm26CN2WlJ8NGXb8qUqRRG8UCYLwFiHeqceLfiTMs9gsR/6BplumkwK yejECzPFK6+fg9a3hVDd+a3qQQh5ZO6zPlLD1MA5MBiqGBguM/maKN9A7eHK+Zl4mD9l abMKrE83ckEvf+NjF6XFjwaw0LNtS4bxXEBRD+Y4sGE9W6KGfiTxpb0jM2zU7Yf3Lt2w 54sCBgBYyUdccm0UmLUM8VAuBfVB46hmCZzVWkS4aDb+4HrGFcsAfhN5GtUGkhfuD/4b RQP5KtnFcmYYqN7lFwtMTpCtROX1srppqDtwW5R+pZBmF4zPyKYSuqXnm5vw1dN8mY04 +xwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=tEGmlMiozwdCujUlwuswF2ibPRmO4ymakUkp4ma1zKM=; fh=y90CZw37tIhyC0Omuh+MkwHLnvkH+x9j87fkS2KV8VU=; b=1LwUFu1RtbQn8xaDuP7ZUbH47WgOavmcqgFTpFR4Xn2ac/ivBRSJG2BNc0TFygRfDG 5hAbobMaflokLKenXdy5q7nZ5x06Wan9OmJfSxUkHvCTRJWTB5rh5EPCqeEeVLnf0A6B Fc+YPUSKby0239BgI30hCr+L7hMwHWflQjmFPvP6yrYhEvxEglbampyyRFWHgQ1mKLMX oCh3cLrHnLRtMnlyBLx717NJH+7eQ9xoHUu52mJ7QazIuGmyBA0XVU4qy67qcgnSZrkl 5piWBPCoRmpHML0OiwvEm6FuQ0/pGB20370XwQBPNZf3Ohgt5p7i4H8lGSKGZ/9bUlv4 qEmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=okVbq72B; spf=pass (google.com: domain of linux-kernel+bounces-20080-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20080-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o12-20020a170902d4cc00b001cffca283fasi366226plg.144.2024.01.08.12.18.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:18:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20080-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=okVbq72B; spf=pass (google.com: domain of linux-kernel+bounces-20080-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20080-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DB5032846CD for ; Mon, 8 Jan 2024 20:18:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1505856772; Mon, 8 Jan 2024 20:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="okVbq72B" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19D0956468 for ; Mon, 8 Jan 2024 20:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-50e9e5c97e1so2445759e87.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=vger.kernel.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=okVbq72BEA2zg1Rrx6Fi+E9RP/ZWYxf///rQ7S25RwA1hdxfFw8p+QOm8DQWSN7z7G 4mp+DhJEAFYO/s7hRnFLPb4jMXpuanadBxN07dMWkZQBJ258xAPt+wv4WFO7p8midv3E RTCtT3OtEC6h/eOiOe6GSQidnzs8hS0XtQo9o= 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=UfmcbI6RDjZADUiwnnmVw2fVodiXiclAWx7YIZjvSplUChvKpUzqeIYaPjz0Zd2/T6 6P+wqzbAgJHHXmOP88vflzqNO4L6WXPVnORtesdeCFXXXa9XDIASFlIBKPq8zARyFbc0 OuGew88Sr5cyUlRDvwtmjr4P8F7bbABj/Dh4MBwvixYmZp6L9yDNylQ65EGBwUcUKcf/ 72QTRxd1e2miSwcx6X4RL5+blQtCOhzugbQUeNlg3rS5lIyMphCcc8THOcAdnS91JIG+ 5ra5v4xAOBGDLtrE7P4567kqq9v+mVyO++go01yIbABc7EPkQvhPSJSeg6hUmUTWY0p3 /RdA== X-Gm-Message-State: AOJu0YznM09UFfdLZ57XCDMIIg+kvS/lp6W9LG72wjN6qNLYDdkVGf+y btR912c02AZ1fJHzb99hYK51cAI+7RKttpz5FUWA4ii54Cw= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787554780341464995 X-GMAIL-MSGID: 1787554780341464995 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; +};