From patchwork Wed Jun 7 06:31:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13270052 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 CF32CC83003 for ; Wed, 7 Jun 2023 06:32:24 +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=knu+Rfurm7CttL yoAW1hnayOrVsipaO+rMy/jXN5Re0/iWXNa0jibswF3Wo/V64/p3d0rshc7RFz3kr4VPQKtadpc6t V1cgq705JO2SjhNp3j1QnCFNJXkg8ejAqJN5wkJ3WEKMWyQ9+btxQe+cGyZ090Ewifug03GjqJFBO 40z+89HU69R8/NRjq5ZDe087fbcKbxTJU9yfNRGooMkxRMbf61/a50LFjx5rBrglrhYYnzILSjIN6 WnxvWE+pILvn0QviPcgYe9bBdqGcYktn/d9zdZbPUG/Mvp1iGDGTolfAFCCUzGwbu2rCfGIu+7meF OmdRh/QIH2fyIiobSVgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6mi0-004Ywr-0p; Wed, 07 Jun 2023 06:31:52 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6mhv-004Yuh-32 for linux-arm-kernel@lists.infradead.org; Wed, 07 Jun 2023 06:31:49 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-30af159b433so6845968f8f.3 for ; Tue, 06 Jun 2023 23:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686119503; x=1688711503; 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=M7Y9qbOgr2mCzPYbaTG2gTTgpe758R7rQlGfASKS5JQv7ihIt9vNrw/L7whQ9Ujgb2 5OsGaVMznTABhT+h2tEiJSyBIK1GlpO7P/n1vVgeBxLFIDtwRjdHE6vLDhT7+BWdpFMj WG7dUZTg9+7/DB9QL5QDyO4hDjtU6LePF3u9k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686119503; x=1688711503; 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=dNGofFzTuFLVF/rQBBmf2k1uSqeWjAyAdbsqn0AJYNpzhKYbcYIQBrhdMn0L/svJ4b Rh/wS3QiLSa0IxCV22QW4+gq3be3TasdeAXjp5fyOVyjSQE1kW5xcHrHJn5OazG5hEIb z+ls6wOINHwaNMibI8SAh9uxKR8Wa959yzdla2zwVJpslhSUMoEwrxK5ZxWm+tKe8sA8 MjMCOGhhxaiaQUEbGD2PWNMNWQMYrXfuCGZiWVztfZOFzwupZM2mX7vRuqinjtU+K3nR gkX645MOExzvDc9F9w7au9Unyxk338+PoNRhckqLLcC9gBFgMNbJDGYYStSG2adWu8Q/ cO+Q== X-Gm-Message-State: AC+VfDzATBDK+WOpEBGmGv2ccJvL4anvtuoV9YBhEuqtBmAddSuPAckd RuptWclE+0cAEp3OOCwaQvJF9A== X-Google-Smtp-Source: ACHHUZ7EBKC8ivl2FMOsG5mX9X/Fuw2ks1BSOq8ZukumLjV6wxbR5wx5KRK++ZkvEZChP06D2V6KKw== X-Received: by 2002:adf:f0c8:0:b0:30a:dd26:63cd with SMTP id x8-20020adff0c8000000b0030add2663cdmr3825382wro.5.1686119503550; Tue, 06 Jun 2023 23:31:43 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.114.163]) by smtp.gmail.com with ESMTPSA id m6-20020adff386000000b0030630120e56sm14385127wro.57.2023.06.06.23.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 23:31:42 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Raphael Gallais-Pou , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Philippe Cornu , Amarula patchwork , Maxime Coquelin , michael@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Dario Binacchi , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Neil Armstrong , Rob Herring , Sam Ravnborg , Thierry Reding , Yannick Fertre , devicetree@vger.kernel.org Subject: [RESEND PATCH v2 0/6] Add display support on the stm32f746-disco board Date: Wed, 7 Jun 2023 08:31:33 +0200 Message-Id: <20230607063139.621351-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-20230606_233148_008514_B13219FB X-CRM114-Status: GOOD ( 12.02 ) 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(-)