From patchwork Fri Jun 2 10:21:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 688883 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89BF9C7EE29 for ; Fri, 2 Jun 2023 10:21:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234482AbjFBKVg (ORCPT ); Fri, 2 Jun 2023 06:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233982AbjFBKVf (ORCPT ); Fri, 2 Jun 2023 06:21:35 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B18AB180 for ; Fri, 2 Jun 2023 03:21:34 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b1a86cdec6so14988331fa.3 for ; Fri, 02 Jun 2023 03:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685701293; x=1688293293; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=pjzDmVWrmpv8bNLYLxvaZYL6mxAG3qQGOPJ8xm++RR5BxeesRsXpGhpys5eIzcxcHB rxgB6q/xLenJIRNPnwkVkDzsQhtNqR1+AzfiU/SbEYotGzou+QdALXAT5+qDdwLxo+tz xcdp4bFWejnRiySMy3kFESCse7L+7H5XqwxHM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685701293; x=1688293293; 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=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=SB2CGDPI88Da8Ts0uh49QUqqOYjYTLiQRK/iJqsEBMDoJADQsc8piQh3/B9bgrr/UZ d0DT0dE5m8gq1CId1CJ+rsM/Pcp179uNseKwezoQniKeI+xOdyS+cahgt1arRZCl1mBg YM5sDuLC7csHzYseL+CI5esHHHTBROSqk5pD3YzLAutccQSaJO4U7chfCC4lXfXjB4Ru OMBMA3Wwh969ikVaSteaczG9RUr3fOsfTFCyDfrcVhrWVH7A/4S7b/vvhvPk6k0tZbYY PoWq3LxJgVaxDqe6Wak+/Yf5OZaQ97mfTpKoLPGWqADhgGTFHuJOCXyXnCsnE6K2FH2Q rF/w== X-Gm-Message-State: AC+VfDwBFF+PypckqWnlcyBrCWFILndog7vhAElRaAEBmcB17+44Tmtg LCGsxizaeFR1NjbXvI0Xx1mwSA== X-Google-Smtp-Source: ACHHUZ6co4uO+gVLS2iC+Vv8IBfeCfrH5pWd6DF66wUFf3puiaOUh6G/ryC64nR6uuVEL69eEqSvqw== X-Received: by 2002:a2e:9944:0:b0:2ad:8623:a97e with SMTP id r4-20020a2e9944000000b002ad8623a97emr1104584ljj.50.1685701292883; Fri, 02 Jun 2023 03:21:32 -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 x24-20020aa7d398000000b0051499320435sm528887edq.14.2023.06.02.03.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 03:21:32 -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 v2 0/6] Add display support on the stm32f746-disco board Date: Fri, 2 Jun 2023 12:21:16 +0200 Message-Id: <20230602102123.3345587-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Changes in v2: - Add 'Acked-by' tag of Conor Dooley. - Fix build warning reported by kernel test robot. - Add 'Reported-by' tag of kernel test robot. 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(-)