From patchwork Fri Jan 12 14:48:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 18993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp223211dyc; Fri, 12 Jan 2024 06:49:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnSqfcxJoky8835rPRZt+pY0NcWTMfSoZVGLkAWWdBN7YYQHt9ad7ShugvWGIOl44uArWl X-Received: by 2002:aa7:df8a:0:b0:558:c7c9:454 with SMTP id b10-20020aa7df8a000000b00558c7c90454mr339891edy.161.1705070992968; Fri, 12 Jan 2024 06:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705070992; cv=none; d=google.com; s=arc-20160816; b=XRQKz4lO4M9/NfYKVYh7fo+cFKFka6qKiV8caTG3kPg29LV5MtzsnvHVYzJlG9fhgF dEub9wF22v54YMV0wlKqGbX2o+VXlXuW36PLIkY/o2GZ2yfMKL/OLJDrmgsb2l1qsfe8 v5Cjo9Dh0I8UmCWvLxjm8sGpUxCxrdVpoHudlgW0rQD7eB383JRkP3FiK/g2YEW3fMQm 1HqsEu6bU+5Ng2KKbfgGoXMrFSHi+cFGunICXRHVFHih1ZDv4/38/71c21t4vOMtDiuG Fx1YBCe8SfCtlxbTuUPKo7QIznI8WXlpSzrdCm0U4FuzueHfGEhF6u4MvswYUxjEqk7n vD5g== 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=lhyOt+Bt0LSOKZrhQ3fGQqwCGnFrbZHK2Y4XkjmkxSE=; fh=53htYjX9C5y98Xdw2+2rc5LphfsqwVI6zUmMTmdR4Wc=; b=xNu95eAdaB11Gz/486ySWOIYzLTCgqoy3w/6pBoeHWnuPdXctPbF8409iEbIBj+y77 8fGpV9TXbjnNwIdE1dRGbJZ2sR/7yF7sX4ybDcjg+Wl1SfsmlPM5uOuT0fkZJN55vCUT BZXhKNRpGhnjnTpP1izfrpYEmOl5PLKxVmYg/uaO8Jxd/ILt9g1wfgJ6VgURXBpZyEbl Pyss84bZTo6GW+acSidcHt/qWFRN5EuGK28e0Th4hQxqtJFd6O0v5qiszvyI2lp8x2TM On+ImOdWs4yDu0qAkF3IeMW/aq2meFv/6sNBQHXR5RhlTa+3rp/WLB3YFw5kAvIZsgAv /wJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CDow14+I; spf=pass (google.com: domain of linux-kernel+bounces-24763-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24763-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b66-20020a509f48000000b005574e28b2cbsi1461502edf.397.2024.01.12.06.49.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24763-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CDow14+I; spf=pass (google.com: domain of linux-kernel+bounces-24763-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24763-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 93ABF1F253F3 for ; Fri, 12 Jan 2024 14:49:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11EEC6EB67; Fri, 12 Jan 2024 14:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="CDow14+I" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 A30FF1E529 for ; Fri, 12 Jan 2024 14:49:09 +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-f46.google.com with SMTP id a640c23a62f3a-a27733ae1dfso749498766b.3 for ; Fri, 12 Jan 2024 06:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1705070947; x=1705675747; 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=lhyOt+Bt0LSOKZrhQ3fGQqwCGnFrbZHK2Y4XkjmkxSE=; b=CDow14+Iq2V1pqPnYD6wDZqrJXpdCaXHywmi+REeJH1+a+F/V/IF1/CYWyQgvF+JVO FBUQ+OcQ+hH2Noou5sppddZEWsQpdYrTxiU5/2P71Ne0pWto/lFd1IQ+Ons5GPrll5gc BEkHKqncf+VgBID3qkbn+QOZWgNGLIUN2H5YM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705070947; x=1705675747; 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=lhyOt+Bt0LSOKZrhQ3fGQqwCGnFrbZHK2Y4XkjmkxSE=; b=qIMA2HpBsN+LptRBSbJUZRXAeHgDrsvUBxFXQX36E1NbGRSa5EtInKSBli1X+9yfq/ Dvuz8j3gLKrqJTMBltnMFulWpZF0L9YJ1OGvwTfC9jOKLh5QxWIO+r+YyAIIU4AtgIQU qfdguI+nwDdMykCNC4YE2siQK0/rzWumAj/ECWyQapsSYHt/4thU+QnxpHzgKwoCglc+ u3IQlh5ukVvG48oMXuNyQwE7Tv4TcR0NEfAfOSpvRBc4aCStuGyWmLJmXPsYCIDd1GhD r0BsDq+LLA+yJRIKL2TDFDC7gczVrS3fZa5LAy/JYEAKrwshUfZfKdUuEI0qRQyOU57X TvGw== X-Gm-Message-State: AOJu0YwbKu0YQs6Bd41JyDLnXgKNyuxnDZKVtVF89QKWXjq18In2PubC KZwRvqrGf5lI4bJiVZ5CJllNmIOiDXTuVWDHXEscRDoZ68s= X-Received: by 2002:a17:906:7145:b0:a29:8b1d:7c84 with SMTP id z5-20020a170906714500b00a298b1d7c84mr381653ejj.53.1705070947628; Fri, 12 Jan 2024 06:49:07 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it ([95.236.91.90]) by smtp.gmail.com with ESMTPSA id y11-20020a170906524b00b00a233515c39esm1869372ejm.67.2024.01.12.06.49.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:49:07 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Alexandre Torgue , Raphael Gallais-Pou , Dario Binacchi , Andre Przywara , Baruch Siach , Conor Dooley , Krzysztof Kozlowski , =?utf-8?q?Leonard_?= =?utf-8?q?G=C3=B6hrs?= , Linus Walleij , Maxime Coquelin , Peter Rosin , Rob Herring , Sean Nyekjaer , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v8 0/5] Add display support for stm32f769-disco board Date: Fri, 12 Jan 2024 15:48:20 +0100 Message-ID: <20240112144902.40044-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: 1787896521845678389 X-GMAIL-MSGID: 1787896521845678389 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 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-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