From patchwork Thu Jan 4 07:23:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13510841 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA331C4706F for ; Thu, 4 Jan 2024 07:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=S6EK2ImIZKtkPiND3ebM+/+exfaSSVn4RvDg5aGkSbI=; b=2hEqlNAWjPWClC fjcfUvVuspYEs2dls06X7svpNArk0Jo5JmJHaUgy2S+uAM3axctjoKIdKHB+6beLOB79YDAHFbdhY Lg9XQ7G1iIN/4SY2DGWP8ba7DwVfp6g4HO+pzQ53SfQGrcasGJzGUFkWNITDEu33zuS6RgDlh39CR BaCKkAcLOoanTtk0lBCt905pPBeaJdIzFmwKlxC9knbyFHYLQp4Hr0uwr0kjPmVm344JKn6HRYpaE tKJBGCv7XG7myfuIbkY+xuqhr0EdC+FaktZBxx8SxStTuqMNboWaIzzs7V5MA9lSL8VIjouGtohYl iPWU5gzJHFynRXUP+8DQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rLI5V-00D42K-0U; Thu, 04 Jan 2024 07:24:21 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rLI5R-00D3zv-19 for linux-arm-kernel@lists.infradead.org; Thu, 04 Jan 2024 07:24:18 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-55559e26ccfso254526a12.3 for ; Wed, 03 Jan 2024 23:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1704353053; x=1704957853; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PUgVC7JEO7GhUBsHaMMn2sIj/0Ni7LYX/30T12HJpq8=; b=PFn1dz1JMJvcjkQwiKSh614XS1mxRBEBBpp/cIctVwtGt1pObOOH75DFSnFFtzkogT GCbXA9MkpSexU206PbdqXqYOpdKNL9hElX9Kb5hqYQ1oclSVc1XsI7qHPFOrzi5BuuN9 M3iGCsc0uf6Z/0/dj5eSkxqy25EbBJRfLasMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704353053; x=1704957853; 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=PUgVC7JEO7GhUBsHaMMn2sIj/0Ni7LYX/30T12HJpq8=; b=tDZ3M8ndac7trIakx5BLEnq5kZBOYYGk/DwqH8kLWfoUz8BcTIa/povfZdqkZWlx1h 48odNTR5PGOP0DcNu5uM0HYYVIqUqMRKvFoZ4FiEauQHCi8QvI6ktCh3yGX5P2xlHrj3 4nPPyav+XvY3YAuTO1dS5Jr+++NgTsg+6Qe0UIQxI6U6KAABtw+BE7NvoeAibTqFzJAJ lVTolngUtjorhB/sUQopMN/mgnJnddO1+1AhSm5luiXC0A2h+j6JyrneH2P77hGs3VR8 su6CQ2EHsbmuBVqtcCP02AjKGS4MxJBYMVittXNrZ6PrZRzYjzBvJcFqNvoB4VMlpdxZ FfPw== X-Gm-Message-State: AOJu0YyqpI9LkJ+FOyOzWA5hjwuQT72flEwhjJlViiZfjPYv4rSXl+di TtEMdGPeOBMgBlT3zXCB7YNCieu5tRiitg== X-Google-Smtp-Source: AGHT+IGmDyP/2rCvEVge4MJPNpo2+Gj+UXFPX8MUKMMpso0SylDp5k3+gnunyyZSiIr2eHvZUnp0ZQ== X-Received: by 2002:a50:8e49:0:b0:553:ad79:b7d7 with SMTP id 9-20020a508e49000000b00553ad79b7d7mr54053edx.93.1704353052879; Wed, 03 Jan 2024 23:24:12 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. (net-93-150-255-34.cust.vodafonedsl.it. [93.150.255.34]) by smtp.gmail.com with ESMTPSA id d3-20020a056402000300b00553772c2968sm18530735edu.82.2024.01.03.23.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 23:24:12 -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 , Enric Balletbo i Serra , Geert Uytterhoeven , Jessica Zhang , Krzysztof Kozlowski , Lee Jones , =?utf-8?q?Leonard_G=C3=B6hrs?= , Linus Walleij , Maarten Lankhorst , Maxime Coquelin , Maxime Ripard , Neil Armstrong , Patrice Chotard , Rob Herring , Sam Ravnborg , Sean Nyekjaer , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v3 0/8] Add display support for stm32f769-disco board Date: Thu, 4 Jan 2024 08:23:36 +0100 Message-ID: <20240104072407.41290-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240103_232417_448007_AA2F8BF9 X-CRM114-Status: GOOD ( 17.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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 | 422 +++++++++++++++--- include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 7 files changed, 484 insertions(+), 61 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