From patchwork Sat Jan 27 15:28:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13534108 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 86BA2C46CD2 for ; Sat, 27 Jan 2024 15:29:23 +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=L+NnHv/epn9gCN+2LqaYKjxgtxoi89YHBJ+r5iA2DQY=; b=t4BMtscYwOJggq Vr8DVocSOS3DKTVZ3IRw4Gl+uysmKFbjJu3KwKdQAjrWI3A/LyCWlw+lnUZqBQ/RAZ+sf9rPGdQ7l aPxif35OdV1bq2WdybXfUuvy/c3jW/fwPbQ49bGJckZMYn5Z1qJwIscLa6ONtI4cn7gGD4tGLjVOl fBma+gejJgX7mjqDv05rDQh5BuL+BsTTio2KIW2CFPqCuvvT5dxL5n35g2csAM4HcBkrDFfMaOOyt W9DGsr4kX/Le97ntmt5YueSD38YF3KcPyRn4CsXH3KE1gZYmuWfYLzHHtvSzxvCR4rztn6SmgzdFz QrZIUV13XzCDZ7q38e7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTkcA-00000007feP-3YuR; Sat, 27 Jan 2024 15:29:02 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTkc7-00000007fdI-3rxE for linux-arm-kernel@lists.infradead.org; Sat, 27 Jan 2024 15:29:01 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-55a9008c185so2392002a12.1 for ; Sat, 27 Jan 2024 07:28:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706369337; x=1706974137; 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=V9qOpvovQxTeO30aF5mISOGXWyu7pY+UB92+iH0umaM=; b=Oii/pfkz1C1AyBjDyxZIeD4uxiI5AICg7uUoUyaH/u58ZDJcXiH561lcX+L4DC4nCc pGUCjfRASszwqwCD89chZM3Bkys4b/B08b6TizQ9GSXRqBFeWtkE7KrReJjj7V1+rxfL w2J7oa9lAdywWZIVU3FmQXparIUztiWzKvdxI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706369337; x=1706974137; 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=V9qOpvovQxTeO30aF5mISOGXWyu7pY+UB92+iH0umaM=; b=PCCkLPMrbRFcGZXHB5IA7Q0BYjJ8/sE03eQ8vAL5UdxLgI1MLSE8VxzOLxwETMrPg0 TSGts6sUUfcmrRohvvwdLf50GfXvWdEmeUPpUHJFHN/3G9g/Y4djK26B9kiqWTxs84ll eRuTrVAuiPMo5Ba/MHvoV1n27PVikWZjHMbr6desi+Cc92CAd/FMShft/8Wdxi/8zvK5 tWe9cvm4lf1g0kPjpEtx0hgO0XYplDcZJSOr501e7RLLGQEc8GogBwAlADzXV01CN1/n Z36cdFBf/oNjN97hDtL6DLB4Su+S4/TlA4zqAtj8OOyf2d75hHtAh9sMxHh7Cb9Ur8y9 mJGQ== X-Gm-Message-State: AOJu0YzaqnAsibOS0mClnddnrVPe8j+3wkuqeqZSAmr5KGIHd1VibX2O S4sUv/HKr8SdCRWtrqfa7HmhboYyRqP2J0tUo7AURwLWgqmxVaF4SJgVsUuDo1g= X-Google-Smtp-Source: AGHT+IGmnblWXBThT/arNwzFsq5cI0uqWhD1N8OmGQ1IBaVswSAky7d8phVyRODGghXdbxr92kxmfw== X-Received: by 2002:aa7:c418:0:b0:55e:b014:da62 with SMTP id j24-20020aa7c418000000b0055eb014da62mr1710923edq.16.1706369336400; Sat, 27 Jan 2024 07:28:56 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-21-103-141.retail.telecomitalia.it. [79.21.103.141]) by smtp.gmail.com with ESMTPSA id l5-20020a056402344500b0055974a2a2d4sm1745220edc.39.2024.01.27.07.28.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 07:28:56 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Raphael Gallais-Pou , Lee Jones , Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , 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 v10 0/5] Add display support for stm32f769-disco board Date: Sat, 27 Jan 2024 16:28:44 +0100 Message-ID: <20240127152853.65937-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-20240127_072859_987661_2BDC66CF X-CRM114-Status: GOOD ( 16.10 ) 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 v10: - Drop backlight. From a closer analysis of the schematics en.MB1225-F769I-B01_Schematic.pdf and en.mb1166-default-a09-schematic.pdf, it is noticed that the GPIO I14 is connected to an unmounted resistor (n/a), making the backlight functionality via GPIO unusable. - Drop backlight references 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 | 13 ++++ arch/arm/boot/dts/st/stm32f769-disco.dts | 70 +++++++++++++++++-- arch/arm/boot/dts/st/stm32f769.dtsi | 20 ++++++ include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 5 files changed, 101 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