From patchwork Fri Dec 29 13:51:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13506530 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 0F8FAC46CD4 for ; Fri, 29 Dec 2023 13:53:05 +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=L7vPj35k5RuS/GB8MwK9ZfSmPff71QA3mIJfxZsRoqA=; b=xwiRY4UlIesP9n 6G8WIH5E2yFdY4yDPmlJKfOFt2R+g4N/QrTXnZpT67KniPbeVybtpE3m5BToCm6JvTjZT/oCGTgOQ 7vs/NYOW/WEKvsAUGndUGCNRqZKsSwUP0cCHjb5HQuU+dZIAhAQNAlkV/xc82aW3SZxsT+C9Jdruf xCfi7GR6MT4vlaytDiQMnOfdfUFtaPCUr6S1YFRG6xvdnNPZx94png8XqaGW36PGeNHLuHg+JMqT2 2wC2d5llMWPNdrqMz7QhFkuvJxHkCQ9ndPPGp1UzNyVeb8o2b8nEKKTWrRMKJNQX5TOzZ0AOGcS9U NDcazrqyV3g1X3xpAqDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rJDHm-000zRb-15; Fri, 29 Dec 2023 13:52:26 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rJDHh-000zQV-2G for linux-arm-kernel@lists.infradead.org; Fri, 29 Dec 2023 13:52:23 +0000 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5542a7f1f3cso7451981a12.2 for ; Fri, 29 Dec 2023 05:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1703857939; x=1704462739; 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=MzUGxEaP1+NpXvTfTtwZMhBYJcrSPGpvA0YzGDUtLvw=; b=pGkXhrCZTfOTzFhDw9AY0ZiC1PLRaZEMIdDAhZ5Ay2P+4Qm1+ZPXVyLq6VUrkrP6yy W5fUDvswGxfiTaYG5IxUnEUGl/KJmQkCPJ+xZVjNOvyjbM4qFcaW6VDIO0DaWlmTy8Az MVXKs/TLj0kheh5a/jU4Mk35vAwarRT2f5Sqo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703857939; x=1704462739; 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=MzUGxEaP1+NpXvTfTtwZMhBYJcrSPGpvA0YzGDUtLvw=; b=MWxBX85J0toB5GZO0NWzjlrmmk+Go7dPmonwjrPQSMLQqISwOYxu/03pZ/h9fRfqKG oAe8zVxAzErLOemjOPT0SUlC7jHYQO1MdKwI/uRLcwjvf8NSdIn+xE3P3J6NUbYpJyF/ r4CQlW4jTWrLILNDJO7GwG/lbWqC2ERqg1EAW5t4IKwcrSxJq9Rr3dASOyZ+gwjQDiFM oJBjscyj4nbt72Mms7i5DiZvJtFBVtrfzZWAObcTCVynsGN0owfDaZ4yglNNahbAFJmV xVbdoRpPi8GZRekjloWH5a1B+CvIuI8n1OPmYEHEu3BYnOYkSILdIryRHmeet4wcRCoF jLxg== X-Gm-Message-State: AOJu0Ywj0qyBsUcpmEwXWPOxsWu5/8MphZr5VYxY6QgGdXgJRy+ANEhW tC3ankkXY1YWFAU0412dHZt7I+gfa/urSQ== X-Google-Smtp-Source: AGHT+IGKAnJQHr73ga51Hv9Dt4zjqRc48HnDDCm3n7scTC1Qqv8aUw24GfpouEj3L2DFYiFoIwwAnw== X-Received: by 2002:a50:cd97:0:b0:554:5192:5bdf with SMTP id p23-20020a50cd97000000b0055451925bdfmr6826417edi.43.1703857939105; Fri, 29 Dec 2023 05:52:19 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-49-57-70.retail.telecomitalia.it. [79.49.57.70]) by smtp.gmail.com with ESMTPSA id i16-20020aa7c710000000b00553b243b1a8sm11019160edq.92.2023.12.29.05.52.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:52:18 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Daniel Vetter , David Airlie , Jessica Zhang , Krzysztof Kozlowski , Lee Jones , =?utf-8?q?Leonard_G=C3=B6hrs?= , Linus Walleij , Maarten Lankhorst , Maxime Coquelin , Maxime Ripard , Neil Armstrong , Olivier Moysan , Rob Herring , Sam Ravnborg , Sean Nyekjaer , Thomas Zimmermann , Tony Lindgren , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 0/8] Add display support for stm32f769-disco board Date: Fri, 29 Dec 2023 14:51:15 +0100 Message-ID: <20231229135154.675946-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-20231229_055221_776304_2A744C86 X-CRM114-Status: GOOD ( 13.22 ) 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. As I do not have the Hydis HVA40WV1 display, it would be better if someone tested the driver in that configuration. Dario Binacchi (8): 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 dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK ARM: dts: add stm32f769-disco-mb1225-revb03-mb1166-reva09 drm/panel: nt35510: refactor panel initialization drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK .../display/panel/novatek,nt35510.yaml | 20 +- arch/arm/boot/dts/st/Makefile | 1 + ...f769-disco-mb1225-revb03-mb1166-reva09.dts | 13 + arch/arm/boot/dts/st/stm32f769-disco.dts | 78 +- arch/arm/boot/dts/st/stm32f769.dtsi | 21 + drivers/gpu/drm/panel/panel-novatek-nt35510.c | 872 +++++------------- include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 7 files changed, 362 insertions(+), 644 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