From patchwork Fri Jul 28 06:34:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2945 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 69EDD3F1ED for ; Fri, 28 Jul 2023 08:34:24 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5221c2eae57sf1026799a12.1 for ; Thu, 27 Jul 2023 23:34:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690526064; cv=pass; d=google.com; s=arc-20160816; b=x2A/+Bzml9AgRxm+Kt0i8xMX7738ncTYsgxyswBHIW3PzU+sZmxg0mRvMnIs8t2slz JI4JOsxoJZXyzlC5wBVAM6iAdgIFSq1LSVRo5ph0zO0SfYDxR0ZvHllJ+rhY8naIuXCx qpYB/VNQmj85qyxJb8N/3rduUuVrhmJyY4b6wG3MEjahoQr60ak1o+opJqOmAPfOpbT0 zdZOLAZj8453w+kgl+CkxCb5bni8QJQvWJgGh2PLTv7Qan5AWPMZSpV/ZopvQgz8zgDJ t4rrkREykBQYQeRC11l/PgqrqPqJZs3s2hA/UTEOnrKqgVk1CPjbfojlPOatZVmYXnpl gZrQ== 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; fh=l/lHk8eRVrXKgF4YSTLYZ9obSFmuCwSaMLA49Sb0yrY=; b=F4s3+XHGq5zLbn8JCoRTsve2KHEcrw+CembJf05VLEzS4G7JuqdhKxOANNl+gsG8cZ Di0BdIZGxorNhYueY8lV4ssR0MrlTmxOrVLBD1yl9SsDoHJydt6az/89XMLDYsO+x7ye I97ycm7lJs67YcpkVZ4eCsWdHJwD6jG5eIxiy5i28XLVuab1/AuF7q8z2yHSZYUpFOgj 0dGzCgBohrmxjV6YeX9ldY1RWpqxg95LLfB/CpUgdb9yjblP53BTTNSrwxw8hQ45ugV1 vioqHBzhUH/O+S9Ti9AX0AtbhY5eKHIzZT3dz/gsrvZM6yYK1pSqegJgk1X33fZ+lOEY DSzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eO7loPNL; 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=1690526064; x=1691130864; 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; b=Ocwb8Pdw1YWaiMphiWV5QwcAx209X4NVU0Ug/8Ljuy1vVfyWLk5p6ACljasWPnKq7p 4xKi1vfVhQqH7cmjmBuKRUBeL3jHKzyntUdwMGoJ4dj+xtddcQC3YpamfL97+m2gLJr4 5np6bOcE0+8Eo22qc2/i6h1Pz8EgPw7hHBMzM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690526064; x=1691130864; 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=YLES3aeWEK18CipodlHild6LhTdXAwAiU0sQnXMusXw=; b=Ip0UvEy3GStQ8tvIs1RV2eTXon9bjMsV0jNPsLbfsmgu1CCJl2Nx7zveDeS9BWjTNA /rrz0QUjJOcqpkMoQwsgCE5qY+seIyU+V144+G63uWC2JRdcXya7DB+qgNPIl155mCDH Ad2wNlk0I9HqDD9qYarC0JClAQT1icLuIhhKOI2mZbMGcJ7kRT9OjtDAvpozy5GTGbEL RFw2cRQiI2/Y0kvniXFlz/hj8n6LdSq4vfxPXj0YdE+a85zm1P6WjcteFEID4/eD4UVW z37HNXNy9ESTtYd9BT/OHyuyxCqb0RvLBD9G/OAJHha4HKNal/z364toJiXuEAiNaOvU ECpw== X-Gm-Message-State: ABy/qLbqXFvx0CltpM3napijCbiV0kgbBxlQGX0+X5HI4E5lgVtTmgbT 7MaICdz+EZTjbVM5SQnWjhYfPV76 X-Google-Smtp-Source: APBJJlFX0vL6e5DV5mkmKzCxDP8PZ5qYkG8Zkcs3W6lfTO/YbRQMQPydj6ligiHCTYQ12NRgRDdrwQ== X-Received: by 2002:a05:6402:12da:b0:521:d23d:6850 with SMTP id k26-20020a05640212da00b00521d23d6850mr776405edx.21.1690526063903; Thu, 27 Jul 2023 23:34:23 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c55a:0:b0:522:2d55:3cba with SMTP id s26-20020aa7c55a000000b005222d553cbals983222edr.1.-pod-prod-05-eu; Thu, 27 Jul 2023 23:34:22 -0700 (PDT) X-Received: by 2002:a17:906:328d:b0:993:d1b6:61cc with SMTP id 13-20020a170906328d00b00993d1b661ccmr1053044ejw.44.1690526061979; Thu, 27 Jul 2023 23:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526061; cv=none; d=google.com; s=arc-20160816; b=TqjtVHizgMC87u5mwIpsjaUxUcmfo3qU6FRZGpEGbOG5FORwG4snodZhmYMtuo1C1a S1BSSEW23NGJ5HvVdGBzV8j5wWvBu9DEOW8u2IED6gjmqnKzluiXCj+mKp/1ooT2vtqJ YrlGkPht9aYqqPhrqzjUqbnCBdvWq0wUyTY95eu/D9IYCeDmpHdZ/Jatw3CNhAkGtmtO 324Eyfger+Cc2KOQBFFrw6UtHk/5C0wL+xaYeawmwun1Wo+6i3mPuqTXED/9WXn3pUVr UUWfzTYHaEURGzdDfJziSDNwObOnIGT4DvUaZVUnCHoIzWx8USiFjA+2s4X4MiCnVYJK o7bQ== 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=aF25RsasGUB1aNRKgB20J0I6Xsy/3huYOi47Fd6Xv1k=; fh=l/lHk8eRVrXKgF4YSTLYZ9obSFmuCwSaMLA49Sb0yrY=; b=pFM3zgZgOZP/b1Zqnxy78+kCrjci7TC+aLvm5Vu0nR/pc/0ENQL6JmphEYgyI1dG8y /jhOQgxjOkxcOJCmvSDJwnGZRhDjqE/JFqQYuhGZwOIi7UJnNuJE91L+BkVBTlJPMqpB tNv+cE8Ibx9V6Abvh6z7xHGqL7W/GctLeOUPlulAzwLTDcaG/cQu/tojW0kDXXgjozCn q7zPu8OIWMN1+NGJaC8y2c4MdB6STPnTewe4hxaQsnCU2VaQs6OLxEdo532wvhZ4Au/N n/ri+X8Kt+CAk63+v4mWl4RQdRC9pglrCO5mZt8yg0UHAo243SazAyc4NRN+eRAbIjg8 AubA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eO7loPNL; 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 hy27-20020a1709068a7b00b0098da1d8549asor1140007ejc.10.2023.07.27.23.34.21 for (Google Transport Security); Thu, 27 Jul 2023 23:34:21 -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:aa7:d549:0:b0:521:a4bb:374f with SMTP id u9-20020aa7d549000000b00521a4bb374fmr865376edr.5.1690526061424; Thu, 27 Jul 2023 23:34:21 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-232-62-70.retail.telecomitalia.it. [95.232.62.70]) by smtp.gmail.com with ESMTPSA id n21-20020aa7d055000000b0051e26c7a154sm1425057edo.18.2023.07.27.23.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 23:34:20 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v7 0/3] Add display support on the stm32f746-disco board Date: Fri, 28 Jul 2023 08:34:13 +0200 Message-Id: <20230728063417.2980091-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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=eO7loPNL; 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 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. Changes in v7: - Add 'Reviewed-by' tags I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ Changes in v6: - Remove dma nodes from stm32f746-disco.dts, they are not used by LTDC, so there is no need to enable them. Changes in v5: I am confident that framebuffer sizing is a real requirement for STM32 boards, but I need some time to understand if and how to introduce this functionality. Therefore, I drop the following patches to allow the series to be fully merged: - [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property - [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco - [6/6] drm/stm: set framebuffer bit depth through DTS property 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 (3): 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 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 35 ++++++++++++++++++ arch/arm/boot/dts/st/stm32f746-disco.dts | 43 +++++++++++++++++++++++ arch/arm/boot/dts/st/stm32f746.dtsi | 10 ++++++ 3 files changed, 88 insertions(+)