From patchwork Thu Jun 1 17:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13264303 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 A50BFC7EE2A for ; Thu, 1 Jun 2023 17:04:12 +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=nfPnmauCU3c8UdJ/hWXHo9XjsDN2awmIUdqeOt46lxw=; b=dGYzMZDBwn7EDF /LoAF7OcmClnRds91uNeaJ3GA/NRWIt/2nKpXfkmZhsRSMMONCivX/Y/8kkSAK9PFAl1Z6uL1rbTV avOyOQsNffKRtWoc0n8N91MHs/8Cpt70U0heP9nDXyeNwqXoOi4GxOURmildGj09HcgtHSl/A+JQJ v62rTEBm0Su7bvu19p0+pe1S2mXd2DZIH4g/eyZQhbFmU2IbP2n/hU9ay7IKeVU6LJJSJyTfLxTLD WJzv3n9CaKHPJORy+WqSczlDGiTkiHhCF4tnDsDq3Pwgh9OQKSkMI0NDiTAibxfqaqw2oEOcwGuee oh8+SYVNTv4HgDXY2B9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4liH-004LiC-1z; Thu, 01 Jun 2023 17:03:49 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4liF-004LhN-0y for linux-arm-kernel@lists.infradead.org; Thu, 01 Jun 2023 17:03:48 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-96f99222e80so251833866b.1 for ; Thu, 01 Jun 2023 10:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685639024; x=1688231024; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7CktwIDz8iQqFve40BtvAwOOr5PjVMSEqWCcs9KU57A=; b=fkg0EKdAjxwuFw+ApM6W/plP+tXu+eZpr9jZfh3mm69cAf7gyFHd7D+i7CTiq3i7Tp bnXachRnfNjh91+5nuM9DfYwtLjF5b0JsT4G9Hm9y/Nn+NpOHREBHP7ibsWBTlhrSMkM MR1dXNqpdI+hnBE3aN3k3EIhmqMcuDXwykx7I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685639024; x=1688231024; 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=7CktwIDz8iQqFve40BtvAwOOr5PjVMSEqWCcs9KU57A=; b=JGM/fe1p+BDWs8urS1JszNeTT4/Jgd2XZRIB6Qep46qixgGx0Od7PD7K3jQNCdcsGr Xl1ILm1y2NZlqWMHtNa2OoRxHD6b6bzTQzxWMrlwCJqVyR5Q6OibNI5jxT5LtezTVZ3p ttqUBKnypRlI221NsWwrJ7+DDr2N/Arza6PPwVvxCMc+bZWXwyoqf9A2fY+T8OXBC49T BXz8zq/U7DmAPvZlFkPETz3ZBfSdEecGPmJxE/KuymC9IDVyrXtIEZ5fGXQVBzexaLO8 DBnV8nkSwJStSnaKVXmI66fgu5cSPlv2MzNYooTdmoVvSmW9Vwov7lCh7FYX7UvSR15k 79Ow== X-Gm-Message-State: AC+VfDwABB0/zZ1svF80SE5g0Fq/wSNHetY+vVR134j/W5BDJil1RipY Kn/vvr1yAohHiiVJidqocsq3pQ== X-Google-Smtp-Source: ACHHUZ5jWPn15sUETnU3sOiLA3ZEq58hqtWA/qPY8dV5vu8echz75s4Xk6xBQQXlIDs32fWSNQEHHw== X-Received: by 2002:a17:907:d13:b0:96f:8d00:43be with SMTP id gn19-20020a1709070d1300b0096f8d0043bemr2133110ejc.0.1685639024540; Thu, 01 Jun 2023 10:03:44 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-248-31-20.retail.telecomitalia.it. [95.248.31.20]) by smtp.gmail.com with ESMTPSA id bh25-20020a170906a0d900b0096165b2703asm10658522ejb.110.2023.06.01.10.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 10:03:44 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Coquelin , Neil Armstrong , Philippe Cornu , Raphael Gallais-Pou , Rob Herring , Sam Ravnborg , Thierry Reding , Yannick Fertre , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 0/6] Add display support on the stm32f746-disco board Date: Thu, 1 Jun 2023 19:03:14 +0200 Message-Id: <20230601170320.2845218-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230601_100347_360255_CDB0D1D4 X-CRM114-Status: GOOD ( 11.76 ) 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 support for the display on the stm32f746-disco board, along with a generic patch that adds the "bpp" parameter to the stm-drm module. The intention is to allow users to size, within certain limits, the memory footprint required by the framebuffer. Dario Binacchi (6): ARM: dts: stm32: add ltdc support on stm32f746 MCU ARM: dts: stm32: add pin map for LTDC on stm32f7 ARM: dts: stm32: support display on stm32f746-disco board dt-bindings: display: simple: add Rocktech RK043FN48H drm/panel: simple: add support for Rocktech RK043FN48H panel drm/stm: add an option to change FB bpp .../bindings/display/panel/panel-simple.yaml | 2 + arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 +++++++++++++ arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++ arch/arm/boot/dts/stm32f746.dtsi | 10 ++++ drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++ drivers/gpu/drm/stm/drv.c | 8 ++- 6 files changed, 134 insertions(+), 1 deletion(-)