From patchwork Thu Jun 1 17:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2877 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 40B1F3F076 for ; Thu, 1 Jun 2023 19:03:47 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5161e17f374sf1454272a12.0 for ; Thu, 01 Jun 2023 10:03:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685639027; cv=pass; d=google.com; s=arc-20160816; b=p/5VnUC/EiFm0iQMibzF9car4jzotcdPnJr1L3yIR3Y08KG87OcUMFICPZ6PYh7lG4 62yegqEI3Ma6z/otA1I2mNyzI7fsvxuqbD7NmxjrmoHVuFvC037KqShiNRMJOZJDHeCH n/NGfuMU6AC0vV8aL4SKh/L2Jcpgic0+q1Zny+1FNjLT+B+J3+y5ykjtz6foUfGqA+eH +8N1rV8+VE9g5vvcAN0Tt9BnC+sMW7mXwWStIXU+xwuQZdPQX669UTG+L2phOZRhHc9K NUa8cyJMSgHtAlQdwAGbF2+f+kXhemgZaRfEOLJIOFPtlZPEUzwjGfrE0Eu0GoK5riAb SR0g== 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=1lipoffxPAEbmPVHG0/BiRbJkab5ymSESVpZzOc4R2A=; b=zLvqSbn+MlUYwb4Kh7K0VPBqjCGxUCtXPAQXs4Uo5kf6ofMDHAOEgQCOehMqlo89+I 2Uu8Ck7VXci9ZuKbftGWXVkNViU6XqRYcGJPzQq8/dfYcoTy4iqovv+8oLubx5RbdUk2 D/IS5WltmUITiWe4z3ibrDJfRizhgb7I6RADwb25fleOKPwFLLT4awf6zNhNXssSFKzJ 7f3JkwsKTsqGsVdVdoZhXfmcd95xcAwHTP44S1C5ls0hnH+hFX0EaUFU3+/T77KYwSP0 FQY0OJYCXxjB0ObKwKHr0kSsxaGfnCkgXCaQ+1svuVbcHBsPpIx8QBMCg7LrWPfSxjY5 Do8Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkg0EKdA; 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=1685639027; x=1688231027; 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=1lipoffxPAEbmPVHG0/BiRbJkab5ymSESVpZzOc4R2A=; b=D510kvx/7ZiUiC4ubWt1Zt+IN95RdDgJof+oinIzqLLYuRpAMGVLZVda7M8pNOO2VW sQV2rODYZHw9sJ6fRZ7sB7xyW2QVsoi876952wDY4XcckHqcZwhDFdjq0AvWHcr+9e4N 3SMdQ/NkwX6Yms0kQrznkJrKFL4tY3I9wd+aI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685639027; x=1688231027; 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=1lipoffxPAEbmPVHG0/BiRbJkab5ymSESVpZzOc4R2A=; b=Z1/kLYbvpcPLZAH1k7VktWmlfYgJXSje7apma96XDCHz1GLjD/WvLhiiswjczroMVu Ahc1q8EsK3iOSLnflJ/2205bqsk50gPEJKPa8tSLl7DGjm+zqS1U6hP7LahKA1a4R7/t Y9zFd2TMtfkbZKjKvpUhWUEjrvjK/AUPQ2Unw3pDWn293QLQaXMtZz3PvU+Z2azXqBeF 8AuFWIDBohifzHT/UHGKv795IQYufQmPheYs6B/s0Z240YZmhuzPOo2+0CJ1NpZdYtld qRRSIrXKdJQ5p1YlrO/w/1BYsMvBxJpULIiRUpSO5kKhCUPzxqiKcGM2vXOL+MUyN06l hu5g== X-Gm-Message-State: AC+VfDwV73HAxbRnFtnpPd1Rz1Lyhm3ZhKjohay/9UDV15TV8FYewqlB EYTQeqNdIPWAB6xDfXq2i5hWdFH3 X-Google-Smtp-Source: ACHHUZ5l7T7shZgRQYpRNEFv/Xymex1XuJsjIuP6QGtEbcZNUlTSRKHiIufmqwLALxYsb52dY4X3SA== X-Received: by 2002:aa7:d5cf:0:b0:514:9e59:3d3c with SMTP id d15-20020aa7d5cf000000b005149e593d3cmr318592eds.17.1685639026597; Thu, 01 Jun 2023 10:03:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:da42:0:b0:514:8e14:7f22 with SMTP id w2-20020aa7da42000000b005148e147f22ls290285eds.0.-pod-prod-00-eu; Thu, 01 Jun 2023 10:03:45 -0700 (PDT) X-Received: by 2002:a17:907:94cf:b0:96f:7b8b:df9c with SMTP id dn15-20020a17090794cf00b0096f7b8bdf9cmr2226079ejc.14.1685639024967; Thu, 01 Jun 2023 10:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685639024; cv=none; d=google.com; s=arc-20160816; b=g9tG38azZOjvBgY3F0CzoJwh7QSL5BVDLSbqPQaNFWvv+vZejCIIu/Q8KFp7jpqzza lRrxTBbOdf9KpI0WmaLEAKlJzNjZb2rw08mBHBmG2mLCCq60Mmm2s2tOrvgJejKgb86b IZsMsyurqROiGE0O/TeX6ZlTja6TMTHdMuk5j0TzOY8kQKWwJF7NVvZ8VP87H0M/fGJa zZJfxgunApVyKykWxxntmVFso9qTkO8tEtU7kH0vjWaifC6QqMlNLMWzu9d9pyLZZ8Ke /PrtVZ9/WbWNkJx4L3/SJV231F5b3RwPWJZQgTf/qx8iwwhZOEcHwUz+eiTqRkkMhJ6N vBDQ== 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=7CktwIDz8iQqFve40BtvAwOOr5PjVMSEqWCcs9KU57A=; b=ZxvwDsEeXk8sPoWedemhe7RlqgAFXsRkPn2N4dKsiO88Q4wB021XAt+y/krv+DPsI/ AKDmZaguF5xkcpNFaICzAw4/aLYjAYhEh18fcyrn+J6Eb77ilQPZGBy3Cwv3PpXQ610I cyAbpOno7fnbj3ixiKlZnUOFTTQ+Mrq4+5UV9nk0ubNNqB9ZdweIfYGdy5fcvgMAb8JI RrFaeaerBtpzlCzOD3g0n2MnwhjXI9B+eiPBRUFpXTzp7wubXXl4M6Elr728NfJHSqGE pacr0SQFHoZhFECVk5sFjSvLtuB27muFk82DBmubcIfAXtllht4DUfiruoOC9BgXjXDp 3MBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkg0EKdA; 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 dt9-20020a170907728900b0096a5d2138a7sor690963ejc.7.2023.06.01.10.03.44 for (Google Transport Security); Thu, 01 Jun 2023 10:03:44 -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:a17:907:d13:b0:96f:8d00:43be with SMTP id gn19-20020a1709070d1300b0096f8d0043bemr2133110ejc.0.1685639024540; Thu, 01 Jun 2023 10:03:44 -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 bh25-20020a170906a0d900b0096165b2703asm10658522ejb.110.2023.06.01.10.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 10:03:44 -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 0/6] Add display support on the stm32f746-disco board Date: Thu, 1 Jun 2023 19:03:14 +0200 Message-Id: <20230601170320.2845218-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=fkg0EKdA; 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. 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(-)