From patchwork Mon Jan 1 16:15:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 18626 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4042093dyb; Mon, 1 Jan 2024 08:16:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/IbGZYV4QS+OkcgjI1zOWNiOCfUbWlRlG8+cihuauPcK4CvUXRv/ncUw4Lgt0gGHMHc85 X-Received: by 2002:a92:c562:0:b0:35f:eceb:f83e with SMTP id b2-20020a92c562000000b0035fecebf83emr17601764ilj.19.1704125803808; Mon, 01 Jan 2024 08:16:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704125803; cv=none; d=google.com; s=arc-20160816; b=M4RhcAcQGQnDuZY1p9JFsG+71piKVTrO9y+ujvzObh9cEf7kFkJzk+4O8kAcH1wl8a 1igJ9wUx2GQI6+rISd39x4K9jPDfcgwdeUpVDlxvPXoVHu2LAhbae/JgFeECPbBPJO+y z6f+wu8FzEBimomJYy0eN7iELEOfAInEWfmfHisqimXWNF2Nv8i7rclDaWBGAHEgsMxn np7RdwxiEYD8b2Pd7iMeOUloi2L0QEIn8uB3kZHm+/w0snkGXMmaZoC75Dhuwxy3W5k4 Naml7fpeP/YnwfuYtcKweu3J0g5Yb9GZuiayjr2gBL820SDYcIhNSIBDxx3U8dkthAiZ Evkg== 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=YNM2yMZci2VIBNpAEhflLG8Dmm5EbaZj/+YVA9KryPM=; fh=XOiSXon7wmfIGkU32/BaOGXZ/nsyWfSnjh/sKixpYLo=; b=e60Yb89Rep2kHeNU0Tk6C6FS9QR+MV6971cS4zx1JpgbTOFHR/FzSRK9liW7XoLpub 1gbahoSYHc3DIr3hyv3l2sXvSJIu0qNHKj8/I7ksI63o/+OmZkh8UMV8PE0RfbNOAI2T NtuacqUkboPIpEry1Q0MnIJ4qOKTa2orR0MIabEG0K419veTsF+UiOsYLOu+6zCeyOmM VwfzBv43TKNJNGYpOjoLfuyAXqy2ZfMVf/sp1PhbUtpDSDvwkWeiofW1UluLnCukEIGX SRAeCJllMUxDbIuUQn0REfqRooCsp8nj86tKW+i/XUpsTlGU2G/7VdLymet+U2FTTQZ/ Snfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pQNQfviY; spf=pass (google.com: domain of linux-kernel+bounces-13894-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13894-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. [139.178.88.99]) by mx.google.com with ESMTPS id bw21-20020a056a02049500b005ce0a03e923si14081043pgb.617.2024.01.01.08.16.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:16:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13894-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pQNQfviY; spf=pass (google.com: domain of linux-kernel+bounces-13894-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13894-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 8FCEC281F5E for ; Mon, 1 Jan 2024 16:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55498947D; Mon, 1 Jan 2024 16:16:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="pQNQfviY" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 083586107 for ; Mon, 1 Jan 2024 16:16: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-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-555b361353bso2764463a12.1 for ; Mon, 01 Jan 2024 08:16:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704125768; x=1704730568; 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=YNM2yMZci2VIBNpAEhflLG8Dmm5EbaZj/+YVA9KryPM=; b=pQNQfviYnS4rvRrUL8CCnbhhHC2I3FV6lhVsDxbz4V1qdyskBR5/kfA9Olp12tKkid aO17BCtJSr0i9/UOqR+TOSMvTYVX13OcVnISDVjn8vOI0nUmXiBAgBDfR3E2pj9HbM7i wq+d6xW3w+vHxy/K0crLmUK0RpPNaotkn0jDA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704125768; x=1704730568; 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=YNM2yMZci2VIBNpAEhflLG8Dmm5EbaZj/+YVA9KryPM=; b=ZtfaG2aolConwYrzm37S4xk0DSKLnQxUgAJSuapR2aRWMcjrTAOscQQ6YDTXoEc0P0 U5EFR/k11mzqdpIWsd4zki6ZUXcckBuuYADdHeqnjn1qShk0qNHqAzIgsNkTno1z23S+ xiyquSR/42AIgGVyodWyoyi8y8gNAAa2imToNB/lYhpHnZhnCY8b2valgtVSTlG+oKU6 M1BXk81gpMMVdKh/s9kKbQHxXul5+6XSbQT2+rX4QtsryOyovOiiNZjg653R4t1xmcii yruqU01jfR//o9rhAFCmsW37AyNjYDNAgne8IUUDaBtjTJFzw0foMjlVAwcRw4/m2RnN qjPA== X-Gm-Message-State: AOJu0Yzp+dnTYyZk26g+6UvTtzxMiJpbobu1l0S7lDzmuYL0RdrUjA3s Io/QPPnfKA8+V6IbMwySjrsapdL1IkcPYWzGUNPL+Ao8qr4= X-Received: by 2002:a17:906:12:b0:a26:d9ad:3106 with SMTP id 18-20020a170906001200b00a26d9ad3106mr3830575eja.9.1704125767979; Mon, 01 Jan 2024 08:16:07 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-48-44-179.retail.telecomitalia.it. [82.48.44.179]) by smtp.gmail.com with ESMTPSA id ep16-20020a1709069b5000b00a27d5e9b3ebsm1897857ejc.105.2024.01.01.08.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 08:16:07 -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 , Jisheng Zhang , Krzysztof Kozlowski , Lee Jones , =?utf-8?q?Leonard_G=C3=B6hrs?= , Linus Walleij , Maarten Lankhorst , Maxime Coquelin , Maxime Ripard , Neil Armstrong , 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 v2 0/8] Add display support for stm32f769-disco board Date: Mon, 1 Jan 2024 17:15:43 +0100 Message-ID: <20240101161601.2232247-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: 1786905418606008136 X-GMAIL-MSGID: 1786905418606008136 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. Changes in v2: - Add Acked-by tag of Conor Dooley - Add a dash in front of each "items:" - Change the status of panel_backlight node to "disabled" - Delete backlight property from panel0 node. - Re-write the patch [7/8] "drm/panel: nt35510: refactor panel initialization" in the same style as the original driver in order to maintain the same structure. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the original driver. 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: move hardwired parameters to configuration drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK .../display/panel/novatek,nt35510.yaml | 10 +- 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 + drivers/gpu/drm/panel/panel-novatek-nt35510.c | 422 +++++++++++++++--- include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 7 files changed, 488 insertions(+), 63 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