From patchwork Wed Jan 24 11:33:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 19390 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp933739dyi; Wed, 24 Jan 2024 03:54:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMD5KyiOFDIgFGs0A9yxXMJZEovQw/RGE0JlpnLDZE3I27UCOKqYn9cNfzq0/T9O5LQN9V X-Received: by 2002:a05:6a20:ce9c:b0:198:7feb:97ae with SMTP id if28-20020a056a20ce9c00b001987feb97aemr737918pzb.123.1706097267452; Wed, 24 Jan 2024 03:54:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706097267; cv=pass; d=google.com; s=arc-20160816; b=sFn/3IeS6nLPmJx2VmbsdBrmsBJyeQx+K6JLywUk60CxK9sA1YYup2X865aLKzYYF+ vUmXLE3XR7RP8Av3aqzGxbAVBPQtNfJEFLODKWDfva3PBGoXXOlD8XLX5SVNs70VSRD+ RTn7+mKHAE0rnGBdt7gaFnr630N2+sagHUUoHce9tEU7u05h3aGbbx47nBWL6CB0yajM e8mTHizcGJKKqNguuxpIls2VjJHd0u66VCtSWhAcIsMC9K5YvvKW7uLVQuD4flPqLBvM GsKC1PH/GmEem7YawGRJglOju/MjIbXvGyafNpm/Ncv7iTXneeD6SvO7rJVXi1Z9GPy7 ibtg== ARC-Message-Signature: i=2; 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=H+jxNLfboUJgS24Fil1mSyDf7IcRgIBmJ/Q7aVOhf9s=; fh=tNtljq5gldxnG/+2Pq9roqbHy0xLRxNVpNqNb9+Xx14=; b=hcnjNtj68It6kJfk70SNsHZH83HXXxC5Jf5wAbbkb1ClnxhX2HhvlS4dI8XnWgxH0A Xbe+TrQrlvTyJ7ct+F5BpVzteTeAPCS4iLgCWNcc3PRS/hWPAqHJggETYNAo+Un/b8d7 m0lz5HvK55YSQwVjDtCOWnoGFHgDxDzu07g9CqLuePjcUFpg+dzTJxvAC1nczW+LrjYe K6bxsIsHT76Sfn/Dl3mzp890tyQd+mE2vP8v9eFw4TCmibPqI7cbDUNKMJTQWSaQxp41 8MgZTHMBtfdeSqSmF+C7d8gbVLvkQcX79k4Q7955iOcJjIYyV3nNNDe0Zq+r3xCflOmb lZyw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jatDlbot; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-36870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36870-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 c1-20020a170902aa4100b001d7391219bcsi6757088plr.255.2024.01.24.03.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:54:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36870-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=jatDlbot; arc=pass (i=1 spf=pass spfdomain=amarulasolutions.com dkim=pass dkdomain=amarulasolutions.com dmarc=pass fromdomain=amarulasolutions.com); spf=pass (google.com: domain of linux-kernel+bounces-36870-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36870-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 A4AF3294344 for ; Wed, 24 Jan 2024 11:34:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B44B1B817; Wed, 24 Jan 2024 11:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="jatDlbot" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 F3DE21B7E3 for ; Wed, 24 Jan 2024 11:33:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096024; cv=none; b=X9GDOoO6oV7iNVe+9iPyuzdG66NBP8Cc8qUfruf1G3HCXeRsC3erVokKzp6p6Mzsc+s4RrxHv88QjZ5+KhQ1IvRHu/1JMAttU1oDlO9Nbjhlx/kSus9h+xVcmhZqVYDZzdSLiSuPNt0Fw1gofN25NVzttElhiIR6BaY5YqWYjns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706096024; c=relaxed/simple; bh=adDO8TUIQMExaPDv9NsxqaAOGMlVlinKf8gaQiR5N54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jVEiwSA4Ef79YG8OEUI//RfIM1vt+gKjYuQOoQ/D7CaOkJLmf5eONcUpwkzrKrHQvFCFBewGMX29aDLRM/vbH/6Zkz/+Mqf0xd3PJZ2QtoGLaqGpLTnHrM3UXSTu87e4mux9z63wWY3CvYLWH1Z4ihK5D9SFu/kGtc/+53B/Ljs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com; spf=pass smtp.mailfrom=amarulasolutions.com; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b=jatDlbot; arc=none smtp.client-ip=209.85.221.51 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-wr1-f51.google.com with SMTP id ffacd0b85a97d-337d90030bfso4667738f8f.2 for ; Wed, 24 Jan 2024 03:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1706096021; x=1706700821; 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=H+jxNLfboUJgS24Fil1mSyDf7IcRgIBmJ/Q7aVOhf9s=; b=jatDlbotwNtMsfQT68XL8ceuBft+Gd0EpFgj6yrooPUOP1XnIsEURDRc5asb9k0y+T ekaVC0M/bocD6gnI/VkRk3nv+z4SJQfEvmsEj8vTAu6dV1fOTqtM360GZl/QeUu8E6At x7jxxPFoFRRgMDZt+JjDumW9/NwlAmOfrekak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706096021; x=1706700821; 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=H+jxNLfboUJgS24Fil1mSyDf7IcRgIBmJ/Q7aVOhf9s=; b=UD904pVgQK6tVCwrXekWP7Syt2rb4qZ07TeAdNWYHCGTsvDuBeCam2bahDG9tc/B2S S06nyvta1mp677K57jWMgtg97+jXVbjAQYM7y8gHN0iKo7lZ6/EbK5i9Bi6v/6kAbc2O +Q/eyV2pC0EytOgG0LTVv4RIdtTJcgKKWCuNA0ln2EBcovLHclv3tAYCszURvdPRi5By hnz6qzo+4erWC4K8xK1E4x1EN2LGl/pK1vlRz+krXEpiVgb5+T1bSP8giJe7F6PMM9L7 o/LL2CavVz5EFw50jM82XrrSXNLhnq3Y4sa8ZKF+ivoEIzpMn+7VcX+bSz9sJJBtCKnx +cGQ== X-Gm-Message-State: AOJu0Yy6X160jGmRiMYR6Dmmvnq7qOwzmAkY6wcH8jEyfoc8vDu+TGq9 gip8PyZCMshr0HwgLVGEcWGXjMqyeP5xoMSHP5C1UagnqcjBXNvsYqt7yzFQ6RI2l1D0eblIDIz h X-Received: by 2002:adf:f0d2:0:b0:337:adfb:bed7 with SMTP id x18-20020adff0d2000000b00337adfbbed7mr208625wro.117.1706096020928; Wed, 24 Jan 2024 03:33:40 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (mob-5-90-60-192.net.vodafone.it. [5.90.60.192]) by smtp.gmail.com with ESMTPSA id i18-20020adffdd2000000b003393249d5dbsm8447950wrs.4.2024.01.24.03.33.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 03:33:40 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Lee Jones , Raphael Gallais-Pou , Alexandre Torgue , Dario Binacchi , Andre Przywara , Conor Dooley , Geert Uytterhoeven , Jesper Nilsson , 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 v9 0/5] Add display support for stm32f769-disco board Date: Wed, 24 Jan 2024 12:33:09 +0100 Message-ID: <20240124113336.658198-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: 1788972648432553143 X-GMAIL-MSGID: 1788972648432553143 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 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 | 18 +++++ arch/arm/boot/dts/st/stm32f769-disco.dts | 78 ++++++++++++++++++- arch/arm/boot/dts/st/stm32f769.dtsi | 20 +++++ include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 5 files changed, 114 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