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: 2886 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 002BA3F076 for ; Fri, 2 Jun 2023 12:21:35 +0200 (CEST) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-4f495fc7a43sf1740319e87.0 for ; Fri, 02 Jun 2023 03:21:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685701295; cv=pass; d=google.com; s=arc-20160816; b=u7rifAEJtbrT3eAKGcSE3FVLViAC03Sl1Y+Yn3KUNRkhPUCFuCobKLxT99j2n4OOPW qjJYcSpseIBCs2S9v9agliT1Usg7v5pDooc5aQ0k/Wigca7rSD06yk6d7cLAZ8uaxhEt ge/eRbmzB8uFWwETJvhDuUkNd7K91jUBSqv3i4bBKPu3zkZ56X3fQJ2XY2eqkvUqrwlK IShwUte9Q+6iZHfh9k0XWwFtLN2jpVSkSTGCvKEdfJiUpNo0m0h/WwYgWQW5IsL/OndB 4vFj/mCNfY0FlEPGRFtXudb92LWwXKHntD05DOWsiHhk8hrsNdXSlDV9onVHossjPcCT 47rQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=HSVg1gQ6Lz1xNGcQ45Y0YB3akoyRlRQnU4jidWZnB42jpDTA164SuXKeTq/r/YXY5m xaXg9SkTQi4fBMLfgzKJ4I+46Cm/OjUmHaS5G0otxbKynlDfpz3Uyy/YeRclcKLBcz7A enMaf/EPUwQ8GIYJDKhhE8OUTQLTfWLEweyOfIRiRkwUKisjTONExgCjUJqleR4HQSrK PA5VTiX+RRyGeFLAMmX3Gyph9dPHEzTRofgM98InZub3X7LOZUske/i2RZPrNai4qNEm xxzRNKUv8zUiTBDEBlDQlbvBkCDVMJPFz7yj1G2AYM5OcULGWl/JNDcibJeeXmXMycL2 9tzg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pjzDmVWr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1685701295; x=1688293295; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=Lus03vOn6uG0DsJEg0qSEmf7SwFwR7lRoYTdFbf76lPxGZ+xHcOnmcYgTlo25OMTbo AEdCR/E0J0iYP5Vg+z/o8AB4PquVg/tdKnosBAeQn8fj7FGwbY2gzHnxrA2rIse2RXNV rtpwKX2+Dq0JlhqTU6k0KUZ0hWrLBZKAS0hw4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685701295; x=1688293295; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tGQzOEVo30ivngChvbF2/nlr5iSWy3lGw8IRUgQFe9A=; b=fjVIYrd6UhN/THojBhxap5EMagxY2r+mptFDEt8arypCLrBMb3YCx23QHzNhEIaw8Z sKZGmPO7HDDPbAvkivbhiA26mEAixua655a3H+vKVVPAPbHZVOO04Z0S/ZXy7kYDhhNq zJUXtV2NjjIDUWsOQLS6yTOFOHOzJdft8FWXz+ZxZtHhibQK+GfFacyp0UxWJn0sLVC5 OvHHXwojnX34AgmxdQVgmeWreEwaeiYUVHJa/TG0Vt67ye0FE2QDwD+y4v62oLtGHitL dHBzM4H+7jVEuirC1JS8XesoRm5zk87T88oIVEfTy3Euf7x5ri6kUssEWd9IP/f+u86Y aPOQ== X-Gm-Message-State: AC+VfDxqkUgCV0TcCYY+z79mzzFApdA43cP3n7mKt4KKlBJX1Y0D6dej 6Ygu9Uun3qdQE7kLMQ0CEHWqnkVbx4Qfs8dy X-Google-Smtp-Source: ACHHUZ40iFIhFwxLKyxAJlzLuL/bDRd8XiqaDtTGB+41r/RSbq88PK+1QAJltd/wE2tKA4ani58Qcw== X-Received: by 2002:ac2:5d2b:0:b0:4f5:fbf6:7e1 with SMTP id i11-20020ac25d2b000000b004f5fbf607e1mr1365364lfb.27.1685701295223; Fri, 02 Jun 2023 03:21:35 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:4da9:0:b0:4f3:bb0d:393d with SMTP id h9-20020ac24da9000000b004f3bb0d393dls113143lfe.0.-pod-prod-03-eu; Fri, 02 Jun 2023 03:21:33 -0700 (PDT) X-Received: by 2002:ac2:4c18:0:b0:4f3:93d6:377b with SMTP id t24-20020ac24c18000000b004f393d6377bmr1461913lfq.37.1685701293408; Fri, 02 Jun 2023 03:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685701293; cv=none; d=google.com; s=arc-20160816; b=q4kQV0fenTtrhoUhiRkL/DxAnaB6JZWDpxvEuReSpsa0D4g345qldMRl/HdvsMEavk G5Dt+qL/obbbEUrlbAXfJOyUYxoAF4r70t4Ml/iyslFGzRo9/WxkOWSA9QzCPtxFddKG dcvRu3l1DzoKDy8sJGqtWa0IiBWDjxAtaRK82KMgJ5dLft/kpdp7cZiNSBO/zMVbeVSX 5zNAFPIKYNvtJSVA7e449+T0F7zH2wo58TKM2uUzNn3atvdTYIZJNvl0p1kZl7MaVRHS 8FGz/nrxqKiQFJTGLY3kAowWaZupkoGu9frYfNiP2w4LXgkaR64bKEn9+PzrTy3RVg/U ctfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=eN41uoiLHffcvhZidJv8ckuAcnQ5HkTlU3YI7eM89P0sUuEvbhiKVjvAHuEJntzY39 UcAXwZTLudPOxXmbYLhH5UcPtqi9nhXN1jAh8xLBxfOn3fUavWWJX73sQ+Q+xaJHD4bC NBXOEaIp4a6Cu+T9xnbkTzX2KmBRtaSLWNea24dxUb8sP8+ITEdmmC7QjVqAPltWmQkY Y0N9keBs19bjlcoEt7IMQ6QX9qg0b0S9Bd0Hx7Afac4AFPYd0s0izMuyeDBkqUWgQXJC U35eQO9cZ+cvz9iE8Z2xYGO7qfUpP0wxWa1/FkeBuYvnL3d4BON0P2KErKIuvxCl7zJm wCZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pjzDmVWr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id z23-20020a196517000000b004f5ac68dea2sor264181lfb.18.2023.06.02.03.21.33 for (Google Transport Security); Fri, 02 Jun 2023 03:21:33 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pjzDmVWr; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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(-)