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: 13265033 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 4A793C7EE2C for ; Fri, 2 Jun 2023 10:22:06 +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=GqaHO8EVEfSiKlUMiDdbUCHmgK+QX5ATukAqf9zFt1A=; b=0q+vD0jAHVo7sf yj9PyvSYUTf0NYvKjcxyEz7WiBSyi+R21yiJqai4dgtik371io10PVzK6PN9QQgq2PPww8uavwuTm Zoyy4ga/bkpx8SnAPmuEo6DvdmSJJISm0YsYagHc8i00QdAFAfTSOfCu5PZX9Jtq4UgtZf+ZLBHrM Ql0ih/6v5RIx01A5vjtqnyVAqsLW6NYEwhlVbBRYzSE00sX5ZffgYBQ3obuPM8ZogWlsjsiFd88J9 qPbyP7tuxv8yJm1jpx+tcC1U4NZuOujvReYnYVyYkKXnYi37YrUh9QaCPLPYORkcfxL4U7kogp85C J/jB5dcZt936kgR/UIfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q51uh-006Uvb-2k; Fri, 02 Jun 2023 10:21:43 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q51uc-006UsV-2H for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 10:21:39 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2afb2874e83so27137891fa.0 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=UblZ2VJUoDy9EK/BU15EMHVyy6xfSNaSoDghAJVgOrIncuh8sBigbiKkEvLjZDH7eW pV9qXfaQmkdottQ4xb/JrxuyX5w3VDrVin1guliXtPy8wTSXq+1vjif3L/sZSqranmN1 pnZ0C6WziFxiL8YGqC2l3fur+RjcqAo1oAGhRe1Hj8VhT5ltIVd9J0GeCDglv1RAGk0d RvW4FOBWNlHuyVuzD/B4qHT6x9vCQfnfRAIY0ce5bIn4bZGLJY1oE+LSsZYWs5kYZWns b3PsGuFUYHUesSijyn1P+tobYdjaN/tzm3d6o9mMe6vJlghy8SbS1ZBcySa9x2AJNiAj xzdg== X-Gm-Message-State: AC+VfDwgkZvlyF0fJRiIdqX/xKkEoMsST8vlNJc50Ra2AXp2p7f5d1El 5qlWUlS9tEgSG/X18xlnXvPfrQ== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_032138_744256_26FA2B85 X-CRM114-Status: GOOD ( 12.41 ) 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. 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(-)