From patchwork Mon Jan 1 16:15: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: 184172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4042753dyb; Mon, 1 Jan 2024 08:18:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwARuAJhorNz/AVgdkMf+SHq9t6iX6hNZczyj8cMVQjNpmI5POm6nO3LUErzhSFs6eISf8 X-Received: by 2002:a05:6e02:18ce:b0:35f:e861:6fcc with SMTP id s14-20020a056e0218ce00b0035fe8616fccmr26952102ilu.81.1704125893057; Mon, 01 Jan 2024 08:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704125893; cv=none; d=google.com; s=arc-20160816; b=jfWQ0LDJfji0kmAP4W32w7c1CjPR0Xw7WQe143aCK7sztbYkFq3O3B4SMbZ6rqhp0j l7ectcpZoEvtjTkzT3AfSoQvM6jmfxMav7AvH17pzd6nXZsrIoG/jb0gzDj7OsYpZRzv /LXv+U6sws42WWxZK7580h0Z6igJF9XjGLSsUKtqJfKSAR36paDp5ghiQvJR1yucB4Mu 7L5Q3kP0ljdZqF3eEywGHj0RzoOl/VdBZTkTzCNBtXG+OLlLMeFluiotB395Asfj9i4J 34sisbeVBYVhjf8KXW/3GMMVwRXRvw3Q+ofUNS2Yg3OkHfqkElLTytci1UlmT3H60Aij X2MA== 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=gKarHTcTd/SOLcJ/jUKhVwYIwJ9sftrWCAJJN9sfLME=; fh=CkWnEKgv3skbJ8OgZesGD2BEsNRZ9xLdAJEg4p/EzSg=; b=g1J64FgvBc53V8vgOb2rk7qcm1QfiHXP7Qydvsg5CGHHFL6spHmq1tmW1TRA9BD5jt jWn3slAx3FSmTMlVjJ+fHEKqBNj2uq9N7rSjkd307Jf2u/xAea6hv7w4xpanW3Du95QR ABMFs5xCdHX4edB1nKgN+w4yRRtZaFER4hf8Fkonh3cyP4hgBze9CIC+zDsithcnGB8c zfFkE2TjkjfGYM5nl6EvsEPPJN9jYk03HGNCx95HFtjRC3Dj+IKgcZ2GPqlp7O4djLjV /Bg1kl9ORUS5gKwXYHYR5A6cq8qqXrGTHTnv0w25YZXJhqHyBa3PxWKp/jsejN+45Jf7 cBCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZG6FR763; spf=pass (google.com: domain of linux-kernel+bounces-13900-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13900-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. [139.178.88.99]) by mx.google.com with ESMTPS id b11-20020a17090a9bcb00b0028c25f30c9csi15686309pjw.141.2024.01.01.08.18.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:18:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13900-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ZG6FR763; spf=pass (google.com: domain of linux-kernel+bounces-13900-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13900-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 CBC2B281E1D for ; Mon, 1 Jan 2024 16:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5119DDC5; Mon, 1 Jan 2024 16:16:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZG6FR763" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 9B00CCA5F for ; Mon, 1 Jan 2024 16:16:16 +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-ej1-f47.google.com with SMTP id a640c23a62f3a-a26fa294e56so523195466b.0 for ; Mon, 01 Jan 2024 08:16:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704125774; x=1704730574; 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=gKarHTcTd/SOLcJ/jUKhVwYIwJ9sftrWCAJJN9sfLME=; b=ZG6FR763g5Ld2NHWzEz+mNgh2QMmWxmGsT3538dq362zbz8WU6kHFc0ZQ0RfC3qppS bvJUBDEG1z1NbyzC4ArAtn4J3w+sMHBrxrE7iHxzk4xHOdMA4yZjSj/oPRSYUSU7WmvK NrJxmfmw1LPDSj45Ev46sm4uei1IXrwwvJcz4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704125774; x=1704730574; 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=gKarHTcTd/SOLcJ/jUKhVwYIwJ9sftrWCAJJN9sfLME=; b=DST3plBgRnP8ynk9pOBr0iQ/mEm0UjWUDUSrKPIuBMUXzwJdTendI+t3X9RbMNX7EH MW2bbQP1gTobc+y/c8GmCW9mKfsj7wUGCvY04YqPOpMGSHRFOC92vaQ8gFZOAmJjMzqN WjC5Cya+7U2WXU127kT6fNNx7iWzPZO4DOp69i7v5MowseD72REV2JQzIYNANQAnwK9h pV064nxUbXAI5iT1QdTc0BYACeVstDisbPGyDgxlpTY4FsLTlRJGkGj/pg8192GnnS4S u/eErTFPi1RKyjarrfe8wBELKU7JDtB8SrY3mv2CwVSBjVg2LTZuiZxRHvQ7mQGdlhgT DMzw== X-Gm-Message-State: AOJu0Yxnuaza/mYgVFmEjex+rzP7uImdZrXEduugzv8ko0NUUJq9FIhV VawgSOoL7q+Lkvbs3xuWhioiJlOwxMRk5k4XoxZLGAR0zwE= X-Received: by 2002:a17:906:48:b0:a19:562d:5a20 with SMTP id 8-20020a170906004800b00a19562d5a20mr7580197ejg.28.1704125774750; Mon, 01 Jan 2024 08:16:14 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-48-44-179.retail.telecomitalia.it. [82.48.44.179]) by smtp.gmail.com with ESMTPSA id ep16-20020a1709069b5000b00a27d5e9b3ebsm1897857ejc.105.2024.01.01.08.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:16:14 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Jisheng Zhang , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Maxime Coquelin , Rob Herring , Sean Nyekjaer , Tony Lindgren , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v2 6/8] ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 Date: Mon, 1 Jan 2024 17:15:49 +0100 Message-ID: <20240101161601.2232247-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240101161601.2232247-1-dario.binacchi@amarulasolutions.com> References: <20240101161601.2232247-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: 1786905512137431388 X-GMAIL-MSGID: 1786905512137431388 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 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; +};