Message ID | 20240108201618.2798649-1-dario.binacchi@amarulasolutions.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-20074-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1253563dyq; Mon, 8 Jan 2024 12:16:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGq23Cu/8DpRlzP5haPmPF065B9sO06ZfHgXUoQpvLnQcrDiw6fIudcH8UM8eHelOemIyR3 X-Received: by 2002:a17:902:e88e:b0:1d3:c372:4b44 with SMTP id w14-20020a170902e88e00b001d3c3724b44mr2696434plg.30.1704745009833; Mon, 08 Jan 2024 12:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704745009; cv=none; d=google.com; s=arc-20160816; b=CsVpnszLlVPiIDrBMvp22D29Eloe5c+uPa/Xu8mh4niOa0fT9Z3YRk+fH7jRDdodwT Ex3Il8t3I8prUTsNE1GSc2tbuOed5cB9HZD0QriEDDgPWyyCZb5gwxwwK0L46AN9F3zh n2oW3Nai4kuDWZPsqupplH6kYotB3vc/Qhh9OcOooaRR/F6lgetoufjUuIRsb8VvHJLa n0gN2KsYUPxziBDS25hupVfhHcN3csTwAZluxGd3O2gAgh3CLJLHkEu6dMkTR6qBlf6X TfJH0DT7c81lrcURBcFfcPuIhV7gmFiutzNkdoCGenWCHbEgMKFGZUFke2uNpSQ2K2od eUng== 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=470HE3R0eHCn9Vp1B3I9DAfMXHgYPXc2oiMu7MIw+p8=; fh=LF2JEjpJgXEMOG4XoD/uOJMpJyiqHq/Obo7LQEhv+Bs=; b=NoZSndGgMi4z5mAcUWjckWtwhtZNu5T1ENqIUSBMbwJJE/mx348KwrkqzI50lEa/t2 Xp5eyYcgirUWKf4JHFjvkmSiMUsk5F5xq8z4b0a37BAPhD1mEjUJIXoP6RBNYZwNZSE6 EvFlx4ee8shlWjstxvxJcq+dyr+T/88kpXH5CIeGnKXoQJIinKi6czoF59NK8dwdOhi1 KnZ8dearYL1uRJaWveL1/k46IV7UHNE5ThlPnSVJS/2D+NCsKOdSI0yNehoPj221Ht5q eFCVRmmkwVdlAdZxDgXJAXhnCol3K6whX/SH2rpgeKX3p8k6TBEvR/UMXLirmgMWFq77 tHEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=AZCTdL+C; spf=pass (google.com: domain of linux-kernel+bounces-20074-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20074-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 q138-20020a632a90000000b005be1ee5dfc7si316063pgq.9.2024.01.08.12.16.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:16:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20074-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=AZCTdL+C; spf=pass (google.com: domain of linux-kernel+bounces-20074-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20074-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 45CA2284664 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 20:16:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70ADE55C3F; Mon, 8 Jan 2024 20:16:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="AZCTdL+C" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 3DB2555771 for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 20:16:23 +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-f54.google.com with SMTP id 4fb4d7f45d1cf-553ba2f0c8fso2564127a12.1 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 12:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704744982; x=1705349782; 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=470HE3R0eHCn9Vp1B3I9DAfMXHgYPXc2oiMu7MIw+p8=; b=AZCTdL+C+QWLrlpFyDrHghwCm+opJPFKDJNV+ZBFCnZzbPZXLaLIdNRjpLUjJVCLX8 GksXzsIj4G2eR9Js8fH+Ky8iZbW1dl8yaHHcI7cGrrX0HvqVRZPPfbKj2vZhypRAgj2l MwMZZgaixPgmCF6UqETd35PjeyDlw50tx0/Lc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704744982; x=1705349782; 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=470HE3R0eHCn9Vp1B3I9DAfMXHgYPXc2oiMu7MIw+p8=; b=EZTTevLPltS+ORjHgM0k5GEeVtN1HsLegb6SD0SB66ysAoG/AT7s/mQqXDAkvf+/hr qnTEgaW7JmPBkRz4Ub3CgXEZe1XPy+VIH/10XaTwZEGeKAsDIbMziIU9F7GbJSnbIg6w vpkbp06BB/sgzO5TFclN6mkQC7s91Zh+pcv+rFBDJICKr/OCnyeAcUGYCDL+1j2nGlVx 3Z1+P1vUvO63UFkoijYJPU5Y9pgMW7HjemV3CQl7IHzhp0GDhFt0F4MVZ6BSOfPsgZQ0 ng8+ZHSQDelOaUS2gX7wKJubKRQ+oHhUV0+wu3fdZbH1xdaBA4BMswjV9ljNEWqwMidf F3eg== X-Gm-Message-State: AOJu0YwU4EUwJTMftTmC+4saVd2m06FzzuNOZWq8w1HEDukQXtKNvx2C xlI1Tc3C3olXZmXvb3/HUpI+E+pLLSQe24mC9/1TtQsYMfc= X-Received: by 2002:a50:8acb:0:b0:557:8ab7:40 with SMTP id k11-20020a508acb000000b005578ab70040mr1035120edk.168.1704744981995; Mon, 08 Jan 2024 12:16:21 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-2-38-81.retail.telecomitalia.it. [87.2.38.81]) by smtp.gmail.com with ESMTPSA id by26-20020a0564021b1a00b00555fd008741sm173699edb.95.2024.01.08.12.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 12:16:21 -0800 (PST) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Alexandre Torgue <alexandre.torgue@foss.st.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Andre Przywara <andre.przywara@arm.com>, Conor Dooley <conor+dt@kernel.org>, Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@gmail.com>, Jessica Zhang <quic_jesszhan@quicinc.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Lee Jones <lee@kernel.org>, =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Maxime Ripard <mripard@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Peter Rosin <peda@axentia.se>, Rob Herring <robh+dt@kernel.org>, Sam Ravnborg <sam@ravnborg.org>, Sean Nyekjaer <sean@geanix.com>, Thomas Zimmermann <tzimmermann@suse.de>, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v5 0/8] Add display support for stm32f769-disco board Date: Mon, 8 Jan 2024 21:15:45 +0100 Message-ID: <20240108201618.2798649-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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787554703546804416 X-GMAIL-MSGID: 1787554703546804416 |
Series |
Add display support for stm32f769-disco board
|
|
Message
Dario Binacchi
Jan. 8, 2024, 8:15 p.m. UTC
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 v5: - Add Acked-by tag of Krzysztof Kozlowski - Add Reviewed-by tag of Linus Walleij - Replace NT35510_ROTATE_180_SETTING with NT35510_ROTATE_0_SETTING - Add Reviewed-by tag of Linus Walleij - Tested-by tag of Linus Walleij - Replace GPIOD_ASIS with GPIOD_OUT_HIGH in the call to devm_gpiod_get_optional(). Changes in v4: - Put the "enum" list in alphabetical order Changes in v3: - Use "enum" to have less code changed 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 | 4 +- 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 | 424 +++++++++++++++--- include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 7 files changed, 485 insertions(+), 62 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