From patchwork Mon Jun 19 16:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 10995 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3134379vqr; Mon, 19 Jun 2023 09:58:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7BIEyoRxKTyuTfe/sonkSf6merPdijAdHjweFb9bv7N8Jqyn+9BL0y2OYdKa00E1MQi+Iw X-Received: by 2002:a05:6808:1144:b0:39b:86f8:f7c0 with SMTP id u4-20020a056808114400b0039b86f8f7c0mr13985389oiu.58.1687193935081; Mon, 19 Jun 2023 09:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687193935; cv=none; d=google.com; s=arc-20160816; b=HvkpYBcZinYxyFfxusR+4xWrIjp5mafODPbEsMPuMUjvKU+jdaeUJto2p4qLhtd4n8 DBwBUhtT/3AfogitDGrr05G8V0SU3Z4U1poYFgfpNE8ldYO2skxH7Qo5vjJPAnHGV29h xwYgK1VJQSIcScnZ15VlXSLMt06wuNVwbG2EumJnFoyQz7Kcx+Fr8c+pgL4tyCWJO9im P5DvuTnyopcJ7uU6jKGN+rg6oQ+8mhSDffqCpTuLG4rpq1xmCPRw0m1f4wSI92BFzpN9 P0/hO9FCwnhWdWLLrQQ9kFaeXrZjvrqzTXcDeE0m5he2WS9NYbM+EbdPMKQ1NoIa6Hai L++A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7c41/bHT5/tFLz1vS2dSA0XEpnWz70oHsIq3qIfRkDg=; b=Xcns64igCcdLebaWSNxofKthJw4VJD26JZ+7A58Uc2Sx6HyrFmV6L1gS5L149hIKXL SZJk2oHyGM3tZRWR4gMz5Y8SbK+xM7am0waon8wzRa6TsYZPTg8bZsfZtLSBsDgHJoDQ AzgInbwUNd4UNEsP2Y0V1MxReq1gN1vIjUiXkkuVMbxg7zzJV7dIyAlT2ZqmTi9VYvAl 6wqAqWyVWOqRshfrkoMXXV5ioLlmhCFL011p0IkgfIbkfyVcc3laReUX/sX8+MXuyBoI CSG5rsPfNoGsSobHUvzLdRh4cU/shXAQbSuVI4b1Bo1KDqIleSlRkAyLGVDrrrRROESI E0Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S9h89TII; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a17090a1fc200b0025bd1db6083si121521pjz.102.2023.06.19.09.58.39; Mon, 19 Jun 2023 09:58:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S9h89TII; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230228AbjFSQzi (ORCPT + 99 others); Mon, 19 Jun 2023 12:55:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230021AbjFSQzg (ORCPT ); Mon, 19 Jun 2023 12:55:36 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A456115 for ; Mon, 19 Jun 2023 09:55:35 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-763a2e39b88so63192485a.1 for ; Mon, 19 Jun 2023 09:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687193734; x=1689785734; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7c41/bHT5/tFLz1vS2dSA0XEpnWz70oHsIq3qIfRkDg=; b=S9h89TIICRrr9urRyxkGPxg0pQMos+Ew4eyrnlhGAsTdrj9u8CsXILBMHfxlU7CPRA MlvBX16u/Pe5p+tRlks2G3BeNtr8MSkOlCdEduf+udO69nQpBqWdvZm7vfzyiJKtXCKm +m/FKU5TZTwkArCuraEa9SXh2BfvfGOdigDtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687193734; x=1689785734; 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=7c41/bHT5/tFLz1vS2dSA0XEpnWz70oHsIq3qIfRkDg=; b=CF2A3WwI8ZJcoIS2rvr7dFo9kQ4Sqx1SbprsXg7iyAuvlcsjb6QRNjX8a/iyJwjeiN 4+u2Z4IOMB0b9r3Wm8ek8oYXJmZPnZmdRkfKZ45l4CsD4F+Bk8Wfdxvgp73wDpG6ngs5 DXd88MB2mMSRmNYvxvRmzQSrQ0v7+jkuPgnjkB4hJxaTf4q+ut9RCrBJ+i36DGovDDoC 89V1WebI07LgIg2IwSojnD6aPc9DGxtzO7afuS8SrvCNap/sNKe3/5PovfwjLBYMzJzw 4L7eIzikc67/n8UgqEPYD7w+IdZxkAS90HweIUnuUfFIflgH1+hiOe9Lb+s3iyS7UDb2 CcxA== X-Gm-Message-State: AC+VfDwLw1eMh7zgncv5dxfuqwHzflS/ORcHQy9IzI8oJI5ThzQixUdI nvjQSfhngzHEvpxwpsw6e3hC2z85VyRL5mamFF4= X-Received: by 2002:a05:620a:8e04:b0:762:55f7:7105 with SMTP id re4-20020a05620a8e0400b0076255f77105mr4382806qkn.28.1687193734044; Mon, 19 Jun 2023 09:55:34 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id p23-20020a05620a15f700b0075d49ce31c3sm109103qkm.91.2023.06.19.09.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:55:33 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , Raphael Gallais-Pou , Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , 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 v4 0/6] Add display support on the stm32f746-disco board Date: Mon, 19 Jun 2023 18:55:19 +0200 Message-Id: <20230619165525.1035243-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769151067471986849?= X-GMAIL-MSGID: =?utf-8?q?1769151067471986849?= 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 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 (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: stm32-ltdc: add optional st,fb-bpp property ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco drm/stm: set framebuffer bit depth through DTS property .../bindings/display/st,stm32-ltdc.yaml | 6 +++ arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 35 +++++++++++++ arch/arm/boot/dts/stm32f746-disco.dts | 52 +++++++++++++++++++ arch/arm/boot/dts/stm32f746.dtsi | 10 ++++ drivers/gpu/drm/stm/drv.c | 6 ++- 5 files changed, 108 insertions(+), 1 deletion(-)