From patchwork Tue Apr 1 07:00:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3883 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B538C3F0CD for ; Tue, 1 Apr 2025 09:01:32 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-43bd0586b86sf30565825e9.3 for ; Tue, 01 Apr 2025 00:01:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1743490892; cv=pass; d=google.com; s=arc-20240605; b=R1EMpRkAqjVOLbsH6Zo2Z+R0NIEAIF1ZcW/VQ/w+wXY/21nnyf8hbA0ErlqbDTo/jD GTgZi3WGHAbNF9oeTF68rzAli9rzGwV95ZB0Fp3dwTjZzm9TPSs7LONw1zbGyg/OUWif who5/oHeypQqAKta0dRkvInTYQPEc2d/UL+kKPhmkzktWzpDkfC/6HRLCbfvQei1o8wo A+GeRr2Lu3yYNT9ZN2Ztz/rdc9WUt88XZ7Jtrxa/dOgMB24MmCZvKPIQE3HuT/+SVHx4 jZG38IFVdn3F4w26c2fE3VT+OkpnEvTAyQczO2aC1njvfkjW/SSunh3GWeJLQBo7jn3D PyiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=apZctjMKi+LTRH5s4S/Iw2skr7xV7r7HI9YV66O1xYE=; fh=81EqpemsQu1e3sic8qJmqwUQy0hT7kcvYuVhJFWyRys=; b=j78WFhPq6e1A6Xap4t7/9E3xbUKbAdvlYeYCltjCUcTONL8i5iumPzadZqGw0Plk4j E1oZjxo+UWeAprtAWkJeh5frRg+FaEZ/OFnQB0DrWA3uxsvsGsK5VuULkwkt3sxIHzU2 X9vA2LISGa3lnWfLpaozXEMxDIa8dSj/d+/GO2HEKqntCi0OItFsu94BT94Y1pcqqVtX ynY9vUfcG4aiicErBfpzEVC+T4Dv1YOVCyt4SRO7C2mRLNSsA4Q4Pc/q0x+SrScv6pmq IgwffLb3qZ4YNl1fQyiBhIlotkuiEZiuNQNlR94h7qIETpazVxUJcGjl0KWZJeIteY8O w9bw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CRKmHCot; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1743490892; x=1744095692; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=apZctjMKi+LTRH5s4S/Iw2skr7xV7r7HI9YV66O1xYE=; b=HVeaXFxbcM7bLihgUm0Mg+44bktC38Hjo/DW9BgC/TyAwsHvNSDSyc3GYFf+PKebDH uvXLhQ2+aWOVOyfNDBAlQpd13g1BU+C2Geo2XfZ7ulNCFWdMkLR0x4nezKUziRfFOvoN Ob2SrprG2oXe3P95dLlJM63aJbo88Gnk4ZnuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743490892; x=1744095692; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=apZctjMKi+LTRH5s4S/Iw2skr7xV7r7HI9YV66O1xYE=; b=f/K8/6cjr/GURT/0PUb7oLcCU5Eo98jb4hdwrKsf5vN+t35x+dTOov66Q20KY+UC5t sZ8RBZ1P/DWzuUehcSmZOIph0EZ6ulJ2488F7DuV8M4fpO9tDm5G9t/UDLHWDHeN3SJ+ jrIdW0dEDEJ7jz8vP83GgpIK8AFD40To3aVXRS8EKrUd3YEzpSzidM0XRRv3/VsY7l4S j0CazpOPZuzH+kylhB/ly1pyd/azQotOBYC7uK9vBKg5JS93lrKsTjbqdYtWeorDXtUO M+gjNjrBSJgB0Sgu/2g5myQgoTH1zgX5J4yPzNoMT2ZGJStLIMe7l6IIGM/ROjIlrnFJ Edbw== X-Forwarded-Encrypted: i=2; AJvYcCV/HFZkgly03KF5C91NUwUNgihEHCRhPPVyPTVyEFBb1hkpD/0jH+E0u+4gjYnKFaRKV5PDFgQMHaNXixNc@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxLY1sa+MdnzYPb2Ew4Cw65LGFBjusGwO57xZeKVfeWbEANS1Dz gj/f88dBnysVLGkes+99HIblWH5gT0InvjisCM5zWdlKVs6oveUzwUAcxvyxw2D8wA== X-Google-Smtp-Source: AGHT+IE9uGysD4vkUQT5xnnujFI3b9wyc6TPvFVr/17aVcrugteOjHBQGiC7Z+k/vntOBGbggynGkQ== X-Received: by 2002:a05:6000:188c:b0:391:41c9:7a87 with SMTP id ffacd0b85a97d-39c1211d424mr9612780f8f.51.1743490891876; Tue, 01 Apr 2025 00:01:31 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARLLPAIdMdR9Epsxhj8ZPISHbrpiOi5DxcYq0SZ/ZeaBG+LWlw== Received: by 2002:a5d:6d8a:0:b0:386:2e93:3489 with SMTP id ffacd0b85a97d-39ad15d80b9ls1724804f8f.2.-pod-prod-07-eu; Tue, 01 Apr 2025 00:01:30 -0700 (PDT) X-Received: by 2002:a05:6000:1788:b0:39c:cc7:3db6 with SMTP id ffacd0b85a97d-39c120de380mr7829516f8f.19.1743490889629; Tue, 01 Apr 2025 00:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743490889; cv=none; d=google.com; s=arc-20240605; b=BrTJlbsc0amTsU1+QDJTzadZ/UYdXkhNzMHG4cdtwLOjE/W1MglcBp73DPefk8D/LF U981wjC5kq3zsuk8QaU+qfWvTpdUK57rs9zlpEJwjrfPTQ2r9lIJwx2+Pnzejca7m+eM Je6Jyvddsus+NYEwr77ka58bu5uvWQU+MHScXq90cMZxS9iEjLHdgJModQbNLaBK88cr YavmxcsHZibEc7jT63YIM4RvMLPVrq8k8hmz2vXYcW2GN73GrRWPhAUxqCS3pUpMrOIU mdASWEexBXoB1qyoWI4hm9jsnNd1DMnvR2CdoUeREUg0m6AR2F3w8jyYVbRymX0jiGb8 5n1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=H3eWv9TxtT4dAVKPSAGwi+x6nlozcvmF0C9mEuJ0A6o=; fh=NwZHhFJI0jJJqyVgFqgrnLYhIdS0/tseQprIYzTwmwY=; b=Xyid/QTTbxurypWGBkWqNOx8e/c85Dn6pXKEBD0R4qkMghai1uBsZOAwvg4Dpw440p deqFGaF3EXRK453c7Mydhx5CRYGw2f81z4bpY1rmcPNUjK0CpNmfbXbghrp4L+IyTm4N bsNgM1sSJS/E5qFI4b9D6YMGxefUAiH8GALIyY/EkqaKzyeFpnk3mTQG4RbVwGOiZi4c bdJQigA0eAuS7ej8oUYyrQRnGl1gkGUscqw1HKxWEfKzuLJ2L0gH4yKWF9qRp8WLNMZS /hg6ZpqbHZU4r4gNQgxTClUuUyg9jTb2VmA3vOTtWmT6+rDRB6hQbF0OQrLa5FcpVuRS elsw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CRKmHCot; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 5b1f17b1804b1-43d90f8971bsor38078695e9.1.2025.04.01.00.01.29 for (Google Transport Security); Tue, 01 Apr 2025 00:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncsJJVADrpW3G0+2GjsMCZMkMC+IJKY/165HXM7hjqn5lcVtkMiqoo/ZyYqTVTy 9O1LNXDZX3o8o7QEprchO5U3JiJXrLI9zVlEuVN8O86k7ZlQ+CTrAp5mor97a9oop3ErdAbtavc Ta5WZJOv953+uRMf30gmHX3UMOv1l30/+D6NcCqqNIE5/M+YV/AbvlCIG/AwcPzXmZLsPLhVju0 x8aI3wXXpfiTNliV4t8/lJw7h7mfC7UaC2VHNVq2i0cNbcqYVQRhCwrHe/Wve9B3XLzWhLJX4OU aSpNkIJImrpqyVlJNXSonB1jiru7m+FzPaMtrViQTQQIMYgGcZyoWAJuUCgbQ8znxju0UssRIX2 lGUOYLcJgphCStup+PyCQ X-Received: by 2002:a05:600c:314b:b0:43c:fe15:41cb with SMTP id 5b1f17b1804b1-43db6249672mr112519885e9.15.1743490889176; Tue, 01 Apr 2025 00:01:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.230]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c0b66b015sm13701760f8f.54.2025.04.01.00.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Apr 2025 00:01:28 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Adam Ford , Anatolij Gustschin , Andre Przywara , Anton Bambura , Jonas Karlman , =?utf-8?q?Jonas_Schw=C3=B6bel?= , Kever Yang , Marek Vasut , Neil Armstrong , Oliver Gaskell , Patrice Chotard , Patrick Delaunay , Prasad Kummari , Simon Glass , Sumit Garg , Svyatoslav Ryhel , Tom Rini , Tony Dinh , Vikas Manocha , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH v2 0/6] Support NT35510 panel controller on stm32f769i-disco board Date: Tue, 1 Apr 2025 09:00:51 +0200 Message-ID: <20250401070125.3705126-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CRKmHCot; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The series, inspired by some of my patches already merged into Linux, adds support for the Novatek NT35510 panel on the stm32f769i-disco board. Indeed, the MB1166 board comes in different hardware revisions. The MB1166-A09 is utilizing a NT35510 panel controller while prior versions are utilizing an OTM8009a controller. Changes in v2: - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Add Reviewed-by tag of Patrice Chotard - Replace board with configs in the commit title - Add Reviewed-by tag of Patrice Chotard Dario Binacchi (6): 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 video: support FRIDA FRD400B25025-A-CTK configs: stm32f769-disco: support FRD400B25025-A-CTK display arch/arm/dts/Makefile | 1 + .../stm32f769-disco-mb1166-reva09-u-boot.dtsi | 6 + .../arm/dts/stm32f769-disco-mb1166-reva09.dts | 13 + arch/arm/dts/stm32f769-disco-u-boot.dtsi | 53 +- arch/arm/dts/stm32f769-disco.dts | 66 +- arch/arm/dts/stm32f769.dtsi | 20 + configs/stm32f769-disco_defconfig | 2 + configs/stm32f769-disco_spl_defconfig | 2 + drivers/video/Kconfig | 7 + drivers/video/Makefile | 1 + drivers/video/novatek-nt35510.c | 1253 +++++++++++++++++ 11 files changed, 1374 insertions(+), 50 deletions(-) create mode 100644 arch/arm/dts/stm32f769-disco-mb1166-reva09-u-boot.dtsi create mode 100644 arch/arm/dts/stm32f769-disco-mb1166-reva09.dts create mode 100644 arch/arm/dts/stm32f769.dtsi create mode 100644 drivers/video/novatek-nt35510.c