From patchwork Mon Aug 14 13:28:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2955 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 2E4803F07F for ; Mon, 14 Aug 2023 15:28:51 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5234058284asf3065923a12.3 for ; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1692019731; cv=pass; d=google.com; s=arc-20160816; b=gaRIiiESjvTn3hng95vhvpQwjS8AJUdN8NewFYEaR/SkWB4z2zeVLcEPoaWD1kd2OI 6Je0yHTfF30/J99CRm5fLrHdxvNPYh1US32BzQ4xZONWxPIV5T6NLlIrhK7o1I3oXMuM 899l5o7ZCRmG2fr5M38TXPg/qWFZjZT9wm28yGJbhCdyZLKJ/hxchO0cD5tNtfFYa7na Q8k9La+qd8HD8ecpQ6wej7ewltQX/pF4khL8npYIMdr89P3mBA9/3bkuHRtEUIaSvpCs +UcCscPBqKjyozqN/IjxbOz0SRe9sjeZLd1X4P00Rj+sX4HpKYHct3ZQLxrNjCexhCjM G5/g== 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=EiWOUxEuyw+r+VetmAeTv7zSNQWozChpUEdqT8ZqJuY=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=eTIO4oH+jdeYldrjKSmHNSNKBGih/pvvUSjEmcjMXkwht424O07BxTytAEo4cdiRR6 B+X+hF5UeWViwUQPCLRsorxk81qStm5z2lSxW4WGsL06/3uF00KBOjDTZDxDyKkJLFYA Xax3K6Z6reabAm4oCRl205T/gAIYNlshRN4frOXkPdLd8yvUgUnjCzYprMmtiX9DbAaE f/3lW3q5+ab9lhbhbDc54eZ0PiMrlpAEoRMC00vu7VvKw7M/dO/q6yV6CHRhGMGWm/xS DJXV0iZC7nOKOlPWPyfOfktEr6ZAaH8GWYo1gnJnPNSErhEqjryvkWpY7H26nfLf3OAF Jl5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gr+qyuiL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 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=1692019731; x=1692624531; 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=EiWOUxEuyw+r+VetmAeTv7zSNQWozChpUEdqT8ZqJuY=; b=d+zIX21eAJS76+n9+AvbfVDx9RluqUipfHAa3TeNloUjrVy35pWqVVrvVpAklQqfNP EUA2dNJ4wINkEOwPJz3KXuGpD482BtDIdQ63yFSfMc4vdSqAEOLm7D2pLjnXMy/tXeX6 V3djA52t0zP2D+P9GWNhhA5wV8Ydi5JF1jXp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019731; x=1692624531; 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=EiWOUxEuyw+r+VetmAeTv7zSNQWozChpUEdqT8ZqJuY=; b=Drq7KXalDDYnCYD2pqPiT/U667Ac+Lz7DU1wl7jKEWBupzaUkKeTdi5Nr/AZ/521Jb kwp+cZbRSbpGzWpWiQjjdmNVOyI9m8Fj2IjFscn/n5CjDJ0hUQmfjl55MY9Gyxcl2KW3 X0WtmITm5qHHMSTxoixPLvOMwu0G6MwOqvTPo4CBoA4JQ2WL8hbsXJOihJ+Wtp6DNYKO 9hjOtqmyx1Mb8DOrO7fdQEwiqA3JCTxfN8ZENZXkk4eNOvNEJMVGcjPGWgothZMtq6mn F7H/srYLkmxZWLSXH9i9Yw8aplV+Q16CGhBzZJHxfXUJyXhnKptWb8jRQQrPX48quIb0 Szlg== X-Gm-Message-State: AOJu0YyTzIXIrSLtzmVbtBtcOPm916xl8piIl7xr03m+WcVmYqfUdnSQ zmw0JpnRsGPT1o1zwBWLJvQhh3LIdgwlVK+K X-Google-Smtp-Source: AGHT+IFCvpymVu9cjJyMELtlrwUBTjElzLNWBrAnuwxfJiCh9oiyZ9b+6uqHXpENaoTLeHt3MxJYoQ== X-Received: by 2002:aa7:d614:0:b0:525:4f15:d26e with SMTP id c20-20020aa7d614000000b005254f15d26emr3929219edr.32.1692019730641; Mon, 14 Aug 2023 06:28:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:50c:b0:525:5162:2bbc with SMTP id m12-20020a056402050c00b0052551622bbcls994034edv.1.-pod-prod-08-eu; Mon, 14 Aug 2023 06:28:49 -0700 (PDT) X-Received: by 2002:a17:907:2cd3:b0:997:ea67:cb2f with SMTP id hg19-20020a1709072cd300b00997ea67cb2fmr8100140ejc.48.1692019728882; Mon, 14 Aug 2023 06:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692019728; cv=none; d=google.com; s=arc-20160816; b=T+nRMEwewLtECs6Ef1rwUztSBkRe/SLWwop6neAuCzU8/XeHZ9zx4dqB1GHFrTAxEp 48LeQZ55LnAXQ06ikCOahIFQKtxdQgZ0l1A3r2PJ720dd8zwmCF0+gWh0q9FxIbbEV2s RFrdtyeu/yu/42Fta88sbVOqlwvjR5MfR+vA5WLs6Hclx3LEyCuDUaK0zXTSI8U6zbGJ LEfeOZVap/4UtHse4ApIF9uFL6xTSy8gLwVZ/HItHNze9Lh++cCJfDBUFuZTh12/YFT2 wxnnJ4VDixhGuHSqjYi3hyjLkMFBekYmisl2XKNuoZwGm9fLeeoByf2VzWoA4afZaVdA 7+Bw== 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=UwTK4kQuV5VxtjBSsgaGk0balJ0EXu0ogmgIW94gvrs=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=EoPPGw3umwvrkChghdmxLw4kgyR3W/zh7wzY4pt4uT7rGvhh0ScRdS7ZErFHxAyCwd xrAIdnP0w8SL9CoLahPD1cb5CWEAaKjOTxbpdYYf/nUD3BOuxLwMSVtvOIq4bfDKFp+L fWu8N1A0Yy5QVP/GKerAjyDcLc8hJ25f9oyd5HeEA0Rkr8CuUzGhUcP5f5j8X9ug6944 MJXUhHy8rCzmtP1PnaehirQhbW64jZO1JyrWX9L2viHWGPutX8jRw/bSO3gke6E9EAs4 mWFcZLLiG2IMyx4ejZThm76FtZY+Rk/Iy28+LCOuSCJCFN/mMjenrBxICJ5R9ZLIxU64 Z/JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gr+qyuiL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 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-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id hz10-20020a1709072cea00b0099bcddb173dsor628152ejc.12.2023.08.14.06.28.48 for (Google Transport Security); Mon, 14 Aug 2023 06:28:48 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:906:30d7:b0:99c:4ea0:ed18 with SMTP id b23-20020a17090630d700b0099c4ea0ed18mr7677926ejb.8.1692019728414; Mon, 14 Aug 2023 06:28:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-204.pool80180.interbusiness.it. [80.180.23.204]) by smtp.gmail.com with ESMTPSA id e3-20020a170906248300b0099d02ca4327sm5662066ejb.54.2023.08.14.06.28.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 06:28:47 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , michael@amarulasolutions.com, Amarula patchwork , Raphael Gallais-Pou , 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 v8 0/4] Add display support on the stm32f746-disco board Date: Mon, 14 Aug 2023 15:28:40 +0200 Message-Id: <20230814132844.113312-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=Gr+qyuiL; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 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 v8: - Add the patch [3/4] "ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f746-disco" to th series. - Add the 'power-supply' property to panel-rgb node. - Move backlight and panel-rgb nodes after the vcc-3v3 node. 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 (4): ARM: dts: stm32: add ltdc support on stm32f746 MCU ARM: dts: stm32: add pin map for LTDC on stm32f7 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f746-disco 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 | 50 +++++++++++++++++++++-- arch/arm/boot/dts/st/stm32f746.dtsi | 10 +++++ 3 files changed, 92 insertions(+), 3 deletions(-)