From patchwork Wed Jan 24 11:33:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13529213 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 5429EC47DDF for ; Wed, 24 Jan 2024 12:46:07 +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: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:In-Reply-To:References: List-Owner; bh=4MjtmZ31uuYH77s3+CE3ryfncDZd9jYOyZwygaLenJw=; b=RRdNwBqYgSYrsS ZxFeBudwN+jQFOjyb7rp/WD9WBM+1L6SIsdPhu4pCTi7/fAaLbaOfStYNWKPVulLvdMuPIeXzy8XY TwCOkxRxxxGuvSEvYQjcmmT+LGAuEQvRrYXxRvXKvINMlgavncw4So2mhP+VjI55PDPSeSbYSlg/K 3qrYK6okinNvoKaEGAl+wwFv+1gMcOEAqO4CfABk6i8TDhpbqzk7ihDk/+v5H4NsknDxVoL+R2yiX m4SWbfSQEmlpBKI9Pid/pAfbr19dLhFejGLiS+nkClhvuGmmXx6tj6uorT8zpialcZbLVXPavduQ/ gBfA12iE5NGHYrj/H7ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rScdT-003IrN-0i; Wed, 24 Jan 2024 12:45:43 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSbVr-002nB7-1K for linux-arm-kernel@lists.infradead.org; Wed, 24 Jan 2024 11:33:48 +0000 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-33922d2cb92so4747355f8f.1 for ; Wed, 24 Jan 2024 03:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096021; x=1706700821; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H+jxNLfboUJgS24Fil1mSyDf7IcRgIBmJ/Q7aVOhf9s=; b=JnPo4NGLPKDcFhlbrWEsun4vBpQtJzXQ/uX2Zxc/+guXBcAv7DF56WWzadlyQ554z2 HVH5HXhIGlTGjBOSwHlzBVaMAiEIKz0QK6KUCe5VXxqtrcVKm/gYGkMxd+OazRjtSLC2 8lWo8goJb88PqLvFZ9MH+VvqWXx6JJ/OuN9Cw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096021; x=1706700821; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H+jxNLfboUJgS24Fil1mSyDf7IcRgIBmJ/Q7aVOhf9s=; b=K8hXfjMYKw59r+/QHuSaqQAzS0eAJHVPwwVucDVp6Mps15dXuD+2xIrcVRaxa6u+oc 3SYhPCU2kCN7usQOs0jMEXPW58RNtPXs6wVcIVqGkUVqNvaGwYz7KwxJunUsfxptii3P OkknDO/plZd49x4pC3/lNBRi/JGEsjeJlRS9rdCjrbPWtWGqZkiWoZWRn3E5n35Leair YcW9DDIjVHczRlxQBgJZRIaadCFje1gpEdN3ENZ0gqX8HTKOAwFPIBWvjwipLV9PZljd xS0yAXqzZ3urEle45Kp4HNYnjSKiHdiUmmf3XF39pCyCX3U4kNuyHBhq3tHVJyVTFy0q OZ/w== X-Gm-Message-State: AOJu0YxfTpqI3EPi72lGIwerJJJkOwU33E1v0CDzkv9ghXwCyHckzWVd dHV9arTjVdan5QVu8Z5Gp0d6OrcgJtusXArsP0qcXVN+84Rnl9/JADiUdczAwIg= X-Google-Smtp-Source: AGHT+IGsi6zH6IUz8z0tq2uHsiTrjL5ql/WTqEp7LHqPlZhTSuwXWHOLP3XXNdN8IqGfAkuOinyaSQ== X-Received: by 2002:adf:f0d2:0:b0:337:adfb:bed7 with SMTP id x18-20020adff0d2000000b00337adfbbed7mr208625wro.117.1706096020928; Wed, 24 Jan 2024 03:33:40 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:40 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Geert Uytterhoeven , Jesper Nilsson , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Linus Walleij , 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 v9 0/5] Add display support for stm32f769-disco board Date: Wed, 24 Jan 2024 12:33:09 +0100 Message-ID: <20240124113336.658198-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_033347_462177_B47FE69E X-CRM114-Status: GOOD ( 16.01 ) 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 The series adds display support for the stm32f769-disco board. It has been tested on hardware revisions MB1225-B03 and MB1166-A09. This required modifications to the nt35510 driver that have already been applied. Changes in v9: - Drop 'interrupts' property to fix yaml checks - Rename vcc_3v3 to to vcc-3v3 - Rename panel-dsi@0 to panel@0 to fix yaml warnings - Change commit message - Rename stm32f769-disco-mb1225-revb03-mb1166-reva09 to stm32f769-disco-mb1166-reva09 Changes in v8: - Add Acked-by tag of Lee Jones - Add Reviewed-by tag of Raphael Gallais-Pou - Add Reviewed-by tag of Raphael Gallais-Pou - Remove unit name from 'ltdc/port/endpoint@0' to fix the compiling warning: ../arch/arm/boot/dts/st/stm32f769-disco.dts:189.28-191.5: Warning (unit_address_vs_reg): /soc/display-controller@40016800/port/endpoint@0: node has a unit name, but no reg or ranges property - 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: - Add Acked-by tag of Conor Dooley - 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. Dario Binacchi (5): dt-bindings: mfd: stm32f7: Add binding definition for DSI ARM: dts: stm32: add DSI support on stm32f769 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco ARM: dts: stm32: add display support on stm32f769-disco ARM: dts: add stm32f769-disco-mb1166-reva09 arch/arm/boot/dts/st/Makefile | 1 + .../dts/st/stm32f769-disco-mb1166-reva09.dts | 18 +++++ arch/arm/boot/dts/st/stm32f769-disco.dts | 78 ++++++++++++++++++- arch/arm/boot/dts/st/stm32f769.dtsi | 20 +++++ include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 5 files changed, 114 insertions(+), 4 deletions(-) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts create mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi