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: 759312 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 C867E610B 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="pQNQfviY" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-555e07761acso2110361a12.0 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=Fb+ArCqc0+lpKgKH+M1C0YDZM8xXR6srRfULM5i0YRZ9oeK5M72fx4DHmCysg18SHY LThv6YWl9TcPmk5sxJcDspJ8PuInTmlgWR2wr9s2mtX8gFHkdn0jpil68P9NpUROPYxV fYS1+WqYQ3/4aXyxQfF4zdlt4FgAbfo+4+vO6tq/aGk69rxQX/7P1lmGvmkfKw3rQ37h x5SWpeAOuU0aH73g8eYMVQAIRGN/cd6zMj6C7dtm19WwMg0yM5b7wOeaBsAwJYPje4cm cpymU8E2K20rDphY6EV4uVjS6oNIEZ9YpshovaL1C6M7e51p2K8OMGVRTx6lvWJVqpqV atSg== X-Gm-Message-State: AOJu0YxY7AQoCjU+3mnetn7fyfE2vn56fbSZ87u84ZtfmOO64QQuNwKE QOpzq1FSB68oneb4DWrH1h6YtiS8K0YlQA== X-Google-Smtp-Source: AGHT+IEQPkb/xU3hKiBkgEQwUljd/agNhFUnvd7R8emlhQpl360mLY6ib3wv9PXPiYl0TjZGosRJww== 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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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