Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1104887rwd; Thu, 1 Jun 2023 10:29:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q+LCevIKiEGuB8TEYFh/+BnxqhpJtPQMHKE9+5hBIve8vvHGo8ttmXttX/FiRd5cBoC1N X-Received: by 2002:a17:902:dac2:b0:1b0:5304:5b48 with SMTP id q2-20020a170902dac200b001b053045b48mr205193plx.0.1685640569783; Thu, 01 Jun 2023 10:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685640569; cv=none; d=google.com; s=arc-20160816; b=Ga3BfAMrZdAuee8Cl89CkgY1IG319UisfBHzUJSiOdusLytjL9Zqd7gZbNztVxhSk1 wrilDIMFEWkrz18/fMfSPafHRCG5DFBnTF3WHf1k/3+kJnNtADx22ZdBUHRvHRzXsKZs yy82xwbQES6ACzy1Q/siX4tSJOYNu2nTYxB+hXz1vE/sJ/TVJLEyJz0h6CKBRJNiiDW6 z1nzaQ8Dmd77DCT7TBwFeLLPSfd5y/bN1Bf+HSgMbi2K3b9EVS+8Yh1w/cUmTSLg38N0 ZTuGZphizmMFOeujFZAiqnpamGbuOmsml/rqNew0GIDsUvPFHPi3NjeK9XJCc9b8uCH7 GeFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7CktwIDz8iQqFve40BtvAwOOr5PjVMSEqWCcs9KU57A=; b=N5bDqOLM94kAkyjKkXMt2XcsVak/CO6Zgs+l6E/Xi0cMLA9ggNeId9Y0H55fJ6VW9G Yb3nVTD/eV6LIuS7l2lqq1mGaOKk2aVYnWWdHkhmcld0GTjkFPAEbL7n7CxaiulNu2uv sdnqmXkX/Yh7u28MtBPGTaw5hkz2Z1OLdFcbigeun5LhmKS1/1fZkMH28d9OSo400ZMq BL+nw9sRFfHSQ2QcDCDWZsa/ZL48bEkF4shJn26XEH6gnZu9Bw9ZX3/RR9IbzpVBoMEP uivfLMoFSEwkahooojAKW6DvXp8+drCmdtIp52rSpWsZM7xXSKwHqLNwBxinDZpBhl23 eP3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkg0EKdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jc17-20020a17090325d100b001b00256b95bsi2810138plb.644.2023.06.01.10.29.17; Thu, 01 Jun 2023 10:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkg0EKdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbjFARDx (ORCPT + 99 others); Thu, 1 Jun 2023 13:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbjFARDu (ORCPT ); Thu, 1 Jun 2023 13:03:50 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FC7718D for ; Thu, 1 Jun 2023 10:03:46 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-514ab6cb529so5052753a12.1 for ; Thu, 01 Jun 2023 10:03:46 -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=UfDXl+UpBQ7rWO912bd+o3q557lqIpsOuQPDd8s0tjEWj/APHiSqeUFzYDK0E5QPAa 6aQBBZytAIZiE1011ug+YKPoQSYRGdEn+azoPmQP5b9fVMoAnQ3RI4M56C4qlX0aLFPT FcQGaRaaxiSB0TTRn9uDWKHF1SnB4GJbJbT7jQozOdwXXjYhAALOWCuo0yhksGBWb07r mjUGzwVIpxGlm4pidr23zLvCNyiLNSTPjWgzFrpwBo6TemEwXNRw07WTMC/dN++uxJBO IUKj1jWUnS0vK4eHc9vVQgY80jcG/1WisIfHsCoARZmjfQ5cKWwprUifE5R7zIC8CdPG gJ3g== X-Gm-Message-State: AC+VfDzaDyBlZ0ZnUXaGEumoUTuLxWXs6140qaD55fid0LsRvVHO9CGV cb7rPlAsyCwqFIiVhGtCleIfUmnr96Ey6+qntLEtpA== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.32.0