From patchwork Mon Jun 19 16:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 694219 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 27466EB64D9 for ; Mon, 19 Jun 2023 16:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbjFSQzh (ORCPT ); Mon, 19 Jun 2023 12:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbjFSQzg (ORCPT ); Mon, 19 Jun 2023 12:55:36 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE0119E for ; Mon, 19 Jun 2023 09:55:34 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-76243a787a7so271324585a.2 for ; Mon, 19 Jun 2023 09:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193734; x=1689785734; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7c41/bHT5/tFLz1vS2dSA0XEpnWz70oHsIq3qIfRkDg=; b=S9h89TIICRrr9urRyxkGPxg0pQMos+Ew4eyrnlhGAsTdrj9u8CsXILBMHfxlU7CPRA MlvBX16u/Pe5p+tRlks2G3BeNtr8MSkOlCdEduf+udO69nQpBqWdvZm7vfzyiJKtXCKm +m/FKU5TZTwkArCuraEa9SXh2BfvfGOdigDtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193734; x=1689785734; 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=7c41/bHT5/tFLz1vS2dSA0XEpnWz70oHsIq3qIfRkDg=; b=eaj+kk6o/TbVwoF56ZdGAIykfo1Zv00Q94yhnmGqJKtLZG6PEodUOdsh7/uiZfXQFr UgbokF3HJm3rkeZqqlFQ5nuy7WWOGyZeyb79wVrTjXQmDdn5nhvAl7zLCqmTmSjsYnD3 vlmMfyP3Fw5N6WkoUtYim8MNIhMlbrBzHnRnUbB2edWBN5cg6K88pBDmI0rQ+j/1HLFK 4hcuy1zDcVvxIb8CQGJyqLdzUGutHQ0aZsN+lFRANYx5i8/rhy964SK6jmeg99SSxd3d i5FpMXfshp6Jrl6fxh+TAzdvB7UCmFu6xaeOfAWJoohLMPJTkh+OdilBVFe9AMdUK8kc d/Gw== X-Gm-Message-State: AC+VfDzw3lsIYYVT/ktfZWvIAc1AT326ZgeKLAnhfLPcMwvNcuwpqqOT JPX/utY+yo+l6D8eE6fuw6EezQ== X-Google-Smtp-Source: ACHHUZ4sTAr3fMXBOvSLg9lwFYSVkTHAYf5eM0y/vpSON2lPB1hmZtTUmjdP6o3pvxtzCVlRsK/uFA== X-Received: by 2002:a05:620a:8e04:b0:762:55f7:7105 with SMTP id re4-20020a05620a8e0400b0076255f77105mr4382806qkn.28.1687193734044; Mon, 19 Jun 2023 09:55:34 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:33 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , 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 v4 0/6] Add display support on the stm32f746-disco board Date: Mon, 19 Jun 2023 18:55:19 +0200 Message-Id: <20230619165525.1035243-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 v4: - Use DTS property instead of module parameter to set the framebuffer bit depth. Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next): https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a - drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc 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: stm32-ltdc: add optional st,fb-bpp property ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco drm/stm: set framebuffer bit depth through DTS property .../bindings/display/st,stm32-ltdc.yaml | 6 +++ arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 +++++++++++++ arch/arm/boot/dts/stm32f746-disco.dts | 52 +++++++++++++++++++ arch/arm/boot/dts/stm32f746.dtsi | 10 ++++ drivers/gpu/drm/stm/drv.c | 6 ++- 5 files changed, 108 insertions(+), 1 deletion(-)