From patchwork Thu Jan 11 11:31:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 18952 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1380649dyi; Thu, 11 Jan 2024 03:32:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcWFcFqOR26pN1h9HukMFuQX6TjFZEJNTiLj6EIeB9nGDEJOaAPBpnsrdrN4ShRk9turkS X-Received: by 2002:a05:6358:9999:b0:175:b30a:b8da with SMTP id j25-20020a056358999900b00175b30ab8damr1169366rwb.18.1704972735718; Thu, 11 Jan 2024 03:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704972735; cv=none; d=google.com; s=arc-20160816; b=C9jDXEM0GEcHEF6wpUbfld90zFXmFsZ44PPeM4Auhn9f1c9JQKYqyswk6vWCgSL/yW DVi6zFg30JShxGcwAe7Is+BCqlCZv+xXOAFl+VHdHbzwD1AJPeAFaIlOyC7Z6t5KSJGG GcAir5N6OKgEtgvGgiRdTgOn7DgWiLKZ3Ak1VIXs8EsoP4irRjQv8xODc2S3KIqXGd4Z ASPJQ1uLg2aEUqNQDYS0CfmIQorKjF7XOJpdEmhEt9kXt/0A24mJREwOO592191y9t0a cRxHGOj3QLiEXWUAFvjx5PODblKq3wtfJCqry4UUtVc54qOAvGTd9d7L+cak7WhPfTuz pANQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=E3RgnmjR61D7s9CNo+AYUolzQugH4TGJWl8/1Xh6+YQ=; fh=MDiBi0bwmR3NYPPbiNM16BaPVIdD2GM2IhxbtNwMEV0=; b=MjjrA3r8BhU7M8IAbt0jj8uykSpDkGYlhO6SjhnPUiyvIAvXKNlQgf+BtoLRvfTZWX S35kgDVbahAbc9eXMFvta3CO0CAByo80yAlcLPZ3894l1hTx9SHam9C5ZznAvaY4eTjr kticTBL7Jqtg9qHo5fWGS3wI0Uvika/1RQ0yuyOk68HRjv2JTpcLq5LFQD1kVWac/v7O nI1CnBF+B85vB4pIgwLYNG4rIZUr+xoIaFWU0ZprNjAy7gBV7MULXEG7Eaq3GmyUkVbq pfY1GKEsmDZl8bugKaEW94rJBTzwzQ8HP7B8cDNpIm0QldwWcjtfT+tqh1rlsqJ6llla Gi+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="I/PzYTXV"; spf=pass (google.com: domain of linux-kernel+bounces-23489-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23489-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 ce12-20020a056a002a0c00b006db390b1d09si865293pfb.71.2024.01.11.03.32.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:32:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23489-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="I/PzYTXV"; spf=pass (google.com: domain of linux-kernel+bounces-23489-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23489-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 79F25283589 for ; Thu, 11 Jan 2024 11:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F2E7156DA; Thu, 11 Jan 2024 11:31:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="I/PzYTXV" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 EFB9B156C4 for ; Thu, 11 Jan 2024 11:31:50 +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-f54.google.com with SMTP id a640c23a62f3a-a26f73732c5so613045666b.3 for ; Thu, 11 Jan 2024 03:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704972709; x=1705577509; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=E3RgnmjR61D7s9CNo+AYUolzQugH4TGJWl8/1Xh6+YQ=; b=I/PzYTXV824h46TOAs1rTYL3l9g6jmCRHboOje5P8vwjpKvlb1jG+Yiom9pDpT4oMx 9zr49rMuT9+GJLgV+vY8pCL1Qwwq7CYlWdSVVs6t3qBEpumbkALJodpm+IpdhoSnwIPj TimFx+gmVhYVEQBUdziIxSv3zz7uuO/IWIOds= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704972709; x=1705577509; 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=E3RgnmjR61D7s9CNo+AYUolzQugH4TGJWl8/1Xh6+YQ=; b=RKmtCnhoBRyIm3wfkFIaFayronPQaL4q8pEfcQRV9UJuXUARybr5HqrOPex4fy4Kmc oZv0uN+AobUI0ieiLNwdbTx8YMpb1RXGPlEHVTLILolA+3KN8wgM2hVDqPcOTWn9Gxum BJlUaC93Y+PXladCqjANqRz8hi6ab5MS1ER6X6gQ4klrkzazujswq0R5JnSbwlo6J+3J h7yDoILME6Cui3NtBPENfWyo0JJA2bcQJ7egfkP/WiQxVJs1u4tz4nBBoj1pt3/ChXwI aeK7n5NnodEpYJgRp1Bs//6tXOGcXN/0qrqd6akgSBFpAHjkkmgpUPlwCEcgVmAu1qNG vaNA== X-Gm-Message-State: AOJu0YxJbxRdQ6N/uL0CjVL3/Q/jV163+5cvkVxCpYnJBD3bqkFDO/lz 9vsAySr6JJnCQHAJAm9NL3aox8w7L6aUbG1nFb20mwnN6hM= X-Received: by 2002:a17:907:9712:b0:a26:b524:226a with SMTP id jg18-20020a170907971200b00a26b524226amr652836ejc.40.1704972708978; Thu, 11 Jan 2024 03:31:48 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id n3-20020a170906688300b00a26aa734349sm461565ejr.39.2024.01.11.03.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:31:48 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Alexandre Torgue , linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Dario Binacchi , Andre Przywara , Conor Dooley , Geert Uytterhoeven , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Linus Walleij , Maxime Coquelin , Michal Simek , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v7 0/5] Add display support for stm32f769-disco board Date: Thu, 11 Jan 2024 12:31:37 +0100 Message-ID: <20240111113146.16011-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 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: 1787791421882159377 X-GMAIL-MSGID: 1787793491199855945 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 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-mb1225-revb03-mb1166-reva09 arch/arm/boot/dts/st/Makefile | 1 + ...f769-disco-mb1225-revb03-mb1166-reva09.dts | 18 +++++ arch/arm/boot/dts/st/stm32f769-disco.dts | 78 ++++++++++++++++++- arch/arm/boot/dts/st/stm32f769.dtsi | 21 +++++ include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 5 files changed, 115 insertions(+), 4 deletions(-) create mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1225-revb03-mb1166-reva09.dts create mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi