From patchwork Wed Jun 7 06:31:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 10394 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp49772vqr; Tue, 6 Jun 2023 23:37:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jYmtIya/8AtqOxI+8w/4Urzs5lJW1KYwurYg6OXDBQ7J5zOoGC9YSzxhijzZ1YwhGPDfn X-Received: by 2002:a05:6830:11c6:b0:6a6:3d0f:ae41 with SMTP id v6-20020a05683011c600b006a63d0fae41mr4725858otq.0.1686119822991; Tue, 06 Jun 2023 23:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686119822; cv=none; d=google.com; s=arc-20160816; b=Pn5G9+ve2KkaESOQzMjucnkHykptoxHESJW79BZcVsW5Z8cC2QB4nX9eB58/WlICRm d+4ghzSkjAs6eSttmfBNUwEKjuZGJw3TjMK4hhGItJl/2RGKdIG1Z2kp/NPcE5OIh7nC dEYLJwBrxVT/pFeLSILO8HKGN1DOSaULUsy32xh1CvKk35O3GAoeejxCBkp2oSsRRvGR ztJpg/g14114N+n4bmuvXDcFkxyd9IcGxM7wed9iwtj/1ueO5GIZSV0ldG1oyFztJBpS w/h3B0q/Sg+Hx4SuKlO5l6fXkwXu+Nj2DzUC7mqQ+PIHVIWK2+e1hGbR1VpH0Gww+XfB hpZQ== 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=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=QSNNIR8+lgpTATkKFA9OtnoRufBXATmktxVrIIGUQc4BN/4CsgMuy1z96RTFhqMZSz Cf66FeDVnW4XGBjxe6z+lJO4+DQJK1NbpMXYDUPP7cqoi2G43RJ5qF/CEF5TUbHmESoM WOikRozAZzsTAxiVE6MnD99GZWcuYFcgivGeop/yxvdQ+g/1YKt5TyHsndQfAQ0xpdBg t99aJVOJB1xC+XL3Zw9XhIqzuBoGl9XDJMk6i8I6THBEJx9jM4Jh07dDE8aTowY7qQNb FKa+a8tV1fwJi18TH7lPlTPF8yNJa+h0hkEYe8I+H9xpw+mMit/rMYs3Gyv85/WH/8Jc IJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=M7Y9qbOg; 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 i137-20020a636d8f000000b005349009f1desi8447144pgc.354.2023.06.06.23.36.47; Tue, 06 Jun 2023 23:37:02 -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=M7Y9qbOg; 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 S235106AbjFGGbw (ORCPT + 99 others); Wed, 7 Jun 2023 02:31:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235015AbjFGGbu (ORCPT ); Wed, 7 Jun 2023 02:31:50 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B45D1BC6 for ; Tue, 6 Jun 2023 23:31:45 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3090d3e9c92so6839993f8f.2 for ; Tue, 06 Jun 2023 23:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1686119503; x=1688711503; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=M7Y9qbOgr2mCzPYbaTG2gTTgpe758R7rQlGfASKS5JQv7ihIt9vNrw/L7whQ9Ujgb2 5OsGaVMznTABhT+h2tEiJSyBIK1GlpO7P/n1vVgeBxLFIDtwRjdHE6vLDhT7+BWdpFMj WG7dUZTg9+7/DB9QL5QDyO4hDjtU6LePF3u9k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686119503; x=1688711503; 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=3q0SzVmGHZSYA8dRUVFZwmu0+tSDXCd1K6OkYFYtOd8=; b=e9Zije0ph0pwC5OQoLkfD1iF9e1ChzzoFHjtvmp6K03Kq+kb4VXKcp6NdJOInSO7og cJtthpN01/o6wUNzt06TnQLrpIRbyDUgeycRe42ryctva/l2fPylnmCrtl6nuEUysEzH qmo5Ks78ROIYGNwFXVJtvLWboV7eS59JiTlVeMRkUDKcjtlqH4gq5IVSHOI0QfEY0lOh zhIJzUYmEicYWg64Su63KmLMhCC7pLc8BJ9y/2Cc4swMZgPM88OyQtAVgQvhA7gtFC09 sydB/A5ttoHZC2n2iPPvYNGVPhBr6i4uOM0IlSZsQBDwI7VgTJww52I68fid5YorSrCx UO3A== X-Gm-Message-State: AC+VfDwKEyd/NiO8z3bkPcRhWrkkOaKJ5chw5txUF+47h/ORNZlDNXBU lXUAHUqMwYvGqAoKZfO20k6sLvylFyLtTBQvdOLMRA== X-Received: by 2002:adf:f0c8:0:b0:30a:dd26:63cd with SMTP id x8-20020adff0c8000000b0030add2663cdmr3825382wro.5.1686119503550; Tue, 06 Jun 2023 23:31:43 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.114.163]) by smtp.gmail.com with ESMTPSA id m6-20020adff386000000b0030630120e56sm14385127wro.57.2023.06.06.23.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 23:31:42 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Raphael Gallais-Pou , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Philippe Cornu , Amarula patchwork , Maxime Coquelin , michael@amarulasolutions.com, linux-stm32@st-md-mailman.stormreply.com, Alexandre Torgue , Dario Binacchi , Conor Dooley , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Neil Armstrong , Rob Herring , Sam Ravnborg , Thierry Reding , Yannick Fertre , devicetree@vger.kernel.org Subject: [RESEND PATCH v2 0/6] Add display support on the stm32f746-disco board Date: Wed, 7 Jun 2023 08:31:33 +0200 Message-Id: <20230607063139.621351-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,URIBL_BLOCKED autolearn=unavailable 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?1768024779769540457?= X-GMAIL-MSGID: =?utf-8?q?1768024779769540457?= 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(-)